Troubleshooting Applications from Chkbin Logs
This document (7006753) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Desktop 10
SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 9
Situation
Whenever you have an application that is core dumping, segfaulting or misbehaves, run chkbin against the application and then look at the chkbin log file for troubleshooting information.
Resolution
chkbin </path/to/binary>
Chkbin does the following:
- Checks the location of each shared library
- Identifies each RPM package owner for the binary and each of it's shared library dependencies
- Validates each unique RPM package
- Displays the root environment variables LD_LIBRARY_PATH and LD_PRELOAD
- Gets a copy of the configuration files /etc/ld.so.conf and /etc/ld.so.preload
- Checks for unique dlopen libraries and their validity
If the RPM validation shows modifications to configuration files, confirm the modifications are correct and the configuration is valid.
If an application cannot find a shared library make sure the LD_LIBRARY_PATH variable is set correctly according to the application's documentation and run ldconfig.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7006753
- Creation Date: 30-Aug-2010
- Modified Date:16-Mar-2021
-
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com