Apache restarting problems

2 posts / 0 new
Last post
#1 Thu, 02/26/2009 - 14:04
seatech

Apache restarting problems

When I reboot my server with the paid version of virtualmin Apache says it is running, but no web pages show up untill i click the 'restart' button for apache.

it does not matter if I use kde gui tool to restart the apache server or the virtualmin/webmin interface to restart it but it wont serve up any web pages untill i have manually restarted it.

Can you shed some light on this issue.

Thankyou.

Thu, 02/26/2009 - 18:29
andreychek

I'm curious, after you reboot your server, does Apache show up in the process list?

If you log in over SSH, what does it show when you type this:

ps auxw | grep httpd

(or if you're using Ubuntu/Debian, run: ps auxw | grep apache2)

And does anything show up in the Apache error log in /var/log/httpd/error_log (on RHEL/CentOS), or /var/log/apache2/error_log (on Debian/Ubuntu)?

Lastly, if you restart Apache from the command line, do any errors or warnings get printed to the screen? You can do that with the following:

RHEL/CentOS:
/etc/init.d/httpd restart

Debian/Ubuntu:
/etc/init.d/apache2 restart

Thanks!
-Eric

Topic locked