Raised This Month: $51 Target: $400
 12% 

Linux hlds_run not automaticly restarting on crash


Post New Thread Reply   
 
Thread Tools Display Modes
pegro
Junior Member
Join Date: Apr 2009
Old 05-11-2009 , 08:11   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #11

centos os:

i get this random some times, and it doenst restart auto.

./hlds_run: line 321: 4260 Segmentation fault $HL_CMD
pegro is offline
alexinno
Senior Member
Join Date: Mar 2007
Location: C:\
Old 05-11-2009 , 16:55   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #12

i think you should get more than that msg when it crashes
I don't know if this is relevant but i had some problems too runing other hl1 mods like adrenaline gamer on centos 5.2 , and on fedora 8 or ubuntu server everything was ok ... no errors
__________________

[IMG]http://img188.**************/img188/5787/banner2rcw.png[/IMG]
alexinno is offline
senecas
Senior Member
Join Date: Jun 2006
Old 05-22-2009 , 02:15   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #13

The Solution is very simple.

line 17 in hlds_run
DEBUG=0 => DEBUG=""

senecas is offline
PauliusBa
Senior Member
Join Date: Aug 2006
Location: Lithuania
Old 08-15-2009 , 06:34   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #14

Quote:
Originally Posted by senecas View Post
The Solution is very simple.

line 17 in hlds_run
DEBUG=0 => DEBUG=""

Could someone explain why is this? It always prints an error that on line 128 it expects a number after applying this fix. At least auto restart works..but why valve isn't fixing it?
PauliusBa is offline
X-5173
Member
Join Date: Dec 2006
Location: Bucharest, Romania
Old 10-17-2009 , 22:41   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #15

Quote:
Originally Posted by vampire2k View Post
-autoupdate didn't work either but i got around to write that script, if anyones interested:
Code:
#! /bin/bash
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"

while [ true ]; do
        ./hlds_i686 -game ns -maxplayers 32 -pingboost 1 +map co_faceoff +ip 78.143.28.20
        echo "Server crashed at '`date`' - Restarting"
        echo "Server crashed at '`date`' - Restarting" >> crash.log
        sleep 5
done
This seems to work, thread can be closed
Thanks for sharing this mate!
__________________
X-5173 is offline
6inki
Junior Member
Join Date: Nov 2009
Old 12-01-2009 , 20:11   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #16

Quote:
Originally Posted by vampire2k View Post
-autoupdate didn't work either but i got around to write that script, if anyones interested:
Code:
#! /bin/bash
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"

while [ true ]; do
        ./hlds_i686 -game ns -maxplayers 32 -pingboost 1 +map co_faceoff +ip 78.143.28.20
        echo "Server crashed at '`date`' - Restarting"
        echo "Server crashed at '`date`' - Restarting" >> crash.log
        sleep 5
done
This seems to work, thread can be closed
I didn't understand where to put this script ????
6inki is offline
8088
Veteran Member
Join Date: Jan 2008
Old 12-01-2009 , 20:28   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #17

Do you actually run Linux then? This should give you a hint:
Code:
./hlds_i686
In the same folder as hlds_amd, hlds_i486, hlds_i686 and hlds_run.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
6inki
Junior Member
Join Date: Nov 2009
Old 12-02-2009 , 18:25   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #18

I can't edit hlds_i686 i can just hlds_run!! Are you sure, i must put in hlds_i686 ???
6inki is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-02-2009 , 18:32   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #19

Quote:
Originally Posted by 6inki View Post
I can't edit hlds_i686 i can just hlds_run!! Are you sure, i must put in hlds_i686 ???
hlds_run is a script. hlds_i686 is an executable. He is saying that the ./ means you are executing a file on LINUX. So, the question was if you are actually on linux. If it's Windows it will have extension on the filenames instead of just a filename like on linux. Windows would be something like hlds_i686.exe or something. I don't use Windows for my servers so I don't know for sure.
__________________
fysiks is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-09-2009 , 16:48   Re: Linux hlds_run not automaticly restarting on crash
Reply With Quote #20

I run a Linux server, but have no clue as to where to put that script.
I opened hlds_i686 in notepad and it was just random characters and such.
I opened hlds_run in notepad and it was a script.
I don't know if I should put it at the bottom of that or what.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode