Koozali.org: home of the SME Server

Apache is down, now diagnose cause

Tony Hansen

Apache is down, now diagnose cause
« on: July 19, 2001, 11:01:50 AM »
Today our server stopped responding to webpage requests.
It does not work using the IP address or URL (digitalfire.ab.ca)
FTP does work.
The log files don't contain anything earth shattering.
I notice when I reboot the status message says httpd shutdown fails.
However on the startup messages httpd shows success.

I did copy a crt and key file into the locations pointed to by the httpd.conf
file today other than that we did not change anything on the system.

Anyone have an idea of some things I can do to get an idea what has happened?

If we purchase e-smith support, I am guessing that this sort of thing is not
covered, is that right?

Peter Hollandare

Re: Apache is down, now diagnose cause
« Reply #1 on: July 19, 2001, 06:20:52 PM »
Its a known problem that Apache suddenly dies (for some), as for me. Logs shows nada, it just plain dies.

There is a simple solutions though, meanwhile this is fixed.

If you want to make sure Apache is running, you can setup a event in
/etc/cron.hourly/ (anything in here is executed every hour). You can call the
file *anything-you-like* eg. apache-restart.rc - make it by using pico and add the
following line : /etc/rc7.d/S85httpd-e-smith restart

Restart works even if apache is running or not.

I would not explain the "hard way", and remove and re-install Apache that i have done :)