rs-freddo

Well-Known Member
May 13, 2003
834
1
168
Australia
cPanel Access Level
Root Administrator
I get this email:
-------------
/etc/cron.daily/logrotate:

error: error running postrotate script
error: error running postrotate script
error: error running postrotate script
error: error running postrotate script
error: error running postrotate script
error: error running shared postrotate script for /usr/local/apache/logs/*log
error: error running postrotate script
error: error running shared postrotate script for /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron

-----------------
And this process is active around the time:
-----------
root 13278 0.0 0.0 2136 864 ? S 04:02 0:00 /bin/sh /etc/cron.daily/logrotate
root 13279 0.0 0.0 1956 640 ? S 04:02 0:00 awk -v progname=/etc/cron.daily/logrotate progname {????? print progname ":\n"????? progname="";???? }???? { print; }
root 13280 0.0 0.0 1632 696 ? S 04:02 0:00 /usr/sbin/logrotate /etc/logrotate.conf
-------------

The logs seem to be rotating fine. I'm just not sure about the post rotate bit???????????
Any ideas appreciated.