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.
02 4 * * * root run-parts /etc/cron.daily
Regards,
Umair Shakil ETD
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
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.
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@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@centos.org http://lists.centos.org/mailman/listinfo/centos
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@ias.com.hk mailto:christopher@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@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
--- umair shakil umairshakeel@gmail.com 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.
02 4 * * * root run-parts /etc/cron.daily
Regards,
Umair Shakil ETD
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Is this for the same BSD system you asked questions on before concerning log rotation problems?
Steven
Get your Art Supplies @ www.littleartstore.com
On 10/26/07, Christopher Chan christopher@ias.com.hk wrote:
Which BSD system borrowed run-parts from Debian?
All of them. Since they're based on debian anyway. See this thread for details -> http://lists.centos.org/pipermail/centos/2007-October/088245.html
One of these days I'll develop the ability to resist the urge to poke fun.....
Jim Perrin wrote:
On 10/26/07, Christopher Chan christopher@ias.com.hk wrote:
Which BSD system borrowed run-parts from Debian?
All of them. Since they're based on debian anyway. See this thread for details -> http://lists.centos.org/pipermail/centos/2007-October/088245.html
One of these days I'll develop the ability to resist the urge to poke fun.....
Man, I missed that one. Serves me right for switching email accounts. At least you just poke fun. If Robin Socha was here...we would have endless fun/torment.
--- Christopher Chan christopher@ias.com.hk wrote:
Jim Perrin wrote:
On 10/26/07, Christopher Chan
christopher@ias.com.hk wrote:
Which BSD system borrowed run-parts from Debian?
All of them. Since they're based on debian anyway.
See this thread for
details ->
http://lists.centos.org/pipermail/centos/2007-October/088245.html
One of these days I'll develop the ability to
resist the urge to poke fun.....
Man, I missed that one. Serves me right for switching email accounts. At least you just poke fun. If Robin Socha was here...we would have endless fun/torment. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Jim,
If you stopped poking fun of things in the mailing list then you know it is time to hang it up and quit! :-)
Steven
Get your Art Supplies @ www.littleartstore.com
Ralph Angenendt wrote:
Christopher Chan wrote:
Man, I missed that one. Serves me right for switching email accounts. At least you just poke fun. If Robin Socha was here...we would have endless fun/torment.
Shall I invite him?
Why, that would be wonderful. Or better not, otherwise I won't be able to leave my computer.
on 10/26/2007 6:54 AM Jim Perrin spake the following:
On 10/26/07, Christopher Chan christopher@ias.com.hk wrote:
Which BSD system borrowed run-parts from Debian?
All of them. Since they're based on debian anyway. See this thread for details -> http://lists.centos.org/pipermail/centos/2007-October/088245.html
One of these days I'll develop the ability to resist the urge to poke fun.....
Yeah... Right!