system log files not rotating



my files in /var/log are growing but not rotating.

maillog is now 215MB

cron seems set-up same as another FC3 server and /etc/logrotate.d/syslog contains

/var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron {
      /bin/kill -HUP `cat /var/run/ 2> /dev/null` 2> /dev/null || true

and cron.daily looks the same as the other machine.

is there a way i can test the set-up


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

And the logrotate itself is installed ?
rpm -qi logrotate
yum install logrotate
obantecAuthor Commented:

[root@proteus2 admin]# rpm -qi logrotate
Name        : logrotate                    Relocations: (not relocatable)
Version     : 3.6.5                             Vendor: Red Hat, Inc.
Release     : 2                             Build Date: Sun 23 Jun 2002 21:24:34 BST
Install Date: Sun 27 Aug 2006 10:43:38 BST      Build Host:
Group       : System Environment/Base       Source RPM: logrotate-3.6.5-2.src.rpm
Size        : 48465                            License: GPL
Signature   : DSA/SHA1, Tue 03 Sep 2002 22:29:02 BST, Key ID 219180cddb42a60e
Packager    : Red Hat, Inc. <>
Summary     : Rotates, compresses, removes and mails system log files.
Description :
The logrotate utility is designed to simplify the administration of
log files on a system which generates a lot of log files. Logrotate
allows for the automatic rotation, compression, removal, and mailing of
log files. Logrotate can be set to handle a log file daily, weekly,
monthly, or when the log file gets to a certain size. Normally,
logrotate runs as a daily cron job.

so yes it is installed.

and /etc/logrotate.conf contains
include /etc/logrotate.d
and /etc/cron.daily/logrotate does it's job (and is exectueable)

If so - I don't know. Try looking into /var/log/cron for possible reason.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

you could try adding more options for size like mine below.

/var/log/mail /var/log/ /var/log/mail.warn /var/log/mail.err {
    maxage 365
    rotate 99
    size +4096k
    create 640 root root
        /etc/init.d/syslog reload
obantecAuthor Commented:

i found /var/log/cups missing

[root@proteus2 cron.daily]# ./logrotate
error: error accessing /var/log/cups: No such file or directory
error: cups:1 glob failed for /var/log/cups/*_log

so added it with owner lp.sys chmod 755

now the logs rotate!

add: missingok
keyword to the logrotate definitions.
obantecAuthor Commented:
Thanks will do
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.