17 September,16 at 12:44 AM
Question:
What are the steps to enable debug logging for the DirectAudit agent for UNIX/Linux to send to Centrify Support?
Answer:
Use either section A) or B) depending on the version of the agent you are running (run dainfo -v to verify)
A) Turning on debug logging for the DirectAudit agent versions 3.1.1 and higher (dad process) running on Unix/Linux machines:
Login as root or execute with privileged the following:
# /usr/share/centrifydc/bin/addebug clear
# /usr/share/centrifydc/bin/addebug on
# /usr/sbin/dadebug clear
# /usr/sbin/dadebug on
(If TRACE log is required, please run /usr/sbin/dadebug set TRACE)
Now dad agent will write debug information into a file "centrifydc.log" found under system's syslog directory.
# /etc/init.d/centrifyda restart
# adinfo -t
# /usr/sbin/dadebug off
# /usr/share/centrifydc/bin/addebug off
a) /var/centrify/tmp/adinfo_support.tgz
b) /var/centrifyda/tmp/support.tar.gz
KB-5727: How to enable debug logging for the DirectAudit Collector
B) Turning on debug logging for the DirectAudit agent versions 2.x-3.1.0 (dad process) running on Unix/Linux machines:
# /usr/share/centrifydc/bin/addebug clear
# /usr/share/centrifydc/bin/addebug on
# /usr/sbin/dadebug clear
# /usr/sbin/dadebug on
(If TRACE log is required, please run /usr/sbin/dadebug set TRACE)
Now dad agent will write debug information into a file "centrifydc.log" found under system's syslog directory.
# /etc/init.d/centrifyda restart
# adinfo -t
# dainfo --diag > /tmp/dainfo.txt
# ls –al /bin/ > /tmp/ls.out
# /usr/sbin/dadebug off
# /usr/share/centrifydc/bin/addebug off
a) /tmp/adinfo_support.tar.gz or /var/tmp/centrify/adinfo_support.tgz
b) /tmp/dainfo.txt
c) /var/log/centrifydc.log
d) /etc/centrifyda/centrifyda.conf
e) /tmp/ls.out
KB-5727: How to enable debug logging for the DirectAudit Collector