[CentOS] Logrotate Problem

2008-07-30 Thread Balaji

Dear All,

  Currently  i am using CentOS 4.4 Linux
  I have configured crontab to run cron.daily at 4:02 am
  2 4 * * *   rootrun-parts /etc/cron.daily

  On 4:02 am my pc is shutdown and i am boot-up my pc on 13:11:10
  Please verify the system log messages from "/var/log/messages" file
  Jul 30 13:11:10 localhost syslogd 1.4.1: restart (remote reception).
  Jul 30 13:11:10 localhost snmpd[2663]: Received TERM or STOP 
signal...  shutting down...

  Jul 30 13:11:11 localhost snmpd: snmpd shutdown succeeded
  Jul 30 13:11:11 localhost snmpd: snmpd startup succeeded
  Jul 30 13:11:12 localhost syslogd 1.4.1: restart (remote reception).
  Jul 30 13:11:12 localhost logrotate: ALERT exited abnormally with [1]

   But Logrotate will be done after PC is boot-up

  Please verify the logrotate messages from "/var/spool/mail/root" file
   From [EMAIL PROTECTED]  Wed Jul 30 13:15:07 2008
   Return-Path: <[EMAIL PROTECTED]>
   Received: from localhost (localhost.localdomain [127.0.0.1])
   by localhost (8.13.1/8.13.1) with ESMTP id m6U7j7ll012654
   for <[EMAIL PROTECTED]>; Wed, 30 Jul 2008 13:15:07 +0530
   Received: (from [EMAIL PROTECTED])
   by localhost (8.13.1/8.13.1/Submit) id m6U7j7xn012641
   for root; Wed, 30 Jul 2008 13:15:07 +0530
   Date: Wed, 30 Jul 2008 13:15:07 +0530
   Message-Id: <[EMAIL PROTECTED]>
   From: [EMAIL PROTECTED] (Anacron)
   To: [EMAIL PROTECTED]
   Content-Type: text/plain; charset="ANSI_X3.4-1968"
   Subject: Anacron job 'cron.daily'
   /etc/cron.daily/logrotate:

   I am not sure why this is happening. Can some one throw light on this.

Regards
-S.Balaji

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


[CentOS] Logrotate problem after start of DST

2008-04-20 Thread Bernd Bartmann
Hi,

since the start of the daylight savings time my server has a problem
with the log files. Sunday night the log files get rotated correctly,
i.e. /var/log/messages gets /var/log.messages.1, /var/log/messages.1
get /var/log/messages.2, ... The problem now is that after log
rotation new messages do no go to /var/log/messages, but to the
rotated file. As DST started 3 weeks, the latest log entries now go to
/var/log/messages.3. This happens to all other log files too. Even
after rebooting the server new log entries go to /var/log/messages.3
instead of /var/log/messages.

Any ideas why this happens and how to fix this problem?

Thanks in advance,
Bernd.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] logrotate problem

2007-10-27 Thread Christopher Chan

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.

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


Re: [CentOS] logrotate problem

2007-10-26 Thread Ralph Angenendt
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?

Ralph


pgpgZxPrdIu5T.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] logrotate problem

2007-10-26 Thread Steven Vishoot

--- Christopher Chan <[EMAIL PROTECTED]> wrote:

> Jim Perrin wrote:
> > On 10/26/07, Christopher Chan
> <[EMAIL PROTECTED]> 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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] logrotate problem

2007-10-26 Thread Christopher Chan

Jim Perrin wrote:

On 10/26/07, Christopher Chan <[EMAIL PROTECTED]> 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


Re: [CentOS] logrotate problem

2007-10-26 Thread Jim Perrin
On 10/26/07, Christopher Chan <[EMAIL PROTECTED]> 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.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] logrotate problem

2007-10-26 Thread Christopher Chan



Is this for the same BSD system you asked questions on
before concerning log rotation problems?



Which BSD system borrowed run-parts from Debian?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] logrotate problem

2007-10-26 Thread Steven Vishoot

--- umair shakil <[EMAIL PROTECTED]> 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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] logrotate problem

2007-10-26 Thread Christopher Chan

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* <[EMAIL PROTECTED] 
> 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





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


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


Re: [CentOS] logrotate problem

2007-10-26 Thread umair shakil
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 <[EMAIL PROTECTED]> 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
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] logrotate problem

2007-10-26 Thread Christopher Chan

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


[CentOS] logrotate problem

2007-10-26 Thread umair shakil
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