If its not able to bind, make sure the port is available. It could be that 
srcds is not shutting down properly, and when you "restart" it, its just 
opening a new session.

When you restart the entire root, the port will not be in use, because you are 
starting srcds for the first time.

If you are Linux, you can do a 

netstat -an | grep 27040
netstat -an | grep 27005

if either of them list something, then srcds is still running when you restart 
it.

Allan


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Shane Arnold
Sent: Friday, January 29, 2010 9:21 AM
To: Half-Life dedicated Linux server mailing list
Subject: Re: [hlds_linux] No VAC on TF2 Server.....

If a server can not bind to an address, than the chances of anything 
network related (inluding VAC, let alone clients being able to join your 
server) working, are slim to none. Check your startup line and ensure it 
contains a +ip line to bind it to an address, or, that your local hosts 
file correctly lists your dns against the correct IP. In my experience, 
when an IP is not specified, srcds will bind to the ip corresponding to 
the local DNS resolve.

On 29/01/2010 10:13 PM, [email protected] wrote:
> You mean that the IP cannot be binded ?
>
> But why do it work when I restart the whole Root ?
>
> Thats not normal :(
>
> What can I do ?
>
>
> -------- Original-Nachricht --------
>    
>> Datum: Fri, 29 Jan 2010 21:27:21 +0800
>> Von: Shane Arnold<[email protected]>
>> An: Half-Life dedicated Linux server mailing 
>> list<[email protected]>
>> Betreff: Re: [hlds_linux] No VAC on TF2 Server.....
>>      
>    
>> Socket bind failed (Cannot assign requested address)
>> Network: IP xx.xxx.xx.xxx, mode MP, dedicated Yes, ports 27040 SV / 27005
>> CL
>>
>> That's pretty self explanatory.
>>
>>
>>
>> On 29/01/2010 9:22 PM, [email protected] wrote:
>>      
>>> Can no one help me ? :(
>>> Thats the output when I start tf2 with putty, VAC isnt active :(
>>>
>>>
>>>
>>>
>>>
>>> ./srcds_run -console -game tf -port 27040 +maxplayers 22 -tickrate 100
>>>        
>> +map cp_dustbowl -tvmasteronly +exec server.cfg -autoupdate -verify_all
>>      
>>> Auto detecting CPU
>>> Using default binary: ./srcds_i486
>>> Server will auto-restart if there is a crash.
>>> INFO: Located steam: ../steam
>>> Updating server using Steam.
>>> Checking bootstrapper version ...
>>> Updating Installation
>>> Checking/Installing 'Team Fortress 2 Content' version 130
>>>
>>>
>>> Checking/Installing 'Team Fortress 2 Materials' version 49
>>>
>>>
>>> Checking/Installing 'Base Source Shared Materials' version 8
>>>
>>>
>>> Checking/Installing 'Base Source Shared Models' version 4
>>>
>>>
>>> Checking/Installing 'Base Source Shared Sounds' version 4
>>>
>>>
>>> Checking/Installing 'OB Linux Dedicated Server' version 24
>>>
>>>
>>> HLDS installation up to date
>>>
>>> Console initialized.
>>> Game.dll loaded for "Team Fortress"
>>> Particles: Missing 'particles/error.pcf'
>>> [sbsrc] Plugin loaded successfully!
>>> maxplayers set to 22
>>> Unknown command "r_decal_cullsize"
>>> maxplayers set to 22
>>> Unknown command "r"
>>> Server logging enabled.
>>> Server logging data to file logs/L0129224.log
>>> L 01/29/2010 - 14:15:38: Log file started (file "logs/L0129224.log")
>>>        
>> (game "/home/kd10002/server/tf2-27040/orangebox/tf") (version "4099")
>>      
>>> Unknown command "sm_bm_slotsfree"
>>> Unknown command "startupmenu"
>>> Socket bind failed (Cannot assign requested address)
>>> Network: IP xx.xxx.xx.xxx, mode MP, dedicated Yes, ports 27040 SV /
>>>        
>> 27005 CL
>>      
>>> Server logging data to file logs/L0129225.log
>>> SOLID_VPHYSICS static prop with no vphysics model!
>>>        
>> (models/props_foliage/grass_0
>>
>> 2_cluster01.mdl)
>>      
>>> L 01/29/2010 - 14:15:40: -------- Mapchange to cp_dustbowl --------
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "EndTouch" offset = 98
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "FireBullets" offset = 110
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "OnTakeDamage" offset = 61
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "PreThink" offset = 320
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "PostThink" offset = 321
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "SetTransmit" offset = 20
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "Spawn" offset = 22
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "StartTouch" offset = 96
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "Think" offset = 46
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "Touch" offset = 97
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "TraceAttack" offset = 59
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "UpdateOnRemove" offset = 103
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "Weapon_CanSwitchTo" offset = 255
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "Weapon_CanUse" offset = 249
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "Weapon_Drop" offset = 252
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "Weapon_Equip" offset = 250
>>> L 01/29/2010 - 14:15:40: [SDKHOOKS] "Weapon_Switch" offset = 253
>>> L 01/29/2010 - 14:15:40: [GEOIP] GeoIP database info: GEO-106FREE
>>>        
>> 20091001 Build
>>                                                              1 Copyright
>> (c) 2009 MaxMind Inc All Rights Reserved
>>      
>>> L 01/29/2010 - 14:15:40: [n1g-tf2-stats.smx] DatabaseInit (CONNECTED)
>>>        
>> with db co
>>                                                             nfig
>>      
>>> L 01/29/2010 - 14:15:40: [crashlogger.smx] DatabaseInit (CONNECTED) with
>>>        
>> db conf
>>                                                             ig
>>      
>>> ConVarRef room_type doesn't point to an existing ConVar
>>> Executing dedicated server config file
>>> Spawnpoint at (2472.00 -1616.00 -124.00) is not clear.
>>> Spawnpoint at (2400.42 -1622.53 -124.00) is not clear.
>>> Spawnpoint at (2576.61 -1624.86 -124.00) is not clear.
>>> Spawnpoint at (2425.47 -1506.63 -124.00) is not clear.
>>> Spawnpoint at (2520.00 -1592.00 -124.00) is not clear.
>>> Spawnpoint at (2576.61 -1547.52 -124.00) is not clear.
>>> L 01/29/2010 - 14:15:46: [crashmap.smx] Restarts is 1
>>> CModelLoader::Map_IsValid:  Empty mapname!!!
>>> L 01/29/2010 - 14:15:46: [crashmap.smx] [CMR] cp_dustbowl loaded after
>>>        
>> server cr
>>                                                             ash.
>>      
>>> L 01/29/2010 - 14:15:46: [SM] Changed map to "cp_dustbowl"
>>> [SourceBans] Loading configs/sourcebans.cfg config file
>>> [S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient.
>>>        
>> Continu
>>                                                             ing with
>> current version anyway.
>>      
>>> commandline.cpp (628) : Assertion Failed: (nIndex>= 0)&&   (nIndex<
>>>        
>> m_nParmCoun
>>                                                            t)
>>      
>>> commandline.cpp (628) : Assertion Failed: (nIndex>= 0)&&   (nIndex<
>>>        
>> m_nParmCoun
>>                                                            t)
>>      
>>> baseuser.cpp (313) : Assertion Failed: couldn't find entrypoint
>>>        
>> 'GetBaseUserDir'
>>      
>>> baseuser.cpp (313) : Assertion Failed: couldn't find entrypoint
>>>        
>> 'GetBaseUserDir'
>>      
>>> baseuser.cpp (313) : Assertion Failed: couldn't find entrypoint
>>>        
>> 'GetBaseUserDir'
>>      
>>> baseuser.cpp (313) : Assertion Failed: couldn't find entrypoint
>>>        
>> 'GetBaseUserDir'
>>      
>>> baseuser.cpp (313) : Assertion Failed: couldn't find entrypoint
>>>        
>> 'GetBaseUserDir'
>>      
>>> baseuser.cpp (313) : Assertion Failed: couldn't find entrypoint
>>>        
>> 'GetBaseUserDir'
>>      
>>> cminterface.cpp (731) : Assertion Failed: 0 != m_hConnection
>>> cminterface.cpp (731) : Assertion Failed: 0 != m_hConnection
>>> Unknown command "r"
>>> Server logging enabled.
>>> Server logging data to file logs/L0129226.log
>>> exec: couldn't exec cp_dustbowl.cfg
>>> Unknown command "sm_reserve_type"
>>> Unknown command "sm_reserved_slots"
>>> Unknown command "sm_hide_slots"
>>> Adding master server 72.165.61.189:27011
>>> Adding master server 72.165.61.151:27015
>>> ---- Host_Changelevel ----
>>> Server logging data to file logs/L0129227.log
>>> SOLID_VPHYSICS static prop with no vphysics model!
>>>        
>> (models/props_foliage/grass_0
>>
>> 2_cluster01.mdl)
>>      
>>> L 01/29/2010 - 14:15:47: -------- Mapchange to cp_dustbowl --------
>>> ConVarRef room_type doesn't point to an existing ConVar
>>> Executing dedicated server config file
>>> Spawnpoint at (2472.00 -1616.00 -124.00) is not clear.
>>> Spawnpoint at (2400.42 -1622.53 -124.00) is not clear.
>>> Spawnpoint at (2576.61 -1624.86 -124.00) is not clear.
>>> Spawnpoint at (2425.47 -1506.63 -124.00) is not clear.
>>> Spawnpoint at (2520.00 -1592.00 -124.00) is not clear.
>>> Spawnpoint at (2576.61 -1547.52 -124.00) is not clear.
>>> [SourceBans] Loading configs/sourcebans.cfg config file
>>> L 01/29/2010 - 14:15:51: [mapvote.smx] Successfully read in the new
>>>        
>> maps.
>>      
>>> Unknown command "r"
>>> Server logging enabled.
>>> Server logging data to file logs/L0129228.log
>>> exec: couldn't exec cp_dustbowl.cfg
>>> Unknown command "sm_reserve_type"
>>> Unknown command "sm_reserved_slots"
>>> Unknown command "sm_hide_slots"
>>> NextBot tickrate changed from 0 (0.000ms) to 7 (0.105ms)
>>> Spawnpoint at (2472.00 -1616.00 -124.00) is not clear.
>>> Spawnpoint at (2400.42 -1622.53 -124.00) is not clear.
>>> Spawnpoint at (2576.61 -1624.86 -124.00) is not clear.
>>> Spawnpoint at (2425.47 -1506.63 -124.00) is not clear.
>>> Spawnpoint at (2520.00 -1592.00 -124.00) is not clear.
>>> Spawnpoint at (2576.61 -1547.52 -124.00) is not clear.
>>> Spawnpoint at (2472.00 -1616.00 -124.00) is not clear.
>>> Spawnpoint at (2400.42 -1622.53 -124.00) is not clear.
>>> Spawnpoint at (2576.61 -1624.86 -124.00) is not clear.
>>> Spawnpoint at (2425.47 -1506.63 -124.00) is not clear.
>>> Spawnpoint at (2520.00 -1592.00 -124.00) is not clear.
>>> Spawnpoint at (2576.61 -1547.52 -124.00) is not clear.
>>> Fr 29. Jan 14:17:45 CET 2010: Server Quit
>>>
>>>
>>>
>>>
>>>
>>> -------- Original-Nachricht --------
>>>
>>>        
>>>> Datum: Thu, 28 Jan 2010 22:40:35 +0100
>>>> Von: [email protected]
>>>> An: Half-Life dedicated Linux server mailing
>>>>          
>> list<[email protected]>
>>      
>>>> Betreff: Re: [hlds_linux] No VAC on TF2 Server.....
>>>>
>>>>          
>>>
>>>        
>>>> Thats in the Screenlog
>>>>
>>>> version : 1.0.8.1/15 4099 insecure (secure mode enabled, disconnected
>>>>          
>> from
>>      
>>>> Steam3)
>>>>
>>>> What can I do ? :(
>>>>
>>>>
>>>> -------- Original-Nachricht --------
>>>>
>>>>          
>>>>> Datum: Thu, 28 Jan 2010 17:22:20 +0100
>>>>> Von: [email protected]
>>>>> An: Half-Life dedicated Linux server mailing list
>>>>>
>>>>>            
>>>> <[email protected]>
>>>>
>>>>          
>>>>> Betreff: [hlds_linux] No VAC on TF2 Server.....
>>>>>
>>>>>            
>>>>
>>>>          
>>>>> Hello,
>>>>>
>>>>> I dont have VAC on my TF2 Server. When I restart the Gameserver it
>>>>>            
>> dont
>>      
>>>>> work.... But when I restart the whole Root Server, VAC is still
>>>>>
>>>>>            
>>>> active....
>>>>
>>>>          
>>>>> Where is here the failure.....
>>>>>
>>>>> This problem is now about 2 Weeks :(
>>>>>
>>>>> regards
>>>>> -- 
>>>>> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox
>>>>>
>>>>>            
>>>> 3.5
>>>>
>>>>          
>>>>> -
>>>>> sicherer, schneller und einfacher!
>>>>>            
>> http://portal.gmx.net/de/go/chbrowser
>>      
>>>>> _______________________________________________
>>>>> To unsubscribe, edit your list preferences, or view the list archives,
>>>>> please visit:
>>>>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>>>>
>>>>>            
>>>> -- 
>>>> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox
>>>>          
>> 3.5
>>      
>>>> -
>>>> sicherer, schneller und einfacher!
>>>>          
>> http://portal.gmx.net/de/go/atbrowser
>>      
>>>> _______________________________________________
>>>> 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