logrotate failure

Gene Heskett gene.heskett at verizon.net
Mon Nov 20 12:36:43 UTC 2006


Greetings;

Two weeks now since I installed FC6, and still no logrotation is being 
done.

Stepping into /etc/logrotate.d, and doing an sh ./syslog results in this:

[root at coyote logrotate.d]# sh ./syslog
./syslog: line 1: /var/log/messages: Permission denied
./syslog: line 2: sharedscripts: command not found
./syslog: line 3: postrotate: command not found
./syslog: line 5: endscript: command not found
./syslog: line 6: syntax error near unexpected token `}'
./syslog: line 6: `}'

ls -l /var/log/mesasges:
-rw------- 1 root root 2154163 Nov 20 07:32 /var/log/messages

I realize this is probably not the way to test this, but this is also one 
of the items in /etc that I did not copy over from my FC2 install.  I had 
made some additions to the list of logs to rotate and as a check, they 
are not there. And as you'll recall, I did not have an /etc/crontab file 
until kcron wrote it.

I've also mounted the FC6 iso, and tried to -F --freshen the package, and 
I've tried to verify it, all without either effecting whats installed or 
fixing this problem.

The 'service crond restart' output is the usual stop, start.

So what would be the proper way to exec this for troubleshooting?  Maybe 
there are other things crond should be doing but isn't.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.




More information about the users mailing list