[CentOS] Re: empty /var/log/messages
beast
beast at ldap.or.id
Wed Jun 27 02:34:24 UTC 2007
On 26/06/07 13:40 +0100, Andy Green wrote:
>beast wrote:
>> I have one centos 4.0 server which /var/log/messages was always empty (0
>> bytes). I wonder what has been blocking the syslog to write the log.
>>
>> Other (syslog) log files are fine, only messages.
>>
>> /etc/syslog.conf:
>> # Log anything (except mail) of level info or higher.
>> # Don't log private authentication messages!
>> *.info;mail.none;authpriv.none;cron.none;spampd.none -/var/log/messages
>
>How is the selinux stuff on /var/log/messages?
>
># ll -Z /var/log/messages
>-rw------- root root system_u:object_r:var_log_t /var/log/messages
I did not enable SELinux stuff (SELINUX=disabled)
root# ll -Z /var/log/messages
Sorry, this option can only be used on a SELinux kernel.
More information about the CentOS
mailing list