Reloading Apache httpd on Windows - error 'No installed service named "Apache2.2".'

Posted by user143228 on Server Fault See other posts from Server Fault or by user143228
Published on 2012-10-29T21:53:07Z Indexed on 2012/10/29 23:04 UTC
Read the original article Hit count: 379

Filed under:

This is a variant of How do I restart Apache on Windows? "Apache -k restart" gives error "No installed service named "Apache2";

I have Apache httpd 2.2.22 on Windows, not running as a service (our product's uber-service starts httpd as a console app).

I'm trying to get httpd to reload its configuration; Apache's Windows docs suggest

httpd -k restart

from any console window. When I do that, I get

PS C:\apache\bin> .\httpd.exe -k restart
[Mon Oct 29 14:06:56 2012] [error] (OS 2)The system cannot find the file specified.  : No installed service named "Apache2.2".

How do I convince it Apache's not running as a service?

© Server Fault or respective owner

Related posts about apache2