Re: empty /var/log/messages

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



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.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux