bjseiler
09-21-2002, 10:12 AM
After 3 days of trying, I am begging for some help here.
I have been trying to figure out why none of my web.log files have been updating. I have tried every single "tip" from all of the message boards and I still have not got it to work. I guess it has something to do with logrotate, but at this point I have no idea. access_logs grows but none of the web.log's change from 0.
Also, at 5:30 each morning, I have been getting this in my error logs
[Sat Sep 21 05:30:27 2002] [warn] child process 32340 did not exit, sending another SIGHUP
[Sat Sep 21 05:30:27 2002] [warn] child process 32341 did not exit, sending another SIGHUP
[Sat Sep 21 05:30:27 2002] [warn] child process 7603 did not exit, sending another SIGHUP
[Sat Sep 21 05:30:27 2002] [warn] child process 7605 did not exit, sending another SIGHUP
[Sat Sep 21 05:30:27 2002] [warn] child process 7607 did not exit, sending another SIGHUP
[Sat Sep 21 05:30:27 2002] [notice] SIGHUP received. Attempting to restart
[Sat Sep 21 05:30:31 2002] [notice] Apache configured -- resuming normal operations
Which is at the same time my /var/log/httpd/access file was changed (even though it never changes from 0)
I looked at logrotate.onboot/apache and it references a combined-access file that I do not have and it looks like it is wanting to rotate /var/log/httpd/access (which is always 0 for me) instead of /var/log/httpd/access_log
I thought the way it was supposed to work was access_log gets split up into the various web.log files and then webalizer creates its stats off of the web.log files. After that, logrotate sweeps through and takes care of the access_log file.
Is my logrotate breaking something with apache and causing it to restart during its nightly cron? Any ideas why access_log is not getting split into web.log's?
Finally, (and I don't know how I could have messed this up), when I access my /admin now, it logs me in but the site does not change to https, it stay at http, shows me the normal Site Management screen, but javascript errors don't let me click on any of the buttons (object does not support this property or method). I can still log in fine with ip address/admin, but I am wondering what happened. Did my fiddling with logrotate affect this somehow? This worked before.
Yikes!
FYI
raq4i
I have installed all of the latest updates from cobalt
newest ssl and ssh
ipchains/pmfirewall
chkrootkit
etc
I have been trying to figure out why none of my web.log files have been updating. I have tried every single "tip" from all of the message boards and I still have not got it to work. I guess it has something to do with logrotate, but at this point I have no idea. access_logs grows but none of the web.log's change from 0.
Also, at 5:30 each morning, I have been getting this in my error logs
[Sat Sep 21 05:30:27 2002] [warn] child process 32340 did not exit, sending another SIGHUP
[Sat Sep 21 05:30:27 2002] [warn] child process 32341 did not exit, sending another SIGHUP
[Sat Sep 21 05:30:27 2002] [warn] child process 7603 did not exit, sending another SIGHUP
[Sat Sep 21 05:30:27 2002] [warn] child process 7605 did not exit, sending another SIGHUP
[Sat Sep 21 05:30:27 2002] [warn] child process 7607 did not exit, sending another SIGHUP
[Sat Sep 21 05:30:27 2002] [notice] SIGHUP received. Attempting to restart
[Sat Sep 21 05:30:31 2002] [notice] Apache configured -- resuming normal operations
Which is at the same time my /var/log/httpd/access file was changed (even though it never changes from 0)
I looked at logrotate.onboot/apache and it references a combined-access file that I do not have and it looks like it is wanting to rotate /var/log/httpd/access (which is always 0 for me) instead of /var/log/httpd/access_log
I thought the way it was supposed to work was access_log gets split up into the various web.log files and then webalizer creates its stats off of the web.log files. After that, logrotate sweeps through and takes care of the access_log file.
Is my logrotate breaking something with apache and causing it to restart during its nightly cron? Any ideas why access_log is not getting split into web.log's?
Finally, (and I don't know how I could have messed this up), when I access my /admin now, it logs me in but the site does not change to https, it stay at http, shows me the normal Site Management screen, but javascript errors don't let me click on any of the buttons (object does not support this property or method). I can still log in fine with ip address/admin, but I am wondering what happened. Did my fiddling with logrotate affect this somehow? This worked before.
Yikes!
FYI
raq4i
I have installed all of the latest updates from cobalt
newest ssl and ssh
ipchains/pmfirewall
chkrootkit
etc
