You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/05/07 03:24:02 UTC

[Bug 54520] Apache Console -k failure to read PID for Running Apache, instead looking for default service name with out -n specified

https://issues.apache.org/bugzilla/show_bug.cgi?id=54520

--- Comment #21 from vigorena <vi...@live.cl> ---
(In reply to comment #0)
> The Documentation says that apache can be controlled from command line when
> NOT using a service,
> 
> To start apache type
> 
> httpd.exe  (works fine)
> 
> To stop restart etc   type
> 
> httpd.exe -k stop
> httpd.exe -k restart
> 
> 
> This does not work and fails with the error
> 
> [mpm_winnt:error] [pid 4480:tid 116] (OS 2)The
>  system cannot find the file specified.  : AH00436: No installed service
> named "
> Apache2.4".
> 
> 
> I have tried this with apache 2.2.17 and 2.2.21 and it also fails pointing
> to a service  Apache2.2 not installed.
> 
> Im not using a service and have never installed the service with this name.
> Why is apache not checking the PID in the httpd.pid and killing that exe
> like it used to?

you need to install the service to run properly apache, you must install the
service in this way:

running the console as administrator

httpd -k install -n "ServiceName" in this case Apache

-- 
You are receiving this mail because:
You are the assignee for the bug.

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