tim_p
Jun 13 2003, 11:23 PM
Just got a cPanel box with RH8 and cPanel 6.4.2.
I've set the messaging option up in WHM, and I get a wave of emails at least twice daily, telling me that Apache, Mysql, Exim etc... have FAILED, and that an automatic restart has been attempted!!!
What gives? anyone else having this problem? The only thing I've changed on the box is, I've recompiled apache according to gpan's instructions!
But why would that affect mysql, exim etc... ???
incastle
Jun 14 2003, 10:12 PM
I am trying to figure out the same thing
kcgbjc
Jun 14 2003, 10:17 PM
My HTTP fails every week or so. The RS member page monitoring nor the WHM even knows it's down. Problem!
tim_p
Jun 14 2003, 11:01 PM
anyone can help us out? guys? Mouse? Anyone out there?
Erwin
Jun 14 2003, 11:07 PM
At the time apache dies, what do these logs say:
/usr/local/apache/logs/error_log
/var/log/messages
This will help with diagnosis.
A common reason for this would be large log files - check the following directories:
/usr/local/apache/logs/
/var/log
and see if you have very large log files. If so, the path in logrotate.conf isn't right, which is the case in a default CPanel. Search for the HOW-TO by aussie that fixes this.
tim_p
Jun 15 2003, 04:09 AM
Good man Erwin,
here's what i got in my error_log:
QUOTE
[Sun Jun 15 02:49:40 2003] [notice] SIGUSR1 received. Doing graceful restart
Failed loading /usr/local/Zend/lib/ZendOptimizer.so: /usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: No such file or directory
[Sun Jun 15 02:49:40 2003] [notice] Apache/1.3.27 (Unix) mod_log_bytes/1.2 mod_bwlimited/1.0 PHP/4.3.1 FrontPage/5.0.2.2510 mod_ssl/2.8.14 OpenSSL/0.9.6b configured -- resuming normal operations
[Sun Jun 15 02:49:40 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Sun Jun 15 02:49:40 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Jun 15 02:59:40 2003] [notice] SIGUSR1 received. Doing graceful restart
Failed loading /usr/local/Zend/lib/ZendOptimizer.so: /usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: No such file or directory
[Sun Jun 15 02:59:40 2003] [notice] Apache/1.3.27 (Unix) mod_log_bytes/1.2 mod_bwlimited/1.0 PHP/4.3.1 FrontPage/5.0.2.2510 mod_ssl/2.8.14 OpenSSL/0.9.6b configured -- resuming normal operations
[Sun Jun 15 02:59:40 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Sun Jun 15 02:59:40 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
Any ideas? I believe what you mentioned about the path to logrotate.conf not being correct is right. But from the errors it looks to me like that's only part of the problem!
Looks like cPanel is looking for the ZendOptimizer and not finding it?
What do you think Doc ?
kcgbjc
Jun 16 2003, 09:22 AM
I do notice no rotation happening, but what is "too big" when it comes to a log?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.