Forum

> > CS2D > General > Dedicated Server on linux
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Dedicated Server on linux

11 replies
To the start Previous 1 Next To the start

old Dedicated Server on linux

maniac
User Off Offline

Quote
Hello there.
I've searched the forum but all the guides i've found was helpless for me.

I'm trying to run CS2D 0.1.1.5 on my Debian. I did all the steps in readmes, faqs and guides but it still doesn't work.

I did chmod on cs2d_dedicated and i try to run it as a "cs2d" user (tried as a root too).

There are file permissions:
1
-rwxrwxrwx  1 cs2d cs2d 1376900 2009-07-22 17:43 cs2d_dedicated

And now, when i try to run the server i get:
1
2
3
4
5
cs2d@localhost:~/bin$ ./cs2d_dedicated
-sh: ./cs2d_dedicated: No such file or directory

cs2d@localhost:~/bin$ cs2d_dedicated
-sh: /home/cs2d/bin/cs2d_dedicated: No such file or directory

I've got installed libstdc++, i have just no idea what's wrong with it.

Thanks for any help and sorry for my english.

old Re: Dedicated Server on linux

mgottschlag
User Off Offline

Quote
Well, we had the same problem in #linuxrulz @ qnet some days ago:

Your debian installation cannot execute 32bit files, and even if you install ia32 support (afaik needs another kernel), you still won't be able to run cs2d as debian does not (in no version) package glibc 2.5.

You are better off with either SUSE or Ubuntu really.

old Re: Dedicated Server on linux

Roni
User Off Offline

Quote
actually this looks like your i the wrong folder or the dedicated fiel is named otherwise.
Please check first if your in the right folder and using the right name.
and you can use debian too.

old Re: Dedicated Server on linux

Lee
Moderator Off Offline

Quote
the last time I checked CS2D does not have a bin folder. Can you type in ls and read off the list to me, and the type in cd .. and then ./cs2d_dedicated

old Re: Dedicated Server on linux

maniac
User Off Offline

Quote
Yes, yes i were in right folder. I just named this directory "bin" and there were all the files. I did ls and copied the name of file into command line. Same on Ubuntu, I have no idea.

old Re: Dedicated Server on linux

PyroCracker
User Off Offline

Quote
leegao has written
the last time I checked CS2D does not have a bin folder. Can you type in ls and read off the list to me, and the type in cd .. and then ./cs2d_dedicated


and when you close the session,the dedicated shot down,too.
do it with nohup!

nohup ./cs2d_dedicated &

old Re: Dedicated Server on linux

maniac
User Off Offline

Quote
I didn't have a chance to close session with dedicated running...

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cs2d@localhost:~/bin$ ls -lh
total 3,9M
drwxr-xr-x  2 cs2d cs2d 4,0K bots
-rw-r--r--  1 cs2d cs2d  42K Changelog.txt
-rw-r--r--  1 cs2d cs2d 2,2M CounterStrike2D.exe
-rwxrwxrwx  1 cs2d cs2d 1,4M cs2d_dedicated
-rw-r--r--  1 cs2d cs2d   89 CS2D -opengl.bat
-rw-r--r--  1 cs2d cs2d   92 CS2D -windowed.bat
-rw-r--r--  1 cs2d cs2d  105 CS2D -windowed -opengl.bat
-rw-r--r--  1 cs2d cs2d 2,3K Dedicated Readme.txt
drwxr-xr-x  8 cs2d cs2d 4,0K gfx
drwxr-xr-x  2 cs2d cs2d 4,0K help
-rw-r--r--  1 cs2d cs2d 276K Launcher.exe
drwxr-xr-x  2 cs2d cs2d 4,0K logos
drwxr-xr-x  2 cs2d cs2d 4,0K maps
-rw-r--r--  1 cs2d cs2d 1,2K Readme.txt
drwxr-xr-x  2 cs2d cs2d 4,0K screens
drwxr-xr-x 11 cs2d cs2d 4,0K sfx
drwxr-xr-x  6 cs2d cs2d 4,0K sys
cs2d@localhost:~/bin$ ./cs2d_dedicated
-sh: ./cs2d_dedicated: No such file or directory
cs2d@localhost:~/bin$ cs2d_dedicated
-sh: cs2d_dedicated: No such file or directory

old Re: Dedicated Server on linux

jeepohahyo
User Off Offline

Quote
PyroCracker has written
use nohup!
than you can close session and dedicated is still running...

You don't understand the problem...
It shows "No such file or directory" although it is obviously there (as shown by ls).

mgottschlag is right. This happens on 64 Bit systems when you try to execute a 32 Bit file like CS2D without the appropriate ia32 modules...

But even with them, you won't find the right glib version in Debian because Debian skipped one (went straight from 2.3 to 2.5 iirc). It would be nice if someone could locate it or provide other fixes/workarounds.
(Maybe compiling the old glib-version from source?)

We had this problem on IRC a week ago, we were able to fix that "No such file" issues with the ia32 modules, but could not fix the glib problem. That guy's hoster provided a way to choose another distro, so he went to SuSE. Really not the way to go, but sorry. If that BlitzMax stuff for Linux just didn't use so horribly outdated libraries...

In short: If you really have a 64 bit system, then try

1
sudo apt-get install ia32-libs
and see if the error message changes...
edited 2×, last 23.07.09 01:27:11 am

old Re: Dedicated Server on linux

Roni
User Off Offline

Quote
maniac has written
That did the trick! Thank you very much, Dicker. Maybe good idea is putting this into FAQs.

Best regards.

actually this errors only appeard because you used an an supportet arcitecture.
if you used a 32 bit distro i hadnt this errors.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview