Tool

jrecord's picture
tool
Reads:

11224

Score:
5
5
1
 
Comments:

0

Binary Check Tool

(View Disclaimer)

download url: 
http://en.opensuse.org/NTSutils
license: 
GPLv2

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

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

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, test, test before you do anything drastic with it.




User Comments

© 2012 Novell