Cool Solutions

Binary Check Tool



By:

May 9, 2008 7:22 am

Reads: 14036

Comments:0

License:
GPLv2

Download chkbin-0.53-4.noarch

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
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags:
Categories: Uncategorized

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS