Forum

> > CS2D > Servers > No such file or directory
Forums overviewCS2D overview Servers overviewLog in to reply

English No such file or directory

15 replies
To the start Previous 1 Next To the start

old No such file or directory

KnightS
User Off Offline

Quote
Hi there, i am trying to create a cs2d server but i am getting some errors.
I installed everything and done everything but when i try to open cs2d_dedicated it shows error
Quote
-bash: /home/bin/cs2d1/cs2d_dedicated: No such file or directory
Even though i have checked it on filezilla and everything is fine.
Any Solution?

old Re: No such file or directory

FishyFinThing
User Off Offline

Quote
Have you tried to change files permission using this code:
1
chmod 777 -R ./

Please note that you will have to use
1
cd
command to get to the CS2D's folder directory

once you've done it. Go to the directory and use
1
ls -l
to see the file list.
If every file names is green. That's mean you have full access to them.

old Re: No such file or directory

KnightS
User Off Offline

Quote
Okay i got it everything fine but now how to start srv ? mean how to open cs2d_dedicated. when i try to open it its not working.
1
2
root@kazimkhan1gb:/home/bin/cs2d1# /cs2d_dedicated
-bash: /cs2d_dedicated: No such file or directory
I can find cs2d_dedicated in ls -1.
1
-rwxrwxr-x  1 root root 2829224 Nov 21 11:51 cs2d_dedicated
edited 1×, last 22.11.19 12:33:38 pm

old Re: No such file or directory

Marcell
Super User Off Offline

Quote
His problem that there are no 32 libs installed as it's a 64 bit OS and the server binary was built for 32 bit, what you need is to install the libraries.

• sudo dpkg --add-architecture i386
• sudo apt-get update
• sudo apt-get install build-essential gcc-multilib rpm libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386

You may try to install the

• sudo apt-get install ia32-libs

after the ones above, but I don't think it will work.

You might also want to add executive permissions for the binary with

• sudo chmod +x cs2d_dedicated

Generally speaking the first part of the commands should resolve your issue.

Also, please don't make multiple threads, trust me, it's pointless. You will not get a reply any faster.

Piece of advice: Never run any server with root permission...
instead make a user for example CS2D and give permissions for the files and folders just for the server directory with chown -R user:group folder

then login to that specific user and run the server that way.


Btw, you could save the hassle by simply checking the FAQ
http://www.cs2d.com/faq.php?show=linux_nostart#linux_nostart
edited 5×, last 22.11.19 02:31:33 pm

old Re: No such file or directory

The Superman
User Off Offline

Quote
@user haha1955: @user KnightS: The reason is you're trying to run a 32-bit binary on a 64-bit system that doesn't have 32-bit support installed as Marcel said. Try to follow @user Marcell: tips/hints.

You need to install the 32-bit runtime system.

Run:
1
sudo dpkg --add-architecture i386
then
1
sudo apt-get update
and I'm not sure about this one
1
sudo apt-get install libc6:i386 zlib1g:i386
or
1
sudo apt-get install libc6:i386 libgtk2.0-0:i386 libidn11:i386 libglu1-mesa:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386
last or final
1
sudo chmod +x cs2d_dedicated
and now run CS2D Dedicated.

It should get success, if it wasn't sucuess it means you missed something.
edited 14×, last 22.11.19 08:08:01 pm

old Re: No such file or directory

cs2d_is_a_Gem
User Off Offline

Quote
@user KnightS: Can you clarify what operating system you use and its version?
since commands are not executed in the same way in all versions of linux.
I suggest you use crontab to play your server.
To the start Previous 1 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview