Applies to:
All versions of Centrify DirectControl on all platforms
Question:
What are the steps to enable debug logging for the DirectControl NIS Server to send to Centrify Support?
Answer:
To enable Centrify DirectControl debug logging on the Centrify DirectControl NIS server run the following commands as root or sudo:
1. Add or modify the following parameter as shown below in the file /etc/centrifydc/centrifydc.conf (case-sensitive):
log.adnisd: DEBUG
2. Enable DirectControl debugging and watch for any errors:
/usr/share/centrifydc/bin/addebug on
*Make sure /var/log/centrifydc.log is growing in size, if not notify Centrify Support.*
3. Clear out any previous logs entries.
/usr/share/centrifydc/bin/addebug clear
4. Restart the Centrify NIS service (adnisd):
On Red Hat Linux, run:
#/sbin/service adnisd restart
On most other platforms, run:
#/etc/init.d/adnisd restart (or stop then start)
On Solaris10 or later:
#svcadm disable nis/centrifydc-server
#svcadm enable nis/centrifydc-server
5. Reproduce the issue reported to Centrify Technical Support (or leave the debug running long enough for the events occurring around the time of the issue to be recorded).
Once reproduced proceed to disable debug logging for Centrify NIS server (adnisd)
6. Comment the following line in /etc/centrifydc/centrifydc.conf:
# log.adnisd: DEBUG
7. Disable DirectControl debugging:
/usr/share/centrifydc/bin/addebug off
8. Restart the Centrify NIS service (adnisd) once more.
9. Run the following command and note the location of the file output it generates:
adinfo -t
10. Reply or email Centrify Support the file output above (usually /var/centrify/tmp/adinfo_support.tar.gz)