GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.25k stars 813 forks source link

[l4dserver] - Unknown command "servercfgfile" #230

Closed kdavidb closed 9 years ago

kdavidb commented 9 years ago

L4D server installed and controlled via the script does not run properly. Ubuntu 10.04 leased VM that does run other low-utilization, non-gaming servers (web and videoconferencing).

L4D server installation per the website (including dependencies) completes without report of error other than "ERROR: certificate common name www.github.com' doesn't match requested host nameraw.githubusercontent.com'." which is bypassed with the suggested '--no-check-certificate' flag. This installation was repeated three times and the results were identical.

The server does start and appears to run, but is limited as a LAN-only server and refuses remote clients. After starting, the console holds this information: --------------------------------------------------------------------- Server will auto-restart if there is a crash. Running a benchmark to measure system clock frequency... Finished RDTSC test. To prevent the startup delay from this benchmark, set the environment variable RDTSC_FREQUENCY to 2327.000000 on this system. This value is dependent upon the CPU clock speed and architecture and should be determined separately for each server. The use of this mechanism for timing can be disabled by setting RDTSC_FREQUENCY to 'disabled'.

Using breakpad minidump system

Using breakpad crash handler

Console initialized.

Unable to remove /home/l4dserver/serverfiles/left4dead/addonlist.txt!

Unable to remove /home/l4dserver/serverfiles/left4dead/addonlist.txt!

Game.dll loaded for "L4D - Co-op - Normal"

ConVarRef cl_language doesn't point to an existing ConVar

Server is hibernating Queuing heartbeat send to legacy master server. Game supporting (2) split screen players maxplayers set to 18 Unable to remove /home/l4dserver/serverfiles/left4dead/addonlist.txt! Unable to remove /home/l4dserver/serverfiles/left4dead/addonlist.txt! Unknown command "servercfgfile" Network: IP XXX.XXX.XXX.XXX, mode MP, dedicated Yes, ports 27015 SV / 0 CL ---- Host_NewGame ---- Host_NewGame on map l4d_hospital01_apartment ConVarRef room_type doesn't point to an existing ConVar Executing dedicated server config file Commentary: Loading commentary data from maps/l4d_hospital01_apartment_commentar y.txt. [S_API FAIL] SteamAPIInit() failed; unable to locate a running instance of Steam, or a local steamclient.dll. -**** - Unable to load Steam support library. - - This server will operate in LAN mode only. -_ -**** Queuing heartbeat send to legacy master server. Server logging enabled. Server logging data to file logs/LXXX_XXX_110_196_27015_201412072256_000.log L 12/07/2014 - 22:56:50: Log file started (file "logs/LXXX_XXX_110_196_27015_201412072256_000.log") (game "/home/l4dserver/serverfiles/left4dead") (version "5672") Queuing heartbeat send to legacy master server. Unable to load Steam library. -*-----------------------------------------------------

This L4D server error is discussed in various places but no fixes suggested anywhere resolved the problem. Also, this error really doesn't look like a problem with the script except for the line mentioning an unknown command.

For reference, this attempt was identical twice. Following that, a L4D2 server was successfully installed and tested using the analogous L4D2 script. Then L4D was attempted again (with the L4D2 server DOWN) and the failure was the same.

dgibbs64 commented 9 years ago

Looks pretty broken. I will have to have an in depth play with this and see if I can get this fully working myself.

I had a quick look and found a possible fix being similar to the csgo appid fix filesdir="/home/csgoserver/serverfiles" echo -n "730" >> "${filesdir}/steam_appid.txt"

No idea if that will work though.

Also servercfgfile is a bug that I will investigate as an issue with my script.

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.