[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] RE: cobalt-users digest, Vol 1 #6582 - 13 msgs
- Subject: [cobalt-users] RE: cobalt-users digest, Vol 1 #6582 - 13 msgs
- From: "Jon" <jjma100@xxxxxxxxxxx>
- Date: Mon Dec 22 01:35:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hello,
> > the time cron.daily carries out it's duties. The
> error this morning from
> > cron.daily was:
> > ==================================
> > errors occured while rotating /var/log/httpd/access
> >
> > error running prerotate script --
> > leaving old log in place
> > ==================================
> You say the issue wasn`t log files.. my symptoms were
> exactly the same and
> it was... check in /var/log and var/httpd/
> If there aren`t any large logfiles in there then ignore the
> following....also please note I don't use Webaliser or
> provide site stats to
> users.
We do use webalizer and need the statistics for our sites, but
webalizer is set to run after the logs have been split by
logrotate which is having the problem in the prerotate script.
Our acces log files are not big compared to larger, busier sites.
These is the current sizes:
46M /var/log/httpd/access
1.9M /var/log/httpd/adm_access
1.4M /var/log/httpd/adm_error
238k /var/log/maillog
213k /var/log/messages
- Second solution I've tried was to split the logs manually, mv
the old access log to /tmp, create a new access log file using
tocuh and recreate proper permissions, but this failed after day
two of use.
Jonathan