PDA

View Full Version : Apache crash issue



gwgaming
07-29-2008, 01:38 AM
Howdy all,

Since reinstalling DirectAdmin, occasionally (maybe once or twice a week) Apache will just lock-up and stop serving data.

Our monitoring software will detect that it's unavailable, but because the processes are still running - DirectAdmin does not restart it. Looking through the logs there is nothing apparent there that would suggest it has faulted - no errors, just where DA may have restarted the service at some point (but not when the alert systems notified us).

One of the logs does not work in DA, the access logs for Apache - when loading that, it is just blank (it works for the users though - as stats are being generated?)

I'm thinking maybe a re installation, need some suggestions before hand :) Any help is appreciated.

Ryan

evil_smurf
07-29-2008, 11:27 PM
When DA parses the access logs to calculate the bandwidth usage, it clears them afterwards so that data isn't counted twice.

How much free disk space do you have on your server?

Have you tried reinstalling apache?

gwgaming
07-30-2008, 02:02 AM
Hello,

The server is only @ 17% usage in terms of its volumes - so diskspace doesn't appear to be an issue.

The Apache access log is *always* empty, no matter what time of the day I look at it.

I haven't tried reinstalling just yet, how would you suggest is the best method - it also needs to include the PHP SSH2 binary.

Thanks for your reply,
Ryan

Dravu
07-30-2008, 02:38 AM
Hello,

The server is only @ 17% usage in terms of its volumes - so diskspace doesn't appear to be an issue.

The Apache access log is *always* empty, no matter what time of the day I look at it.

I haven't tried reinstalling just yet, how would you suggest is the best method - it also needs to include the PHP SSH2 binary.

Thanks for your reply,
Ryan
My Apache access log is always empty as well. I just never really cared to ask about it as it was just the admin account with no domains attached.

floyd
07-30-2008, 05:05 AM
This does have anything to do with your real issue but apache logs for domains are in /var/log/httpd/domains