logrotate not working

glenn glenn at mail.txwes.edu
Tue Jul 13 22:51:33 UTC 2004


On July 12, 2004 10:42 am, glenn wrote:
> Hi, Guys - Since I made a fresh install of RHEL-AS3, logrotate
> doesn't work, and my logs are getting monstrous.  In
> /var/log/messages, there is this, every day at 4:02:09:
>
> "logrotate: ALERT exited abnormally with [1]"
>
> Logrotate.conf looks the same as it does on another server, as 
do
> the files in /etc/logrotate.d.  What could the problem be?
> Thanks.   -G.


>Hi,
>Have a look at bugzilla. There is a Fedorsa logrotate issue that 
>sounds like 
>it may be the same.
>https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=122911
>
>-- 
>Pete Nesbitt, rhce

Pete - Nope, that wasn't it, but it the bug report gave me the 
bright idea of running logrotate from a command line:

/usr/bin/logrotate /etc/logrotate.conf

And that produced an error message that led to the solution.  
Logrotate was trying to change the permissions on a file for a 
user (named) that does not exist on this machine (long story 
there).  I just removed /etc/logrotate.d/named and problem was 
solved.  Thanks.   -G.





More information about the redhat-list mailing list