I can't get my linux server up and running whit ns
dr0ne
Join Date: 2002-11-03 Member: 5542Members
hey all
I have a problem... I can't run NS on my linux server <!--emo&:(--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/sad.gif" border="0" valign="absmiddle" alt=':('><!--endemo-->
But I can run any outer mod like CS or TFC whit¨out any problems. Whit AM, CM, HLG and outer plug-ins installed.
I removed the plug-ins and still nothing. This is what it says:
Auto-restarting the server on crash
Host_Init
Added packfile /home/dr0ne/halflife/hlds_l/valve/pak0.pak (985 files)
Protocol version 46
Exe version 3.1.1.0
Exe build: 14:46:34 Jun 11 2002 (2056)
WON Auth Server
Server IP address 127.0.0.1:27015
LoadLibrary failed on /home/dr0ne/halflife/hlds_l/ns/dlls/ns_i386.so: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
Host_Error: Couldn't get DLL API from /home/dr0ne/halflife/hlds_l/ns/dlls/ns_i386.so!
FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from /home/dr0ne/halflife/hlds_l/ns/dlls/ns_i386.so!
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Sat Nov 2 18:27:20 CET 2002: Server Died
Any idés?
I have a problem... I can't run NS on my linux server <!--emo&:(--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/sad.gif" border="0" valign="absmiddle" alt=':('><!--endemo-->
But I can run any outer mod like CS or TFC whit¨out any problems. Whit AM, CM, HLG and outer plug-ins installed.
I removed the plug-ins and still nothing. This is what it says:
Auto-restarting the server on crash
Host_Init
Added packfile /home/dr0ne/halflife/hlds_l/valve/pak0.pak (985 files)
Protocol version 46
Exe version 3.1.1.0
Exe build: 14:46:34 Jun 11 2002 (2056)
WON Auth Server
Server IP address 127.0.0.1:27015
LoadLibrary failed on /home/dr0ne/halflife/hlds_l/ns/dlls/ns_i386.so: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
Host_Error: Couldn't get DLL API from /home/dr0ne/halflife/hlds_l/ns/dlls/ns_i386.so!
FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from /home/dr0ne/halflife/hlds_l/ns/dlls/ns_i386.so!
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Sat Nov 2 18:27:20 CET 2002: Server Died
Any idés?
Comments
1. You can download that lib and put it in /usr/lib
2. Under /usr/lib thier should be something that looks about the same as libstdc++-libc6.1-1.so.2 in my case mine looked like this libstdc++-libc6.2-2.so.3 <--- just a new version so all you need to do now is:
From your /usr/lib dirctory issue this command:
ln -s libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-1.so.2
Ok bud im a newb and i figure this out :] here is what you do.
1. You can download that lib and put it in /usr/lib or you can do option #2 which is what i did and is what i recommend
good luck :].
./hlds_run -game ns +exec server.cfg +ip xxx.xxx.xxx.xxx +maxplayers 20 +map ns_eclipse
Auto-restarting the server on crash
Host_Init
Added packfile /usr/home/wdavis/ns/hlds_l/valve/pak0.pak (985 files)
Segmentation fault (core dumped)
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Sat Nov 2 04:12:54 CST 2002: Server Died
I have ran CS and TFC servers fine with this same setup.
Adding -debug does not even generate a debug.log file.
./hlds_run -game ns +exec server.cfg +ip xxx.xxx.xxx.xxx +maxplayers 20 +map ns_eclipse
Auto-restarting the server on crash
Host_Init
Added packfile /usr/home/wdavis/ns/hlds_l/valve/pak0.pak (985 files)
Segmentation fault (core dumped)
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Sat Nov 2 04:12:54 CST 2002: Server Died
I have ran CS and TFC servers fine with this same setup.
Adding -debug does not even generate a debug.log file.<!--QuoteEnd--></td></tr></table><span id='postcolor'><!--QuoteEEnd-->
erm, just a question but did you install the NS server files in the correct spot? When I did my install I copied the NS .tar file to the hlds_l directory and untarred from there. I then had an "ns" directory listed along with tfc, ricochet and dmc in the hlds_l direcotry, I'd double check to make sure it's in the right spot.
Why do you download it to your PC and then upload it to your server instead of directly downloading it to the server? Anyhow, a Tar file is a binary file; try uploading it in Binary instead of ancii and then untaring it again. To extract files from a tar I use: " tar zxvf <filename> "
On another note, this is the exact way I would set up an NS server, no complications on uploading stuff:
1) cd to my /home/username user directory
2) Download hlds_l_3110_full.tar.gz (120mb) (using either ftp or lynx)
3) Download hlds_l_3110b_beta.tar.gz (464K) (either ftp or lynx)
4) Download ns_v1_linux_dedicated_server.tar.gz (85mb) (either ftp or lynx)
5) tar zxvf hlds_l_3110_full.tar.gz
6) tar zxvf hlds_l_3110b_beta.tar.gz
7) mv ns_v1_linux_dedicated_server.tar.gz hlds_l/
8) tar zxvf ns_v1_linux_dedicated_server.tar.gz
9) cd ns
10) Download ns-101.zip (2.5mb) (using either ftp or lynx)
11) unzip ns-101.zip, it may ask you to overwrite files
To start the server, cd back to hlds_l:
12) ./hlds_run -game ns +exec server.cfg +ip xxx.xxx.xxx.xxx +maxplayers 20 +map ns_eclipse
That should set up the proper directory structure you need to run a server by with the very basics. You can then change directories to delete the .tar.gz files that you no longer need and modify the server.cfg file. If you want to install AdminMod I suggest their website for more info.