Hi Robert,
Can't find anything (to me) that looks unusual. Tried to do
./logrotate -f /etc/logrotate.conf and got this
error: /etc/logrotate.conf:26 duplicate log entry for /usr/logs/as5300.log
cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
ls -l `which run-parts`
-rwxr-xr-x 1 root root 749 Jul 19 2001 /usr/bin/run-parts
ls -al /etc/cron.daily
total 12
drwxr-xr-x 2 root root 1024 Dec 20 16:24 .
drwxr-xr-x 53 root root 4096 Feb 3 11:07 ..
lrwxrwxrwx 1 root root 28 Dec 20 16:21 00-logwatch -> ../log.d/scripts/logwatch.pl
-rwxr-xr-x 1 root root 276 Jun 25 2001 0anacron
-rwxr-xr-x 1 root root 51 Apr 15 2002 logrotate
-rwxr-xr-x 1 root root 418 Mar 25 2002 makewhatis.cron
-rwxr-xr-x 1 root root 104 Apr 18 2002 rpm
-rwxr-xr-x 1 root root 132 Jun 25 2001 slocate.cron
-rwxr-xr-x 1 root root 100 Apr 12 2002 tetex.cron
-rwxr-xr-x 1 root root 193 Apr 13 2002 tmpwatch
ps -el
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
100 S 0 1 0 0 75 0 - 342 schedu ? 00:00:05 init
040 S 0 2 1 0 75 0 - 0 contex ? 00:00:00 keventd
040 S 0 3 1 0 94 19 - 0 ksofti ? 00:00:00 ksoftirqd_CPU0
040 S 0 4 1 0 75 0 - 0 schedu ? 00:00:04 kswapd
040 S 0 5 1 0 85 0 - 0 bdflus ? 00:00:00 bdflush
040 S 0 6 1 0 75 0 - 0 schedu ? 00:00:00 kupdated
040 S 0 7 1 0 85 0 - 0 md_thr ? 00:00:00 mdrecoveryd
040 S 0 11 1 0 75 0 - 0 end ? 00:00:25 kjournald
040 S 0 90 1 0 75 0 - 0 end ? 00:00:00 khubd
040 S 0 249 1 0 75 0 - 0 end ? 00:00:00 kjournald
040 S 0 250 1 0 75 0 - 0 end ? 00:00:00 kjournald
040 S 0 251 1 1 75 0 - 0 end ? 02:42:14 kjournald
040 S 0 252 1 0 75 0 - 0 end ? 00:00:39 kjournald
140 R 0 756 1 0 76 0 - 411 - ? 01:05:43 syslogd
140 S 0 761 1 0 75 0 - 341 do_sys ? 00:00:00 klogd
140 S 32 781 1 0 75 0 - 377 schedu ? 00:00:00 portmap
140 S 29 809 1 0 77 0 - 389 schedu ? 00:00:00 rpc.statd
140 S 0 959 1 0 75 0 - 655 schedu ? 00:00:00 sshd
040 S 0 992 1 0 77 0 - 552 schedu ? 00:00:00 xinetd
140 S 0 1023 1 0 75 0 - 350 schedu ? 00:00:02 gpm
040 S 0 1041 1 0 75 0 - 384 schedu ? 00:00:00 crond
Robert Tinsley <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 02/11/2003 12:44 PM
|
To: [EMAIL PROTECTED] cc: Subject: Re: Newbie question---Logrotate not rotating |
On Tue, 2003-02-11 at 17:31, [EMAIL PROTECTED] wrote:
> Hi All,
>
> I did some searches and can't find a solution to my problem. My
> logrotate is not rotating. I am sure that it is something simple that
> I am not doing/configuring.
is the 'crond' process running? can you see anything strange in
/var/log/cron? has cron mailed anything to the root user? what are the
results of...
# cat /etc/crontab
# ls -l `which run-parts`
# ls -al /etc/cron.daily
cheers,
--
[EMAIL PROTECTED]
[ do NOT use the following e-mail address: [EMAIL PROTECTED] ]
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list