Re: logrotate problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



umair shakil wrote:
I have said my logs are not rotating automatically through cron, manually running the script
works fine, this problem has been seen two weeks back.

Is crond running?

Is run-parts still around?

What happened two weeks back again?


ls -l /etc/cron.daily
total 68
lrwxrwxrwx 1 root root 28 Feb 10 2007 00-logwatch -> ../log.d/scripts/logwatch.pl
-rwxr-xr-x  1 root root  418 Feb 22  2005 00-makewhatis.cron
-rwxr-xr-x  1 root root  276 Feb 21  2005 0anacron
-rwxr-xr-x  1 root root  180 Aug 23  2005 logrotate
-rwxr-xr-x  1 root root 2133 Dec  1  2004 prelink
-rwxr-xr-x  1 root root  104 Jan  1  2006 rpm
-rwxr-xr-x  1 root root  121 Aug 22  2005 slocate.cron
-rwxr-xr-x  1 root root  286 Feb 21  2005 tmpwatch
-rwxr-xr-x  1 root root  158 Feb 18  2006 yum.cron

Regards,

Umair Shakil
ETD
On 10/26/07, *Christopher Chan* <christopher@xxxxxxxxxx <mailto:christopher@xxxxxxxxxx>> wrote:

    umair shakil wrote:
     > Dear All Salam,
     >
     > I have syslog server running logs of network devices, I am facing
     > problem about two weeks that
     > my weekly log is not rotating, as i manually runs the script it
    does,
     > secondly i put the entry
     > in cron.daily, still today i checked but no log rotation.... manually
     > running is fine.

    What happened two weeks ago?

     >
     > 02 4 * * * root run-parts /etc/cron.daily
     >

    ls -l /etc/cron.daily
    _______________________________________________
    CentOS mailing list
    CentOS@xxxxxxxxxx <mailto:CentOS@xxxxxxxxxx>
    http://lists.centos.org/mailman/listinfo/centos



------------------------------------------------------------------------

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux