No such file or directory, but Files are there?

Asked by Krillins World on 2009-12-08

Distribution: Ubuntu 9.10 (64Bit), Ubuntu 10.04(64 Bit)

Upgraded Ubuntu 32bit to 64bit. It ran fine for a while, except 10.04. Updates stopped updating upon changing the Settings of the update manager from Daily to Weekly. Would see a list, but updates would NOT install.

Decided to do a fresh install of the operating system and apply the waiting updates.

A few hours have past, the system installed perfectly along with all the updates.

I have 4 partitions on my single 160GB SATA HDD. Boot-Swap-/(root)-/apps.

Downloading a file into the HOME folder. Place this downloaded file into a directory in the home folder (hlds_l), move the hldsupdatetool.bin into this folder. The file is marked as executable as needed. Open a terminal window and try to execute and the terminal reports:
bash: ./hldsupdatetool.bin: No such file or directory

Even existing files in the /apps partition report the same problem. This /apps folder is where dedicated game servers are run from. Permissions were checked up and down. No luck. Files are listed as being there, but with it comes time to run them, it is a different story.

What gives here? I do not know why this system worked before with no problems. A few issues, yes. But 'No Such file or directory' is not possible to work with such a problem.

What is the solution to this problem? What did I miss here? Nothing was displayed about any changes which would effect this.

Thanks in advance!!

I made a change to the FSTAB file, I made one change that I noticed from the 32BIT build. The <options> listed the drives as 'defaults' but the print out from the 32bit listed the <options> as relatime. I changed them but this did NOT correct anything.

No Change Even in 10.04 LTS Distro. Dropping due to lack of acknowledgement of this problem!

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2019-02-07
Last reply:
2019-02-23
Ryan Dwyer (ryandwyer) said : #1

Did you cd into the hdls_l folder before trying to execute the file?

Are the files listed if you use the ls command? Do they appear in Nautilus or other file browsers?

Please copy and paste your terminal session.

Krillins World (krillinsworld) said : #2

First off all. Please do NOT treat me like I got a computer for my birthday a week ago. I am an IT Professional since 91'. The fact you even have to ask this question really insults my professionalism. Not to mention the fact you are asking me question that can be answered in ORIGINAL posting. But I will reproduce the SAME problem once again.

gameuser@babby:~$ cd hlds_l
gameuser@babby:~/hlds_l$ ls
hldsupdatetool.bin
gameuser@babby:~/hlds_l$ ls
hldsupdatetool.bin
gameuser@babby:~/hlds_l$ ./hldsupdaterool.bin
bash: ./hldsupdaterool.bin: No such file or directory
gameuser@babby:~/hlds_l$ ls -l
total 3436
-rwxr-xr-x 1 gameuser gameuser 3513408 2009-12-09 05:54 hldsupdatetool.bin
gameuser@babby:~/hlds_l$

Any other questions? And you see 'ls' twice, the first listing the file was not made executable and the 2nd list it was 'green' indicating it was made executable.

Any and ALL files which this system says it CANNOT file are THERE in both a terminal window, as well as listed in Nautilus.

Here is the /apps folder. This next listed is where our HL1 server is listed...

Here is the Steam Folder list in the /apps directory:
-rwsrwsr-t 1 gameuser gameuser 136 2009-05-09 22:55 csbf2dm.sh
-rwsrwsr-t 1 gameuser gameuser 143 2009-05-09 22:58 csdm.sh
-rwsrwsr-t 1 gameuser gameuser 128 2009-05-19 22:05 csreg.sh
-rwsrwsr-t 1 gameuser gameuser 178 2009-11-14 21:16 css.sh
-rwsrwsr-t 1 gameuser gameuser 148 2009-02-02 15:44 cswow.sh
-rwsrwsr-t 1 gameuser gameuser 151 2009-11-13 16:06 czggm.sh
-rwsrwsr-t 1 gameuser gameuser 136 2009-11-27 22:47 czpm.sh
-rwsrwsr-t 1 gameuser gameuser 123 2009-09-26 17:23 czreg.sh
-rwsrwsr-t 1 gameuser gameuser 142 2009-07-16 00:09 czsw.sh
drwsrwsr-t 5 gameuser gameuser 4096 2009-12-01 10:11 hldsbf2_l
drwsrwsr-t 6 gameuser gameuser 4096 2009-12-01 10:23 hldsggm_l
drwsrwsr-t 5 gameuser gameuser 4096 2009-12-01 10:12 hlds_l
drwsrwsr-t 7 gameuser gameuser 4096 2009-12-08 05:50 hldsnsh_l
drwsrwsr-t 6 gameuser gameuser 4096 2009-12-01 10:18 hldspm_l
drwsrwsr-t 7 gameuser gameuser 4096 2009-12-01 10:24 hldsreg_l
drwsrwsr-t 6 gameuser gameuser 4096 2009-12-01 10:20 hldssh_l
drwsrwsr-t 6 gameuser gameuser 4096 2009-12-01 10:21 hldsts_l
drwsrwsr-t 5 gameuser gameuser 4096 2009-12-01 10:22 hldswow_l
-rwsrwsr-t 1 gameuser gameuser 135 2009-04-01 00:02 nshcs.sh
-rwsrwsr-t 1 gameuser gameuser 145 2009-11-27 04:51 nshcz.sh
drwsrwsr-t 3 gameuser gameuser 4096 2009-12-01 10:12 resgenv2rc2
-rwsrwsr-t 1 gameuser gameuser 119 2009-12-01 02:24 shcs.sh
-rwsrwsr-t 1 gameuser gameuser 168 2008-06-24 04:55 shcstst.sh
-rwsrwsr-t 1 gameuser gameuser 133 2009-04-01 00:02 shcz.sh
-rwsrwsr-t 1 gameuser gameuser 135 2009-07-27 13:37 shmodcstst.sh
-rwsrwsr-t 1 gameuser gameuser 128 2009-04-01 00:03 shmodcztst.sh
drwsrwsr-t 3 gameuser gameuser 4096 2009-12-01 10:20 srcds backup
drwsrwsr-t 5 gameuser gameuser 4096 2009-12-06 15:21 srcds_l

Next listed is the folder in which we try to launch the game in the hldssh_l directory.

gameuser@babby:/apps/steam$ cd hldssh_l
gameuser@babby:/apps/steam/hldssh_l$ ls -l
total 46048
-rwsrwsr-t 1 gameuser gameuser 510908 2009-07-05 13:45 core_i386.so
drwsrwsr-t 17 gameuser gameuser 4096 2009-12-08 01:56 cstrike
drwsrwsr-t 13 gameuser gameuser 4096 2009-12-01 10:20 czero
-rwxrwxr-t 1 gameuser gameuser 45 2009-12-08 07:59 debug.cmds
-rwxrwxr-t 1 gameuser gameuser 1067 2009-12-08 07:59 debug.log
-rwsrwsr-t 1 gameuser gameuser 976814 2009-08-30 11:05 engine_amd.so
-rwsrwsr-t 1 gameuser gameuser 984950 2009-08-30 11:05 engine_i486.so
-rwsrwsr-t 1 gameuser gameuser 964376 2009-08-30 11:05 engine_i686.so
-rwsrwsr-t 1 gameuser gameuser 242182 2009-07-05 13:45 filesystem_stdio_i386.so
-rwsrwsr-t 1 gameuser gameuser 173402 2009-07-05 13:45 hlds_amd
-rwsrwsr-t 1 gameuser gameuser 177498 2009-07-05 13:45 hlds_i486
-rwsrwsr-t 1 gameuser gameuser 177498 2009-07-05 13:45 hlds_i686
-rwsrwsr-t 1 gameuser gameuser 9373 2009-11-04 15:15 hlds_run
-rwsrwsr-t 1 gameuser gameuser 172268 2009-07-05 13:45 hltv
-rwsrwsr-t 1 gameuser gameuser 863 2009-12-03 16:46 InstallRecord.blob
-rwsrwsr-t 1 gameuser gameuser 344892 2009-08-30 11:05 libsteam_api_c_linux.so
-rwsrwsr-t 1 gameuser gameuser 344892 2009-08-30 11:05 libsteam_api_c.so
-rwsrwsr-t 1 gameuser gameuser 5164807 2009-07-05 13:45 libsteamvalidateuseridtickets_i486.so
-rwsrwsr-t 1 gameuser gameuser 5164807 2009-08-30 11:05 libsteamvalidateuseridtickets.so
-rwsrwsr-t 1 gameuser gameuser 828457 2009-08-30 11:05 libtier0_s.so
-rwsrwsr-t 1 gameuser gameuser 469776 2009-08-30 11:05 libvstdlib_s.so
-rwsrwsr-t 1 gameuser gameuser 23337 2009-07-05 13:45 linuxreadme.txt
-rwsrwsr-t 1 gameuser gameuser 489604 2009-08-30 11:05 proxy_i386.so
drwsrwsr-t 2 gameuser gameuser 4096 2009-09-14 16:47 reslists
-rwsrwsr-t 1 gameuser gameuser 6067624 2008-08-29 20:28 steam
-rwsrwsr-t 1 gameuser gameuser 2 2009-07-05 13:45 steam_appid.txt
-rwsrwsr-t 1 gameuser gameuser 14655815 2009-08-30 11:05 steamclient.so
-rwsrwsr-t 1 gameuser gameuser 358301 2008-06-24 04:25 test1.so
-rwsrwsr-t 1 gameuser gameuser 453372 2008-06-24 04:25 test2.so
-rwsrwsr-t 1 gameuser gameuser 8306090 2008-06-24 04:25 test3.so
-rwsrwsr-t 1 gameuser gameuser 128 2008-06-24 04:41 updatecs.sh
-rwsrwsr-t 1 gameuser gameuser 126 2008-06-24 04:41 updatecz.sh
drwsrwsr-t 11 gameuser gameuser 4096 2009-12-01 10:20 valve
gameuser@babby:/apps/steam/hldssh_l$

Back one directory to attempt to launch the file 'shcs.sh' here is what I get there as well:

gameuser@babby:/apps/steam$ ./shcs.sh
Starting KW:CS SuperHero
Auto detecting CPU
Using AMD Optimised binary.
Auto-restarting the server on crash
./hlds_run: 403: ./hlds_amd: not found

Before you ask me what the 'shcs.sh' contains, here is what is in the file:

#!/bin/sh
echo "Starting KW:CS SuperHero"
cd hldssh_l
./hlds_run -game cstrike +port 27016 +map de_dust +maxplayers 12

And before you even ask. These files ALL worked before attempting to reinstall the 64bit version. The 32bit version work perfectly fine, as did this 64bit before the reinstalling.

Anything else you need?

Krillins World (krillinsworld) said : #3

I see there is a typing error. So just to make sure this error is REAL, here is the correction:

gameuser@babby:~$ cd hlds_l
gameuser@babby:~/hlds_l$ ls -l
total 3436
-rwxr-xr-x 1 gameuser gameuser 3513408 2009-12-09 05:54 hldsupdatetool.bin
gameuser@babby:~/hlds_l$ ./hldsupdatetool.bin
bash: ./hldsupdatetool.bin: No such file or directory
gameuser@babby:~/hlds_l$

Same results, even if it is typed correctly. No Change.

Krillins World (krillinsworld) said : #4

I guess we are hoping this problem just goes away?

I can not keep my game servers down because you guy won't assist.

We reverted the Ubuntu 9.10 64bit back to a 32bit.

I am very dissatisfied with this product and who is to say this will not happen in the near future with the 32bit distro. But I am not waiting to find out. I am hunting out another distro before anymore problems arise and cause further disruptions.

This problem will NEVER get solved at this rate.

Vikram Dhillon (dhillon-v10) said : #5

Sir,
    Its okay to be frustrated, but please don't get angry with us.
Everyone in Ubuntu has put their heart and soul into it to make it reach
the heights its on now. We all work VERY hard to improve Ubuntu but
sometimes things happen

I think I see what the problem is: you made a separate partition for
apps folder, and then all the files in that folder are exhibiting the
same behavior. This is actually a bug in 64 bit, I think someone
reported this a while ago, for a different release version though.
Report a new bug, and let the devs have a proper look at it. They can
best help you out here. Also see this [1]

[1] http://www.ubuntu.com/support/community/chatirc

--
Regards,
Vikram Dhillon

On Mon, 2009-12-14 at 13:23 +0000, Krillins World wrote:
> Question #93311 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/93311
>
> Krillins World posted a new comment:
> I guess we are hoping this problem just goes away?
>
> I can not keep my game servers down because you guy won't assist.
>
> We reverted the Ubuntu 9.10 64bit back to a 32bit.
>
> I am very dissatisfied with this product and who is to say this will not
> happen in the near future with the 32bit distro. But I am not waiting to
> find out. I am hunting out another distro before anymore problems arise
> and cause further disruptions.
>
> This problem will NEVER get solved at this rate.
>

Krillins World (krillinsworld) said : #6

As frustrating as the 'Linux' world has been to me over the past 5 years. It just irritates me that with all my experience I am unable to come up with a solution due to lack of tools and it quadruples when you report the issue and you are left holding the bag for DAYS on end.

As soothing as your words maybe. This doesn't solve the problem, nor does it take a proper step in the right direction to getting this issue resolved.

So again, I say: This problem will NEVER get solved at this rate.

Krillins World (krillinsworld) said : #7

This problem is not solved? How can this issue be solved without a real solution to a problem that is being ignored?

Krillin

Launchpad Janitor (janitor) said : #8

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Krillins World (krillinsworld) said : #9

...

Still not fixed in the 10.04 LTS amd64 release.

Launchpad Janitor (janitor) said : #11

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

And this is MY fault because?

Launchpad Janitor (janitor) said : #13

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

I have the same issue with a Debian install stating no such file, when hlds_l does exisit. I've been searching up and down with no luck at all. Been trying to setup a beta 6.1 server with nothing but issues. Have won successfully cracked but I can't seem to launch the dedicated server.

The above comment by Carmelo Santana is in no way associated with Krillin's World who run legitimate software for a hobby ran server not run for profit or for players who do not legitimately own the steam product in which they play on.

Krillin's World Gaming Community runs ethical servers for ethical players.

Launchpad Janitor (janitor) said : #16

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

I went to the source of Ubuntu.

I moved to Debian 10.04 (Lenny).

Less hassle, do not have to reboot with every update.

DO LONG UBUNTU!

N E V E R A G A I N ! ! !

Launchpad Janitor (janitor) said : #19

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Launchpad Janitor (janitor) said : #21

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Launchpad Janitor (janitor) said : #23

This question was expired because it remained in the 'Open' state without activity for the last 15 days.