Segmentation Fault With 3.0b1
shaolin
Join Date: 2003-08-04 Member: 18882Members
We just recently installed Steam on Linux and then installed NS 3.0b1 dedicated server. At this point we have not yet added adminmod or anthing similar. Now when we try starting the dedicated server we get the folllowing:
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
Zobo: [cs@localhost hlds_l]$ ./hlds_run -game nsp -insecure -nomaster
Auto detecting CPU
Using Pentium II Optimised binary.
Auto-restarting the server on crash
Console initialized.
scandir failed:/home/cs/hlds_l/./valve/SAVE
scandir failed:/home/cs/hlds_l/./platform/SAVE
./hlds_run: line 412: 12006 Segmentation fault $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Fri Jan 30 14:01:17 EST 2004: Server restart in 10 seconds
Fri Jan 30 14:01:26 EST 2004: Server Quit
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
and here with debug mode activated:
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
Zobo: [cs@localhost hlds_l]$ ./hlds_run -game nsp -insecure -nomaster -debug
Auto detecting CPU
Using Pentium II Optimised binary.
Enabling debug mode
Auto-restarting the server on crash
Console initialized.
scandir failed:/home/cs/hlds_l/./valve/SAVE
scandir failed:/home/cs/hlds_l/./platform/SAVE
./hlds_run: line 412: 12022 Segmentation fault (core dumped) $HL_CMD
cat: hlds.12011.pid: No such file or directory
email debug.log to linux@valvesoftware.com
Fri Jan 30 14:02:06 EST 2004: Server restart in 10 seconds
Fri Jan 30 14:02:08 EST 2004: Server Quit
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
I believe the Linux install was Redhat 9, but I'll have to check.
Can anyone provide any insight?
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
Zobo: [cs@localhost hlds_l]$ ./hlds_run -game nsp -insecure -nomaster
Auto detecting CPU
Using Pentium II Optimised binary.
Auto-restarting the server on crash
Console initialized.
scandir failed:/home/cs/hlds_l/./valve/SAVE
scandir failed:/home/cs/hlds_l/./platform/SAVE
./hlds_run: line 412: 12006 Segmentation fault $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Fri Jan 30 14:01:17 EST 2004: Server restart in 10 seconds
Fri Jan 30 14:01:26 EST 2004: Server Quit
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
and here with debug mode activated:
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
Zobo: [cs@localhost hlds_l]$ ./hlds_run -game nsp -insecure -nomaster -debug
Auto detecting CPU
Using Pentium II Optimised binary.
Enabling debug mode
Auto-restarting the server on crash
Console initialized.
scandir failed:/home/cs/hlds_l/./valve/SAVE
scandir failed:/home/cs/hlds_l/./platform/SAVE
./hlds_run: line 412: 12022 Segmentation fault (core dumped) $HL_CMD
cat: hlds.12011.pid: No such file or directory
email debug.log to linux@valvesoftware.com
Fri Jan 30 14:02:06 EST 2004: Server restart in 10 seconds
Fri Jan 30 14:02:08 EST 2004: Server Quit
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
I believe the Linux install was Redhat 9, but I'll have to check.
Can anyone provide any insight?
Comments
The seg fault is happening because it cannot write the pid file.
I advise checking to see if you still have write permissions to the directory, and if you do, re-install the steam server. I got this error constantly when trying to use the 1.04 binary with steam...
<i>Pebbs</i>
I'm pretty sure i know what it is. I uploaded an "autoexec.cfg" file and it crashed at startup. But when i deleted it, now it works fine. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->
ED: Ok, got it fixed, i just had to update metamod
<a href='http://www.modns.org/forums/index.php?showtopic=237' target='_blank'>http://www.modns.org/forums/index.php?showtopic=237</a>
(Thanks GoleX)
ED: Ok, got it fixed, i just had to update metamod
<a href='http://www.modns.org/forums/index.php?showtopic=237' target='_blank'>http://www.modns.org/forums/index.php?showtopic=237</a>
(Thanks GoleX)<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
Are you using .so A or B?