Binary Check Tool

Binary Check Tool

Checks the named binary for it's rpm owner and the rpm owner of each shared library dependency as determined by ldd. It then runs rpm verify on each file.



Use the chkbin utility when applications behave oddly or don't function at all. Many times it is due to a corrupt or missing binary or shared library file. This tool helps identify these types of issues.



Installation Instructions:



  1. Uninstall the supportconfig and chkbin RPM packages

  2. rpm -e supportconfig chkbin


  3. Download ntsutils-1.00-75.1.noarch.rpm

  4. Install the RPM

  5. rpm -Uvh ntsutils-1.00-75.1.noarch.rpm


  6. Run the chkbin command as root



Usage:


Just type chkbin </path/to/file>



Sample Output:




############################################################
Binary Check Tool, v 1.01-14
Date: 05/09/08, 13:17:57
Kernel: 2.6.16.53-0.16-smp, Hardware: i386
############################################################

Checking Binary Ownership ... Done
Checking for Shared Libraries ... Done
Checking for dlopen Libraries ... Done
Searching for dlopen Libraries ... Done
Adding Unique dlopen Libraries ... Warning
Checking Shared Library Ownership ... Done
Validating Unique RPMs ... Done
Fetching Environment Variables ... Done
Fetching Configuration Files ... Done
Including Shared Library Dependencies ... Done

############################################################
Binary Checked: /bin/more
Log File: /var/log/nts_chkbin_more_26014.txt
STATUS: Warning
############################################################


Reporting Bugs



Updates for v1.01-14



  • Shows warning messages on main screen

  • Gets and checks all dlopen libraries



Updates for v1.01-09



  • Simplified the on screen output

  • Ran spell check

  • Fixed a file not found error


Attachments

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2008-05-09 15:22
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.