Applies to: All versions of Centrify DirectControl on all platforms.
Getting error when trying to turn on debug log with addebug on.
syslog-ng is a syslogd replacement. By default when starting up, just like syslogd writes pid to /var/run/syslogd.pid, syslog-ng writes pid to /var/run/syslog-ng.pid but can be started with -p to specify an alternate pid file. You would see from "ps -ef |grep syslog" if alternate pid file used.
[root@testsystem bin]# ps -ef | grep syslog
root 13790 1 0 Feb06 ? 00:00:36 /sbin/syslog-ng -p /var/run/syslogd.pid
root 24659 21131 0 13:02 pts/2 00:00:00 grep syslog
addebug script checks for the existence of a syslog pid file in the /var/run directory. The script then checks for /etc/syslog.conf, or /etc/syslog-ng.conf depending on which pid file found in /var/run directory. In situation where syslog-ng started with -p to an alternate pid file, search for matching conf file failed, an error message will display and addebug script exit without starting debug trace.
Use either one of the following as a workaround.
1) rename /var/run/syslogd.pid to /var/run/syslog-ng.pid
2) start /sbin/syslog-ng without "-p /var/run/syslogd.pid" option
This is due to command line option and will not be fixed in CentrifyDC