Odd, try:
strace -e trace=bind,listen -o strace.log ./srcds_linux -game left4dead2 
+map c1m1_hotel -port 27020

and look in strace.log, if you still get nothing try running strace -o 
strace.log ./srcds... , still nothing? strace is broken :D

pizzahut wrote:
> I'm probably doing something wrong, it's not producing any output (except
> one line from the srcds).
> 
> - I've run the command,
> - it started the server (came up in HLSW on port 27020),
> - connected and tried rcon from Windows client, didn't work,
> - tried rcon via HLSW on port 27020, didn't work,
> - I did rcon via port 27015 using HLSW (although the server was running on
> port 27020), this worked and I verified it's the L4D2 server, it said port
> 27020 when using status in rcon.
> - and then typed quit in the ssh / strace / srcds_linux console.
> 
> j...@atct_5-dom0 ~/game_servers/left_4_dead/left4dead2 $ strace -e
> trace=bind,listen ./srcds_linux -game left4dead2 +map c1m1_hotel -port 27020
>> /dev/null
> [S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient.
> Continuing with current version anyway.
> quit
> j...@atct_5-dom0 ~/game_servers/left_4_dead/left4dead2 $
> 
> This is from the connection log though:
> connection_log_27020.txt
> [2009-11-25 03:46:30][0,0] : Log session started
> [2009-11-25 03:46:30][0,0] : SetSteamID( [A:1:0:0] )
> [2009-11-25 03:46:30][1,2] : Connect() starting connection (eNetQOSLevelLow,
> 72.165.61.187:27017, UDP)
> [2009-11-25 03:46:30][1,2] : ConnectionCompleted() (68.142.91.34:27017, UDP)
> [2009-11-25 03:46:30][1,2] : RecvMsgClientLogOnResponse() : 'OK'
> [2009-11-25 03:52:56][3,0] : Log session ended
> 
> 2009/11/25 Adam Nowacki <[email protected]>
> 
>> Run and paste the output here:
>> strace -e trace=bind,listen ./srcds_linux -game left4dead2 +map
>> c1m1_hotel -port 27020 > /dev/null
>>
>> pizzahut wrote:
>>> It's in the forum thread, here's a c&p:
>>>
>>> Start lines:
>>>
>>> PORT=27017
>>> ./srcds_run -game left4dead -port $PORT +map l4d_hospital01_apartment
>>>
>>> PORT=27020
>>> ./srcds_run -game left4dead2 -port $PORT +map c1m1_hotel
>>>
>>> That's an excerpt of the script, in detail it's
>>>
>>> script 1: start_l4d1.sh
>>>
>>> #!/bin/sh
>>> cd ~/game_servers/left_4_dead
>>> screen -dmS l4d1 ./l4d1.sh
>>>
>>> Script 2: l4d1.sh
>>>
>>> #!/bin/sh
>>>
>>> PORT=27017
>>>
>>> echo "Please run this script via screen!"
>>> echo "Server start in 10s, press Ctrl-C to abort."
>>> # sleep 10
>>>
>>> while true
>>> do
>>>   echo "*** Terminating servers running on port $PORT..."
>>>   kill `ps -fu j0hn | grep "port $PORT" | grep -v grep | awk '{print
>> $2}'`
>>
>> pkill -fU j0hn "port $PORT"
>> :D
>>
>>>   sleep 2
>>>
>>>   echo "*** Updating Steam..."
>>>   ./steam
>>>
>>>   echo "Updating L4D1 ..."
>>>   ./steam -command update -game left4dead -dir .
>>>
>>>   echo "Starting L4D1 server ..."
>>>   cd l4d
>>>   ./srcds_run -debug -game left4dead -port $PORT +map
>>> l4d_hospital01_apartment
>>>   cd ..
>> (cd l4d; ./srcds... )
>>
>>>   echo "Waiting 10s before looping, hit Ctrl-C to stop the script ..."
>>>   sleep 10
>>> done
>>>
>>> And similar for the L4D2 server.
>>>
>>> 2009/11/25 Joonas Lehtolahti <[email protected]>
>>>
>>>> How are you specifying the game port for the servers exactly?
>>>>
>>>>
>>> _______________________________________________
>>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>>
>>>
>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> 
> 


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to