I recently installed a fresh HL1 dedicated server for a Natural-Selection public server.
Everything works smoothly except for one annoying problem: The server does not restart itself if it happens to crash
Code:
Auto-restarting the server on crash
Console initialized.
scandir failed:/home/ublood/hl1/./platform/SAVE
Protocol version 48
Exe version 1.1.2.1/Stdio (valve)
Exe build: 18:05:13 Oct 24 2008 (4383)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 78.143.28.20:27015
Metamod version 1.19p32 Copyright (c) 2001-2006 Will Day
Patch: Metamod-P (mm-p) v32 Copyright (c) 2004-2007 Jussi Kivilinna
Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `meta gpl' for details.
AMX Mod X version 1.8.1.3711 Copyright (c) 2004-2006 AMX Mod X Development Team
AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
This is free software and you are welcome to redistribute it under
certain conditions; type 'amxx gpl' for details.
scandir failed:/home/ublood/hl1/./platform/SAVE
L 05/08/2009 - 04:45:55: -------- Mapchange to co_faceoff --------
L 05/08/2009 - 04:45:55: [GEOIP] Database info: GEO-106FREE 20060901 Build 1 Copyright (c) 2006 MaxMind LLC All Rights Reserved
[COMM ICON] Error: Can not find icon "gfx/vgui/640_comfg.tga" for precache.
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.
Adding master server 68.142.72.250:27010
Adding master server 72.165.61.189:27010
Executing AMX Mod X Configuration File
[AMXX] Loaded 32 admins from database
Connection to Steam servers successful.
VAC secure mode is activated.
(Notice the first line)
For testing purposes, i kill the hlds_i686 thread from another terminal; This is the output on the server console:
Code:
./hlds_run: line 321: 12630 Killed $HL_CMD
It just freezes there.. No restart after hours :/
My hlds_run parameters (the -binary parameter does not affect it, tested it.):
Code:
./hlds_run -binary ./hlds_i686 -game ns -ip 78.143.28.20 +ip 78.143.28.20 -maxplayers 32 -pingboost 1 +map co_faceoff -timeout 6
According to the steam update utility i have the latest "'Linux Server Engine' version 47".
I am running Debian 5.0.1 (Lenny)
Any help will be greatly appreciated