Virtualmin thinks apache isn't running...

3 posts / 0 new
Last post
#1 Tue, 09/23/2008 - 10:46

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:

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

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

[code:1] Failed to start service :

: Starting httpd: with SSL[ OK ] [/code:1]

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.


Tue, 09/23/2008 - 14:52
Joe's picture

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.)


Check out the forum guidelines!

Tue, 09/30/2008 - 11:52 (Reply to #2)

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

Topic locked