Author Topic: server is down ..help please  (Read 389 times)

Legacy_Knight_Shield

  • Hero Member
  • *****
  • Posts: 812
  • Karma: +0/-0
server is down ..help please
« on: February 09, 2011, 11:29:57 am »


               I tried installing nwnx2 and did not work so removed files added and tried to restart server.
All files are the same before I started but now server will not start.

049h[m[?7h;4;6lh0m[1;24r[2J[2JLaunching
/bin/sh: line 30:  8732 Segmentation fault$APP -module "MyServer"
Countdown to restart
3
2


64 bit linux OS

Any suggestions on where to start trouble shooting ?
               
               

               
            

Baaleos

  • Administrator
  • Hero Member
  • *****
  • Posts: 1916
  • Karma: +0/-0
server is down ..help please
« Reply #1 on: February 09, 2011, 01:28:43 pm »


               1. I dont think this is a scripting issue.

2. Im not that good with Linux, but do you know what files you deleted? Can you restore them from the Linux Standalone Server Download?

3. Are you sure the Module 'MyServer'  exists in the Modules directory?
               
               

               
            

Legacy_Knight_Shield

  • Hero Member
  • *****
  • Posts: 812
  • Karma: +0/-0
server is down ..help please
« Reply #2 on: February 10, 2011, 02:18:37 am »


               I think the lib and miles got messed up ..if anyone can point me in the right place for new ones I would appreciate it .



nwn script



#!/bin/sh



# This script runs Neverwinter Nights from the current directory



export SDL_MOUSE_RELATIVE=0

export SDL_VIDEO_X11_DGAMOUSE=0



# If you do not wish to use the SDL library included in the package, remove

# ./lib from LD_LIBRARY_PATH

export LD_LIBRARY_PATH=./miles:$LD_LIBRARY_PATH



./nwserver $@





I just put "Myserver" instead of actual name.
               
               

               
            

Legacy_ent.devil

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
server is down ..help please
« Reply #3 on: February 10, 2011, 08:05:09 pm »


               The sound drivers are not used for the server binary. Try commenting out the export command and SDL_ lines above and if you still have issues can you copy and paste what the $LD_LIBRARY_PATH var is set to? Lastly can you do a ldd command on the nwserver binary to show what shared libraries it can find?



Just in case you need the details (I'm sure you don't but save a post if you do):



echo $LD_LIBRARY_PATH

ldd ./nwserver
               
               

               
            

Legacy_Knight_Shield

  • Hero Member
  • *****
  • Posts: 812
  • Karma: +0/-0
server is down ..help please
« Reply #4 on: February 11, 2011, 01:32:34 pm »


               It seem some how I deleted .bashrc .bash_profile .bash_logut    do these scripts come with linux game files or is this something the host server would have to stick in?
               
               

               
            

Legacy_Knight_Shield

  • Hero Member
  • *****
  • Posts: 812
  • Karma: +0/-0
server is down ..help please
« Reply #5 on: February 11, 2011, 01:34:42 pm »


               Seems  like Im missing .bashrc .bash_profile .bash_logut  

Do these come with the game linux files or is this something the host server puts in?
               
               

               
            

Legacy_ent.devil

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
server is down ..help please
« Reply #6 on: February 12, 2011, 06:51:37 pm »


               Sorry for the delay I've only just seen the reply, no these are standard login/sub shell/logout scripts for setting standard things like environment variables, prompts and aliases.



They are not needed for the game server unless you use something in your game startup script that would normally be defined in there (such as the PATH or something) and they don't come with the game.



Did you try commenting out the LD_LIBRARY_PATH variable as mentioned above?



At a guess I would say either the miles or sdl shared libraries don't quite like your 64bit environment, unfortunately I can't tell as all of the Linux server installs I have are 32bit.



On the nwnx forum I believe a few people use a 32bit VM to get it working rather than native 64bit.
               
               

               
            

Legacy_Knight_Shield

  • Hero Member
  • *****
  • Posts: 812
  • Karma: +0/-0
server is down ..help please
« Reply #7 on: February 16, 2011, 01:22:32 pm »


               Thanks for the replies.The serverroom doesnt support game servers anymore so they werent much help.
I have since moved it to Hypernia which is running windows.Had my server on in 3 hours and module running 8 hours later after submitting a ticket to update game and loaded haks.Last place took a week to get server up.I know this isnt really a scripting thing but thought I would share especially with other noobs..Thanks again for the replies.