I can't get my linux server up and running whit ns

dr0nedr0ne 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?

Comments

  • Sgt_Bilko1Sgt_Bilko1 Join Date: 2002-02-02 Member: 150Members
    Flay just posted a few threads above in "Server op FAQ" about this problem, go have a look I think it's the fix you need.
  • PhillyHBPhillyHB Join Date: 2002-11-02 Member: 4248Members
    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

    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
  • PhillyHBPhillyHB Join Date: 2002-11-02 Member: 4248Members
    I ment to say !

    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 :].
  • EntityPacketEntityPacket Join Date: 2002-11-01 Member: 3235Members
    Here is what I get when I run:

    ./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.
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    <!--QuoteBegin--EntityPacket+Nov. 02 2002,14:50--></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td><b>Quote</b> (EntityPacket @ Nov. 02 2002,14:50)</td></tr><tr><td id="QUOTE"><!--QuoteEBegin-->Here is what I get when I run:

    ./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.
  • EntityPacketEntityPacket Join Date: 2002-11-01 Member: 3235Members
    I am sure its in the right spot. I actually gunzip/tar it from my pc then uploaded the entire ns folder in ancii, uploading in binary results in carriage returns. Also for some reason when I uploaded the .tar.gz file in ancii it would not extract. Any more ideas? This server has ran both CS and TFC servers fine.
  • wilsow3wilsow3 Join Date: 2002-11-03 Member: 5841Members
    As far as your library problem, I had the same problem. What it is is the ns_i386.so file uses some outdated librarys. You just have to search around a little to find them. Once you find it just put it in /usr/lib and it should run fine. I found that this fix also fixed some metamod issues i had.
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    edited November 2002
    <!--QuoteBegin--EntityPacket+Nov 3 2002, 02:58 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (EntityPacket @ Nov 3 2002, 02:58 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I am sure its in the right spot. I actually gunzip/tar it from my pc then uploaded the entire ns folder in ancii, uploading in binary results in carriage returns. Also for some reason when I uploaded the .tar.gz file in ancii it would not extract. Any more ideas? This server has ran both CS and TFC servers fine.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    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.
Sign In or Register to comment.