Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-1909: Why running "addebug on" produced an error?

Authentication Service ,  

12 April,16 at 11:47 AM

Applies to: 
Centrify DirectControl on Linux, Unix system running syslog-ng
Why I am getting the following error when I run 'addebug on'? ERROR: /etc/syslog.conf not found. Operation cancelled.
Addebug script checks for the existence of a syslog pid file in /var/run directory.  For system that is running syslog-ng, syslog config file is written as /etc/syslog-ng/syslog-ng.conf but not /etc/syslog.conf and pid file as /var/run/  Addebug failed because it could not find config is /etc/syslog.conf.
Rename /var/run/ to /var/run/  This way your script finds and able to correctly update syslog-ng.config file.
In addition, please take a back up of your existing syslog-ng.conf file and add the following lines and restart syslog (service syslog-ng restart)
filter f_centrify_re {
    ( program("adnisd") or program("adclient") )
    and priority(debug..emerg);
destination d_centrify_re {file("/var/log/centrifydc.log");};
# destinations
log {
A sample file is attached at the end of this KB article. Pl. use it as reference only.