Bug 139 - Failed to bind connect socket / Multihome/ Alias
Status: RESOLVED DUPLICATE of bug 105
Alias: None
Product: Unreal Tournament 2003
Classification: Unclassified
Component: Dedicated Server
Version: Demo (Build 1080)
Hardware: PC FreeBSD
: P2 normal
Assignee: Ryan C. Gordon
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2002-09-26 16:39 EDT by Kingsley Foreman
Modified: 2002-09-27 18:44:55 EDT
0 users

See Also:



Description Kingsley Foreman 2002-09-26 16:39:34 EDT
Im trying to run a UT2k3 server under freebsd
the box has a number of network alias set up in a ip range
if i run it without the multihome option it works fine
but if i run ith with the multihome option on one of the alias i get an error
meassage (listed below) I had this problem with UT also
note.
IpDrv.UdpGamespyQuery.PreBeginPlay:0034) BindPort: bind failed
---
MasterServerUplink: Resolved ut2003master1.epicgames.com as 207.135.145.2.
Failed to bind connect socket
Executing UObject::StaticShutdownAfterError
Failed to bind connect socket
---
____________________________________________________
./ucc-bin server DM-Asbestos.ut2 MULTIHOME=203.26.94.184 ini=dmserver.ini 
Executing Class Engine.ServerCommandlet
Unreal engine initialized
(Karma): Beginning Karma for game.
(Karma): Creating MeAssetDB.
(Karma): Loading: jugg.ka
(Karma): Finished Creating MeAssetDB (2 Assets).
Browse: DM-Asbestos.ut2?Name=Player?Class=Engine.Pawn?Character=Gorge?team=255
LoadMap: DM-Asbestos.ut2?Name=Player?Class=Engine.Pawn?Character=Gorge?team=255
Missing Texture Texture PlayerSkins.JuggFemaleABodyA
Bound to IpDrv.so
Bound to Fire.so
Missing Class Class Editor.TransBuffer
Bound to XGame.so
Missing Texture Texture PlayerSkins.JuggFemaleABodyA
Missing Texture Texture PlayerSkins.JuggFemaleAHeadA
Missing Texture Texture PlayerSkins.JuggFemaleBBodyA
Missing Texture Texture PlayerSkins.JuggFemaleBHeadA
(Karma): Initialising Karma for Level.
Static mesh batches: 10892664 vertex bytes, 1097202 index bytes
qhull precision warning: 
The initial hull is narrow (the cosine of the minimum angle is -0.999904573).
A coplanar point may lead to a wide facet.  Options 'Qs' (search for best
initial hull), 'QbB' (scale to unit box), or 'Qbb' (scale last coordinate)
may remove this warning.  Use 'Pp' to ignore this warning.
See 'Limitations' in qh-impre.htm.
qhull precision warning: 
The initial hull is narrow (the cosine of the minimum angle is -1).
A coplanar point may lead to a wide facet.  Options 'Qs' (search for best
initial hull), 'QbB' (scale to unit box), or 'Qbb' (scale last coordinate)
may remove this warning.  Use 'Pp' to ignore this warning.
See 'Limitations' in qh-impre.htm.
Collecting garbage
Purging garbage
Garbage: objects: 23552->23549; refs: 434461
Game class is 'xDeathMatch'
setsockopt with IP_RECVERR failed
Sockets: Socket queue 131072 / 131072
TcpNetDriver on port 7777
Server Package: Core
Server Package: Engine
Server Package: Fire
Server Package: Editor
Server Package: IpDrv
   (server-side only)
Server Package: UWeb
Bound to UWeb.so
   (server-side only)
Server Package: GamePlay
Server Package: UnrealGame
Server Package: XEffects
Server Package: XPickups
Server Package: XGame
Server Package: XWeapons
Server Package: XInterface
Bound to XInterface.so
Server Package: Vehicles
Server Package: TeamSymbols_UT2003
Spawning: IpDrv.MasterServerUplink
Spawning: UWeb.WebServer
Level is Level DM-Asbestos.myLevel
Bringing Level DM-Asbestos.myLevel up for play (20) appSeconds: 
20536222.136216...
InitGame: ?Name=Player?Class=Engine.Pawn?Character=Gorge?team=255
Base Mutator is DM-Asbestos.DMMutator
GameInfo::InitGame : bEnableStatLogging False
UdpGamespyQuery DM-Asbestos.UdpGamespyQuery (Function 
IpDrv.UdpGamespyQuery.PreBeginPlay:0034) BindPort: bind failed
UdpServerQuery: Port failed to bind.
Resolving master0.gamespy.com...
MasterServerUplink: MasterServerGameStats not found - stats uploading disabled.
broadcast ping announcement.
Resolving ut2003master1.epicgames.com...
Webserver is not enabled.  Set bEnabled to True in Advanced Options.
Failed to load 'Sound GeneralImpacts.ImpactSplash2': Failed to find 
object 'Sound GeneralImpacts.ImpactSplash2'
Failed to load 'Sound GeneralImpacts.ImpactSplash2': Failed to find 
object 'Sound GeneralImpacts.ImpactSplash2'
xUtil::CacheLoad CachePlayers (0.014133 seconds)
2 ANTIPORTALS
Game engine initialized
MasterServerUplink: Resolved ut2003master1.epicgames.com as 207.135.145.2.
Failed to bind connect socket
Executing UObject::StaticShutdownAfterError
Failed to bind connect socket

History: 

Exiting due to error
Exiting.
Waiting for file streaming thread to finish...
Name subsystem shut down
Comment 1 Marius 2002-09-27 15:50:52 EDT
This is probably some other OS or ip-aiasing setup.
see my comment on bug #105 https://bugzilla.icculus.org/show_bug.cgi?id=105#c4

Here is a snipplet from netstat -ie :

Kernel Interface table
eth0      Link encap:Ethernet  HWaddr 00:03:BLAH  
          inet addr:129.177.207.10  Bcast:129.177.207.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:149976756 errors:0 dropped:0 overruns:0 frame:0
          TX packets:104258558 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:317560619 (302.8 Mb)  TX bytes:3384285968 (3227.5 Mb)
          Interrupt:11 Memory:BLAH

eth0:0    Link encap:Ethernet  HWaddr 00:03:BLAH
          inet addr:129.177.207.11  Bcast:129.177.207.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Memory:BLAH

And from Qstat just to prove it works(tm):

129.177.207.11:7787    1/ 8 DM-Asbestos     13 / 0  xDeathMatch [ludo2.uib.no] 
Demo
129.177.207.10:7787   14/18 DM-Antalus     64 / 0  xDeathMatch [unreal.uib.no] 
Demo

Comment 2 Kingsley Foreman 2002-09-27 18:41:37 EDT
Its on Freebsd
half life/quake 3 engines work fine just not ut/ut2k3
Comment 3 Ryan C. Gordon 2002-09-27 18:44:55 EDT
Since there's a lot more discussion on Bug #105, I'm marking this entry a
duplicate. Let's focus over there.

--ryan.



*** This bug has been marked as a duplicate of 105 ***