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  >
article

KB-10531: How to Collect Debug Logs from the Agent for Linux cclient

Privileged Access Service ,  

29 June,21 at 05:18 PM

QuestionHow to Collect Debug Logs from the Agent for Linux cclient

Answer
On the Centrify Unix server, as root or sudo, please run the following commands:

1. Turn on Centrify debug:
# /usr/local/share/centrifycc/bin/cdebug on
# /usr/local/share/centrifycc/bin/cdebug clear

Make sure /var/log/centrifycc.log is growing in size.

2. Reproduce any issues as requested by Centrify Support.

3. Collect cnfo:
# cinfo -t

4. Turn off debug:
# /usr/local/share/centrifydc/bin/cdebug off

Please send the /var/centrify/tmp/cinfo_support.tar.gz

Update In the 19.4 version of the Linux agent, the location for debug logging has changed. Please use the following steps if the 19.4 version is installed:

1) /opt/centrify/sbin/cdebug on
2) /opt/centrify/sbin/cdebug clear
3) Reproduce any issues as requested by Centrify Support
4) /opt/centrify/sbin/cdebug off
5) cinfo -t
6) The logs will still be located at 
/var/centrify/tmp/cinfo_support.tar.gz

Update: In version 21.4 and later of the Centrify Cloud agent for Linux, the location of the debug logging has changed. Please use the following steps if version 21.4 and later is installed:

1) To enable debug logging, run either of the two commands below:
#cdebug on
OR
#/opt/centrify/libexec/cdebug on

2) Clear debug logs:
#cdebug clear
OR

#/opt/centrify/libexec/cdebug clear


3) Reproduce any issues as requested by Centrify Support

4) Turn off debug logging:
#cdebug off
OR

#/opt/centrify/libexec/cdebug off


5) Run the command:
cinfo -t

6) Log file will be created under the location below:
 /var/centrify/tmp/cinfo_support.tar.gz