[CentOS] logrotate problem
Christopher Chan
christopher at ias.com.hk
Fri Oct 26 07:59:02 UTC 2007
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 at ias.com.hk
> <mailto:christopher at ias.com.hk>> 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 at centos.org <mailto:CentOS at centos.org>
> http://lists.centos.org/mailman/listinfo/centos
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
More information about the CentOS
mailing list