Syslog can not create log messages in /var/log/messages and /var/log/secure.

Solution Verified - Updated -

Issue

  • The syslogd and klogd services are running on the system but the /var/log/messages and /var/log/secure files are not created.
  • Running following commands manually, creates the /var/log/messages and /var/log/secure file.

    [root@example ~]# /sbin/syslogd 
    [root@example ~]# /sbin/klogd
    

Environment

  • Red Hat Enterprise Linux 5.7
  • syslogd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content