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

Centrify DirectControl ,  

17 September,16 at 12:24 AM

Applies to: All versions of Centrify DirectControl on all platforms
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. Turn off debugging.
/usr/share/centrifydc/bin/addebug off

6. 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 
7. Run the following command to gather the logs into a single archive:
adinfo –t 
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, upload them to the Centrify ftp server instead:
Username: customer0 
Password: custzero
Create a folder with the ticket number provided by Support and upload the files into that folder.

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.