Find the answer to your Linux question:
Results 1 to 8 of 8
I am new to Linux and I wanted to setup a dedicated game server on my notebook. I've installed Ubuntu 9.04. I than created a directory named /home/phlex/kfserver. I downloaded ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    4

    Help with bin file

    I am new to Linux and I wanted to setup a dedicated game server on my notebook.

    I've installed Ubuntu 9.04. I than created a directory named /home/phlex/kfserver.
    I downloaded the application binary from Steam.

    I changed the file permission with chmod +x hldsupdatetool.bin and now the file attributes are -rwxr-xr-x. The problem is when I try to run the binary file. If I type
    ./hldsupdatetool.bin I get an error message "-bash: ./hldsupdatetool.bin: No such file or directory. It seems the OS can't find the file. I've downloaded the file several times thinking it may have been corrupt but it's not. I can delete the file, I can rename it and so the file is there.

    Sometimes Linux can be aggravating to use. Anyone know what's going on?

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    ./hldsupdatetool.bin I get an error message "-bash: ./hldsupdatetool.bin: No such file or directory.
    Are you sure have bin file in your current directory ? ./ represents execute file from current directory.

    First find out the bin file location using
    find / -name hldsupdatetool.bin
    Then try it using absoulte path name something like
    /path/to/bin/location/hldsupdatetool.bin
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    4
    Quote Originally Posted by Lakshmipathi View Post
    Are you sure have bin file in your current directory ? ./ represents execute file from current directory.
    I typed pwd to make sure I was in the /home/phlex/kfserver directory where this bin file is located. It boggles my mind why I am getting an error message.

    First find out the bin file location using Find / -name hldsupdatetool.bin
    As stated the file is located in the /home/phlex/kfserver directory. And using the Find command it also verifies the file is located in /home/phlex/kfserver directory.

    Then try it using absoulte path name something like /path/to/bin/location/hldsupdatetool.bin
    I've tried using the absolute path /home/phlex/kfserver/hldsupdatetool.bin as well as using ./hldsupdatetool.bin when I was in the /home/phlex/kfserver directory. Linux still can't find the file. I am confused, I even tried running the binary as root but same problem.

    I might install another distro and try again later if I can't resolve this issue.

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Is it executable ? or corrupt file ? check the file type
    file /home/phlex/kfserver/hldsupdatetool.bin
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  5. #5
    Just Joined!
    Join Date
    Jun 2009
    Posts
    4
    Quote Originally Posted by Lakshmipathi View Post
    Is it executable ? or corrupt file ? check the file type
    Using the File /home/phlex/kfserver/hldsupdatetool.bin results in:

    /home/phlex/kfserver/hldsupdatetool.bin ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped

    Looks like an executable.

  6. #6
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Seems like common issue..
    [ubuntu] File not recognised? .bin? [Archive] - Ubuntu Forums
    forums.srcds.com/viewtopic/10636

    google with "hldsupdatetool linux + file not found" you get plenty links
    I don' t think it's an Issue with Linux
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  7. #7
    Just Joined!
    Join Date
    Jun 2009
    Posts
    4
    Thanks Lakshmipathi,

    The problem was solved by installing the 32 bit libraries using the "apt-get install lib32gcc1" as root.

    You learn something new everyday.

  8. #8
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Exclamation

    Quote Originally Posted by Phlex View Post
    The problem was solved by installing the 32 bit libraries using the "apt-get install lib32gcc1" as root.

    You learn something new everyday.
    Glad you found out the solution
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

Posting Permissions

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