Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    configuring Syslog-ng on RHEL 5

    I have installed syslog-ng on RHEL 5 to forward the syslog messages to the centralized server. I have done required configuration on syslog-ng.conf file to point to the centralized server.

    But when I am starting the syslog-ng service, it gives following error

    [root@vd12sta sysconfig]# service syslog-ng start
    Starting system logger: Error opening file for reading; filename='/proc/kmsg', e rror='Permission denied (13)'
    Error initializing source driver; source='s_sys'

    I am trying to start this service by using root login
    Permission for the /proc/kmsg are as following

    -rwx------ 1 root root 0 Mar 13 01:30 kmsg

    Please let me know the issue? Also please let me if any work around to start this service?


  2. #2

    Disable apparmor

    Disable apparmor
    $ rcapparmor stop

    Then try to read a file using source file driver. That should work


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts