/var/log/messages is empty

Mikkel L. Ellertson mikkel at infinity-ltd.com
Mon Apr 20 00:53:21 UTC 2009

Geoffrey Leach wrote:
> On 04/19/2009 02:29:38 PM, Joseph L. Casale wrote:
>>>> logrotate moves /var/log/messages to /var/log/messages-todaysdate 
>>>> once
>>>> in a
>>>> while.
>>> Thanks, but that's not the problem. I've got several rotated logs
>> with 
>>> content, and one without.
>> I think you may have missed the point: If logrotate swapped it,
>> and nothing new has been logged, it could be empty.
>> # logger Foo
>> # tail /var/log/messages
>> What you get?
> root at pvr[7]->logger Foo
> root at pvr[8]->tail /var/log/messages
> root at pvr[9]->
It sounds like the log file may have been deleted/recreated without
rsyslog being restarted. Try running "service rsyslog reload" or
"service rsyslog restart" and see if that helps. It is possible for
a process to keep writing to a file it had open, even if the file
has ben deleter.


  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20090419/63f6c5ec/attachment-0001.bin 

More information about the users mailing list