"No such file or directory"?

Posted by user1509541 on Super User See other posts from Super User or by user1509541
Published on 2012-07-08T04:04:04Z Indexed on 2012/07/08 9:18 UTC
Read the original article Hit count: 158

Filed under:
|
|

Ok, so I have a VDS laying around, and I thought I would turn it into a TF2 game server. When I connect to my server through PuTTY, and use wget to download the package "hldsupdatetool.bin" from Steampowered.com. I go to run it and it says "No such file or directory found". When I use "ls" to see what files are in directory, it lists "hldsupdatetool.bin" as being in the directory. So, why is it saying it's not there? This has been a headache for the past 2 days.

It's returning:

root@10004:~# wget http://www.steampowered.com/download/hldsupdatetool.bin
--2012-07-08 06:04:49--  http://www.steampowered.com/download/hldsupdatetool.bin
Resolving www.steampowered.com... 208.64.202.68
Connecting to www.steampowered.com|208.64.202.68|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3513408 (3.4M) [application/octet-stream]
Saving to: “hldsupdatetool.bin.3”

100%[======================================>] 3,513,408   2.45M/s   in 1.4s

2012-07-08 06:04:51 (2.45 MB/s) - “hldsupdatetool.bin.3” saved [3513408/3513408]

root@10004:~# chmod +x hldsupdatetool.bin.3
root@10004:~# ./hldsupdatetool.bin.3
-bash: ./hldsupdatetool.bin.3: No such file or directory
root@10004:~#

More:

root@10004:~# ls
ffmpeg-packages     hldsupdatetool.bin.1  hldsupdatetool.bin.3
hldsupdatetool.bin  hldsupdatetool.bin.2  setup.sh
root@10004:~# ls -la
total 13828
drwx------  4 root root    4096 Jul  8 06:04 .
drwxr-xr-x 21 root root    4096 Jul  8 05:57 ..
-rw-------  1 root root    8799 Jul  8 06:26 .bash_history
-rw-r--r--  1 root root     570 Jan 31  2010 .bashrc
-rw-r--r--  1 root root       4 Jul  2 19:39 .custombuild
drwxr-xr-x  2 root root    4096 Jul  4 18:49 ffmpeg-packages
---x--xrwx  1 root root 3513408 Sep  2  2005 hldsupdatetool.bin
-rwxr-xr-x  1 root root 3513408 Sep  2  2005 hldsupdatetool.bin.1
-rw-r--r--  1 root root 3513408 Sep  2  2005 hldsupdatetool.bin.2
-rwxr-xr-x  1 root root 3513408 Sep  2  2005 hldsupdatetool.bin.3
-rw-r--r--  1 root root     140 Nov 19  2007 .profile
-rw-------  1 root root    1024 Jul  2 19:49 .rnd
-rwxr-xr-x  1 root root   38866 May 23 22:02 setup.sh
drwxr-xr-x  2 root root    4096 Jul  2 19:44 .ssh
root@10004:~#

© Super User or respective owner

Related posts about linux

Related posts about ssh