Unable to start httpd suddenly. /var/log/ispconfig corrupt. suexec failure.
After the recent upgrade... CentOS release 5.8 (Final) 64 bit
My sites have been running on Ispconfig 3 for a while now, but suddenly the sites no longer respond.
On restart, httpd fails to start.
By disabling the 'ErrorLog' apache directives in each site's .vhost file,
allowed the site to run for a moment before they stopped responding.
Tracing that, I found the ispconfig log folder at /var/log/ispconfig had become inaccessible/invalid.
return code: 1
suexec failure: could not open log file
My service provider has not been able to fix the problems, does anyone have any ideas? Thanks!
*bump* Require help to get my sites back online..
Have you tried to disable SuExec?
I did this:
1. locate where is suexec by running the following:
suexec: /usr/sbin/suexec /usr/share/man/man8/suexec.8.gz
2. rename the suexec to suexec_old
mv /usr/sbin/suexec /usr/sbin/suexec_old
3. restart httpd
service httpd restart
and everything works.. BUT for a while... then websites become unresponsive again after a few minutes/hits~
what else would I have to do? What could be the perfect/proper fix?
Anyway, /var/log/ispconfig became inaccessible again, so i deleted it and created a new '/var/log/ispconfig' folder,
then downloaded latest Ispconfig, and ran 'php -q update.php'
Everything is working now.. but suexec remains disabled.
Please advise! thanks~~
ensure that suexec is present and that the log file is owned by user ispconfig.
what do you mean by ensuring it is present? I had it disabled.
Also, how would I go about making ispconfig own the log file?
My sites died again. AND /var/log/ispconfig became invalid and inaccessible again.
I had to delete and recreate an empty folder.
Clearly something is generating a lot of error messages (maybe file permissions/user rights?)
You should probably try to fix suexec.
It seems that is causing the errors.
|All times are GMT +2. The time now is 08:41.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.