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-0062: How to Collect Debug Logs from a DirectControl Agent

Authentication Service ,  

7 February,20 at 04:11 PM

How is debug logging enabled on machines running DirectControl and what other data may be needed for support purposes?

On the Centrify Unix server, run the following commands as root or sudo:
1. Turn debugging on and watch for any errors.
/usr/share/centrifydc/bin/addebug on
2. Clear out any previous logs entries.
/usr/share/centrifydc/bin/addebug clear
3. Make sure /var/log/centrifydc.log is growing in size.
(On HPUX this file is /var/adm/syslog/centrifydc.log).
4. Reproduce any issues as requested by Centrify Support.
5. Run the following command to gather the logs into a single archive:
adinfo –t 
6. Turn off debugging.
/usr/share/centrifydc/bin/addebug off

7. If a user problem is involved some additional details about the user are required.  Run these additional commands where <user> is the affected user:
adquery user <user> -A > /tmp/adquery_user.txt
dzinfo <user> > /tmp/dzinfo.txt 
8. Email and attach the following files:
a)  /var/centrify/tmp/adinfo_support.tar.gz
b)  /tmp/dzinfo.txt
c) /tmp/adquery_user.txt

9.  If the files are too large for email, please contact Centrify Technical Support for FTP server details.