Auto restart crashed server ?
Hello, my server is crashing and the problem can't be fixed. Is there a program that can start the server after he has crashed ? - I've been using serverdoc.exe program to start it, after he has crashed, but now i'm using Linux and that doesn't work on it is there any other way to start server after crash ?
|
Re: Auto restart crashed server ?
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 |
Re: Auto restart crashed server ?
Quote:
|
Re: Auto restart crashed server ?
Well, the server crashes after "Segmentation Fault" yes, but also for missing models, wads i don't know why the files are there, 8 servers are rashing becouse of missing player.mdl, torntexures.wad ,decals.wad and 3-4 more files i have replaced them many but times but they still crash becouse they can't find them i just can't understand it.. my linux is on desktop enviormant debigan GNU 5.0 lenny
"u may check if the server response after a timelimit, if not then restart him check again, if he is up then do nothing." I don't understand what you ment with this.. ;[ |
Re: Auto restart crashed server ?
Well from one other forum they told me to use this code, but when i try to start my server with it i says:
Code:
bash: goto: command not foundCode:
@echo off |
Re: Auto restart crashed server ?
Segmentation faults could be caused by anything. Crash exploits, crappy writen plugins, missing files...
|
Re: Auto restart crashed server ?
Okey, well i've tried everything, i can't stop the segmentation fault so i need when the server crashes "Stops" to start by him self cuz when i am at work i can't start the server and it stays crashed all day so i need from him to start by him self can it be done please ?
|
Re: Auto restart crashed server ?
Please tell some way for the server to auto restart it self when it crashes with program with command o any other way PLEASE, if no one knows how here i have 2 commands that told me in one other forum but i can't make them work why ?
With first command: This one i started the server but i got this error ?? Code:
:HLDS And it was this that i got why ?: Code:
user@user:~/Desktop/longjump$ :HLDS Code:
@echo off Code:
bash: goto: command not found |
Re: Auto restart crashed server ?
Quote:
|
Re: Auto restart crashed server ?
Quote:
|
| All times are GMT -4. The time now is 00:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.