Raised This Month: $ Target: $400
 0% 

Auto restart crashed server ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 10-21-2010 , 02:37   Re: Auto restart crashed server ?
Reply With Quote #2

u may check if the server response after a timelimit, if not then restart him
check again, if he is up then do nothing.

this can be done with a bash script

another method is to fix under ubuntu/debian the hlds_run bug
open hlds_run search for: DEBUG=0 change to: DEBUG=""
save the file and restart the server.

but this will not restart the server after segmentation faults.

other method is that u check the logs if there is some sort
of $HL_CMD segmentation fault, then restart him

there are many things u may do, but u need at least knownledge
about those stuff and linux also.

oh and just to mention, figure out why the server is crashing. ;)
and after this try to resolve the problem accordingly
platzpatrone is offline
 



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 00:28.


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