Index: [Article Count Order] [Thread]

Date:  Mon, 18 Sep 2006 00:08:16 -0400
From:  "Brian N. Smith" <brian (at mark) nuonce.net>
Subject:  [coba-e:07034] Re: Weird logs
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <01bb01c6dad8$11f640a0$1e64a8c0@moe>
References:  <006001c6dace$a3af4a50$6400a8c0@YOUR4105E587B6>
X-Mail-Count: 07034

> [root (at mark) www ~]# ls -1 /etc/logrotate.d

I apologize.  I meant to see:

ls -l /etc/logrotate.d

the -1 (one) gives just the name, the -l (lower L) gives details.

-rwxr-xr-x  1 root root  370 Aug 17 06:02 admserv
-rw-r--r--  1 root root   67 Dec 18  2005 analog
-rw-r--r--  1 root root 1270 Aug 23 00:15 apache
-rw-r--r--  1 root root  238 Jun 12 08:15 clamd
-rw-r--r--  1 root root   66 Dec  7  2004 dbrecover
-rw-r--r--  1 root root  248 Jun 12 08:15 freshclam
-rw-r--r--  1 root root  571 Feb 21  2005 mgetty
-rw-r--r--  1 root root  163 Aug 13 06:41 named
-rw-r--r--  1 root root  249 Jun 25 07:54 proftpd
-rw-r--r--  1 root root  319 Mar  8  2006 psacct
-rw-r--r--  1 root root   61 Aug 12 18:01 rpm
-rw-r--r--  1 root root  232 Aug 12 17:52 samba
-rw-r--r--  1 root root  130 Aug 13 10:39 sitestats
-rw-r--r--  1 root root  154 Aug 13 02:58 snmpd
-rw-r--r--  1 root root  505 Aug 19 00:05 syslog
-rw-r--r--  1 root root   89 Aug 12 14:40 yum

The "site[0-X]" shouldn't matter as they are auto generated.  Looking 
try to compare the file size.

I am still working on the preface your still getting this error from 
cron?

/etc/cron.daily/logrotate:
error: error running prerotate script, leaving old log in place