logrotate failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux