[SOLVED] So where is the linux server?
Omega_K2
Join Date: 2011-12-25 Member: 139013Members, Reinforced - Shadow
This discussion has been closed.
Comments
No clue how to install though.
Steam>app_update 4940 validate
ERROR! Failed to install app '4940' (Invalid platform)
Steam>app_update 4920 validate
ERROR! Failed to install app '4920' (No subscription)
Even though 4940 should work according to http://steamdb.info/search/?a=app&q= Natural+Selection+2+Dedicated+Server&type=-1
That being said, the Linux server seems to be working, I have 16 people playing right now. I installed the client app (4920), the dedicated server (4940) doesn't have the Linux binaries yet.
What? I need to use a Steam account which bought NS2 client to install Linux NS2 Server?
That isn't needed with Windows version.
There seems to be now way interact with the server. The '-console' options doesn't seem to do anything on Linux and the webserver just gives me an empty page...
How do you mean a Linux client installation, as in, creating a listen server from within the Linux client?
Currently, the only way to get your hands on the dedicated server binary for Linux (server_linux32) is to install the client (4920), the dedicated server (4940) ist still Windows-only. So either you install the game on your Linux box (if you are a Linux user) and copy the files over to your server, or you use steamcmd on your server, log in with your Steam credentials and install it directly from there (that's what I did).
apt-get install libspeex1:i386 libspeexdsp1:i386 libgtk2.0-0:i386
Edit: Besides that, webadmin does seem to work for me. It doesn't require X11 to be running, thank god
Issues:
- Though any option in quotes using - will not be read correctly like -webdomain "my-domain.de" won't work
- Under the given config path, it doesn't seem to create any configs.
- Can only be run from the same directory where the executeable is
./server_linux32: /lib/i386-linux-gnu/i686/cmov/libm.so.6: version `GLIBC_2.15' not found (required by /root/Steam/NS2/ns2/libSpark_Physics.so)
But besides that: Awesome, that Linux Builds now are available. I will keep running a NS2 Dedicated for sure
I can download AppID 4940 without issues on my Debian 6 Dedicated using my Steam Account Credentials. Seems like, that Max fixed it.
EDIT:
And there go my dreams. Libspeex somehow is not being found, where it is installed, according to apt-get. Also, GLIBC 2.15 is required and this GLIBC version is not available for Debian 6.0.7
About interacting with the server: am I just doing it wrong or is there currently no way to interact with the server short of connecting with a client? Neither does '-console' provide me with an interactive command line nor does the built-in webserver work. The latter one just gives me an empty page, it doesn't even ask for username/password.
This is the 2nd (or 3rd?) time, that my current Debian 6 install can't run something, since GLIBC is outdated and that it seems to be more wise to switch to Ubuntu instead.
Issues:
- Though any option in quotes using - will not be read correctly like -webdomain "my-domain.de" won't work
- Under the given config path, it doesn't seem to create any configs.
- Can only be run from the same directory where the executeable is
- This appeared after playing two matches with a full server (~16-20 people tram, veil, then swap to bio):
-- Getting "Error: Exceeded maximum number of snapshots" after running the server for a while and playing a bit on it (after 2 maps)
-- Memory leaks. Memory usage vent from ~1GB to 1.4GB after 2 maps, not going down.
-- That wierd lag we've seen in the builds. Server starts lagging bad, but still uses same cpu, or even just 30% cpu
- Server has almost no threading at all. Once CPU caps at ~102%, tickrate drops. At most best results I've seen is ~114% CPU for threading
- Backspace doesn't work in server console, puts ^? in there ( using bash shell / screen)
- APPID 4940 works now, but only if you login with any account that actually owns NS2. NS2 servers should be freely available, as it doesn't contain the whole game
- Commands in server console will not work at all
- Sending commands as described here http://wiki.unknownworlds.com/index.php/Dedicated_Server#Web_API will not work, resulting in this error:
http://pastebin.com/2HK7b9y3
- Executing commands on the client will also show the output in the server console (I don't think it should. I.e. it should show that someone is executing a command, but it should not show the output for the client - like status prints twice, once in server console and once in client console).
It seems do some very minor threading. I think the egg placement code is threaded, not sure about anything else.
Also I heard there is an issue that you need to actually own NS2 in order to install the linux server (for the steamcmd account). Not sure if that has been fixed yet or not.
Same, time to bring my server back
Fix for the following error:
Download libc6_2.15-0ubuntu10.4_i386.deb and extract it with somehing like 7-zip.
Now navigate to libc6_2.15-0ubuntu10.4_i386\data\lib\i386-linux-gnu and locate the file libm-2.15.so.
Upload it to your NS2 Server installation folder (where server_linux32 is and all the other dll's and so's are) and rename it to libm.so.6.
I've attched the renamed file for the lazy ones.
Was anyone able to use the -config_path and -file params?
My server ignored it and I couldn't find anything in the logs.
Same here regarding -config_path.
Any way to disable "rookie friendly" by commandline?
Example:
However the -file option is obviously not implemented in the linux server but there's a -hotload options, wonder what it is for.
added solved to thread title
Server still has a bunch of bugs and issues. Also major ones like the memory leak. I've had the server running the entire night and now it's at 2GB memory.
Might do a wiki page specifically related to server issues, what do you think?
...so i did this
...but get that :-O
I'm running a Debian Whezzy 64bit server
Copying libspeex.so.1 by hand is also not a good idea.
http://wiki.unknownworlds.com/ns2/Dedicated_Server#Linux_Setup
Wheezy?
32 or 64bit?
Desktop or headless?