Find the answer to your Linux question:
Results 1 to 2 of 2
Hello All, I had tried to execute a bin file its giving me an error -bash: ./mysqlmonitor-2.1.1.1141-linux-x86_64-installer.bin: cannot execute binary file My steps for execution of it is as follows ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    4

    problem in executing bin file in redhat

    Hello All,

    I had tried to execute a bin file its giving me an error
    -bash: ./mysqlmonitor-2.1.1.1141-linux-x86_64-installer.bin: cannot execute binary file

    My steps for execution of it is as follows :

    chmod +x filename.bin
    ./filename.bin

    i even tried with
    sh filename.bin

    file filename.bin
    here's the output : mysqlmonitor-2.1.1.1141-linux-x86_64-installer.bin: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped

    i am using Red Hat Enterprise Linux Server release 5.4 (Tikanga)

    can any one please suggest how to execute this in command line...

    waiting for you response..

    Thanks in advance..

    Vishal

  2. #2
    Just Joined!
    Join Date
    Sep 2005
    Location
    Edmonton, Canada
    Posts
    34
    A couple of things to check:
    The x86_64 in the filename mysqlmonitor-2.1.1.1141-linux-x86_64-installer.bin indicates this is a 64 Bit executable. Is your OS a 64 bit version?

    Also, the mysqlmonitor-2.1.1.1141-linux-x86_64-installer.bin is compiled for linux 2.4.0, but your system is a 2.6.0 kernel, so you may need to install 2.4 compatiblity libraries.
    Use the command: ldd mysqlmonitor-2.1.1.1141-linux-x86_64-installer.bin and look for any 'Not Found' libraries. If there ar e missing libraries, you will need to install the packages that contain the missing libraries.

    Better still, you may want to look for a Linux 2.6 version of mysqlmonitor available.

    Hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...