Virtualmin thinks apache isn't running...


I’ve installed Virtualmin and it’s all running fine on my webserver, only strange thing I’m experiencing is that it reports Apache isn’t running however it runs fine, I can browse to the pages and they are being served correctly.

This is the console text:

[root@blah public_html]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: with SSL [ OK ]

and this is what is shown when I try to start apache via Virtualmin

Failed to start service :

Starting httpd: with SSL[ OK ]

The message seems a bit odd, but I’m really not sure why it’s saying it’s failed or what I can do to fix this as it is running correctly.


What OS are you running? All of the Red Hat based systems I know of with default Apache packages restart like this:

$ sudo /sbin/service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]

That “with SSL” stuff is non-standard. I don’t think that actual text would cause this, but it might. The bug I think is that the initscript is not returning a true value even though it is succeeding…or perhaps your Apache package has its PID set to somewhere other than the usual default on your OS.

So, I’m guessing you have an Apache package installed from an alternate source? You might try using the OS-standard Apache, or our Apache package, if you’re using one of our supported systems. (Note that for suexec you need an Apache rebuilt with suexec_docroot set to /home. Ours is built that way, and is generally the easiest way to get spinning with Virtualmin.)

I’ll bet he is using the apachessl package instead of apache