Forum

> > CS2D > General > Dedicated Server on linux
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Dedicated Server on linux

11 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Dedicated Server on linux

maniac
User Off Offline

Zitieren
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.

alt Re: Dedicated Server on linux

mgottschlag
User Off Offline

Zitieren
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.

alt Re: Dedicated Server on linux

Roni
User Off Offline

Zitieren
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.

alt Re: Dedicated Server on linux

Lee
Moderator Off Offline

Zitieren
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

alt Re: Dedicated Server on linux

maniac
User Off Offline

Zitieren
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.

alt Re: Dedicated Server on linux

PyroCracker
User Off Offline

Zitieren
leegao hat geschrieben
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 &

alt Re: Dedicated Server on linux

maniac
User Off Offline

Zitieren
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

alt Re: Dedicated Server on linux

jeepohahyo
User Off Offline

Zitieren
PyroCracker hat geschrieben
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...
2× editiert, zuletzt 23.07.09 01:27:11

alt Re: Dedicated Server on linux

Roni
User Off Offline

Zitieren
maniac hat geschrieben
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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht