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-2137: How to Collect Debug Logs from a Centrify NIS Server (adnisd)

Authentication Service ,  

5 October,16 at 05:33 PM

Applies to: 
All versions of Centrify DirectControl on all platforms


What are the steps to enable debug logging for the DirectControl NIS Server to send to Centrify Support?


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)