Re: /var/log/messages is empty

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

 



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@pvr[7]->logger Foo
> root@pvr[8]->tail /var/log/messages
> root@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.

Mikkel
-- 

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

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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