This article contains the information necessary to capture a successful Debug Bundle (Archive) from within Syslog-ng PE.
When opening a new SR, it is imperative that a current, successfully created, debug bundle is included. A successfully created debug bundle will contain logs, data, and other pertinent information necessary to aid in diagnosing errors and/or issues within the Syslog-ng PE environment.
Standard method of generating debug bundle
If you get permission errors during the bundle generation, make sure that you're running it under the correct user. For example:
[2019-08-09T14:40:14.262891] Error opening configuration file; filename='/opt/syslog-ng/etc/syslog-ng.conf', error='Permission denied (13)'
Running the script under a non-privileged user (syslog-ng) without log in shell.
su -l syslogng -c '/opt/syslog-ng/sbin/syslog-ng-debun -r'
grep -i syslog-ng /var/log/messages > syslog-ng.log
These are some additional options that can be used without being asked by support engineers.
/opt/syslog-ng/sbin/syslog-ng-debun -r -l
NOTE: The collected bundle may not include all the necessary information to solve an issue, therefore support engineers may ask for a standard debug bundle.
/opt/syslog-ng/sbin/syslog-ng-debun -r -W "Directory"
Replace "Directory" with the location desired for the debug bundle to be saved.
Additional debug logs
/opt/syslog-ng/sbin/syslog-ng-debun -r -d
NOTE: Allow this command to run for 60-90 seconds, then press ENTER to exit. The syslog-ng process will automatically be restarted.
© 2021 One Identity LLC. ALL RIGHTS RESERVED. Feedback Términos de uso Privacidad