httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38790] - No installed service named "Apache2",when I start apache using StartService()
Date Sat, 24 Jun 2006 18:56:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38790>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38790





------- Additional Comments From 70662@bacon.qcc.mass.edu  2006-06-24 18:56 -------
Just installed Apache 2.2.2 and had the same problem.

Installed Apache as a service for all users on Port 80 using the .msi download
(Windows Installer). Automatically started, both Windows' "Services" applet and
"Apache Monitor" show it is running. Starting and stopping the service through
the "Services" applet works fine.

(I assume the service will start fine when I reboot, but I didn't test because I
already changed it from Automatic to Manual startup, because I use the local
Apache installation for testing/building websites, and don't want Apache running
all the time.)
*************************

The problem is controlling apache from the console. If you type an Apache
command below,

 c:\apache\bin\httpd.exe -k start

it returns the following error:

 [Sat Jun 24 14:21:27 2006] [error] <OS 2>The system cannot find the file
specified. : No installed service named "Apache2"

***********
DETAILS:

Window's "Services" applet shows the service name is "Apache2.2", NOT
"Apache2"...therein lies the problem. Either some code in the installer or in
httpd.exe needs to be rewritten so that the service names match.

***********
WORKAROUND:

Use a command that allows you to specify the service name. Examples:

 NET START Apache2.2
 NET STOP Apache2.2

These both work properly, because it is just the Windows command-line method of
starting a service.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message