Re: F22 rsyslogd writes to a dated file name...

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

 



On 06/26/15 09:49, dwoody5654 wrote:
> The following is a current list of the messages file in /var/log:
>
> -rw-------. 1 root root 104339300 Jun 20 10:27 messages-20150614
> -rw-------  1 root root                 0 Jun 22 03:30 messages
> -rw-------  1 root root  36077670 Jun 25 20:25 messages-20150622
>
> The other log files are treated similarly.
>
> -rw-------. 1 root root 9446999 Jun 20 10:27 secure-20150614
> -rw-------  1 root root             0 Jun 22 03:30 secure
> -rw-------  1 root root 1493733 Jun 25 20:38 secure-20150622
>
> I have bot been able to find out why the messages file is zero length or why the messages file that is being written to is a date identified file, in this case messages-20150622.
>
> Is there a config setting to change this? 

This is most likely due to the known bug in the logrotate file for rsyslog/syslog. 

Edit /etc/logrotate.d/syslog and make sure the postrotate line has "rsyslogd.pid" and not "syslogd.pid"

You can either allow things to sort themselves out, or running the "kill" command as shown will probably fix it.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux