You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Unreal Admins > Unreal Tournament 2003/2004 > UT2003/4 Server - Linux Specific

Reply
Thread Tools Display Modes
  #1  
Unread 3rd January, 2014, 05:05 PM
SixPakSuzy's Avatar
SixPakSuzy SixPakSuzy is offline
Rampage
 
Join Date: Feb 2006
Location: Delaware
Posts: 70
Default UT2004 Server start issue - log attached

Hello all. Thought I'd try out a UT2004 server, but not having too much luck with the start up.

I have a dedicated server, Ubuntu 12.04LTS, multiple IPs, currently running 3 UT99 game types and I'm trying to install UT2k4 with it's own static IP.

No issues during the install. I've specified the static IP in the ./ut24kserver file. Originally, it failed, wouldn't bind port 7778. I'm not sure if this is because of the UT99 installs, but they have their own dedicated static IPs, so that doesn't make sense. So, I changed the UT2k4 port to 8888 (I actually tried several ports to try to resolve this issue).

Host is NFO and all tcp/udp ports are open.

In the log below, I'm confused by several things:
1. gethostbyname failed (NO_ERROR) ... can't get local IP.
2. UdpGamespyQuery failures

Code:
Executing Class Engine.ServerCommandlet
Browse: ONS-Torlan?Name=Player?Class=Engine.Pawn?Character=Jakob?team=255?game=Onslaught.ONSOnslaughtGame
Collecting garbage
Purging garbage
Garbage: objects: 41757->41535; refs: 604087
Game class is 'ONSOnslaughtGame'
gethostbyname failed (NO_ERROR) ... can't get local IP.
Bringing Level ONS-Torlan.myLevel up for play (20) appSeconds: 4.328118...
GameInfo::InitGame : bEnableStatLogging False
Using Official Link Setup: Default
UdpGamespyQuery ONS-Torlan.UdpGamespyQuery (Function IpDrv.UdpGamespyQuery.PreBeginPlay:003F) gethostbyname failed (NO_ERROR) ... can't get local IP.
UdpServerQuery(crt): Port 8898 successfully bound.
PORTSWAP detected, exiting...  old port: 7787, new port: 8898, requested port: 8898
***************
 Complete OBJ LIST:
Objects:

 Class  Count  NumBytes   MaxBytes 
 StaticMesh     175        7180K        7180K
 LinkerLoad     209        5678K        5690K
 Class    1119        4617K        4618K
 Model      94        3477K        3537K
 SkeletalMesh      43        3486K        3486K
 TextBuffer     265        2598K        2598K
 StaticMeshInstance    1045        2343K        2343K
 Function    7721        1869K        1869K
 MeshAnimation      23        1215K        1215K
 StaticMeshActor    1011        1014K        1014K
 ObjectProperty    5376        1008K        1008K
 BoolProperty    3913         733K         733K
 Polys      94         719K         719K
 IntProperty    3714         667K         667K
 TerrainInfo       1         646K         646K
 FloatProperty    3552         638K         638K
 Texture     615         588K         588K
 StructProperty    2953         553K         553K
 StrProperty    2936         527K         527K
 State     181         404K         404K
 VertMesh       3         383K         383K
 ReachSpec    2605         315K         315K
 SpriteEmitter     241         300K         300K
 Light     260         265K         265K
 ByteProperty     909         170K         170K
 KarmaParamsCollision     897         143K         143K
 RoadPathNode     115         132K         132K
 PathNode     108         123K         123K
 ArrayProperty     621         116K         116K
 ClassProperty     550         107K         107K
 MeshEmitter      85         105K         105K
 TerrainSector      64         100K         100K
 PlayerStart      72          82K          82K
 CacheManager       1          72K          72K
 NameProperty     365          65K          65K
 KMeshProps      52          63K          63K
 Sound     306          54K          54K
 InventorySpot      45          52K          52K
 Palette      43          47K          47K
 Package     445          45K          45K
 MaplistRecord      14          38K          38K
 ONSManualGunPawn      10          35K          35K
 FlyingPathNode      30          34K          34K
 PackageCheckInfo     282          33K          33K
 Struct     156          32K          32K
 MaplistManager       1          28K          28K
 ONSOnslaughtGame       1          27K          27K
 Level       1          21K          27K
 BlockingVolume      22          25K          25K
 BeamEmitter      17          25K          25K
 PackageMap       1          22K          24K
 DelegateProperty     130          24K          24K
 Enum     146          21K          21K
 Shader     119          20K          20K
 NavigationPoint      18          20K          20K
 ProceduralSound      91          19K          19K
 TexPanner      79          16K          16K
 InterpolationPoint      16          16K          16K
 ONSManualGun      10          15K          15K
 ONSPowerNodeNeutral       5          15K          15K
 AmbientSound      15          15K          15K
 Volume      13          15K          15K
 AntiPortalActor      14          14K          14K
 WeaponLocker      10          12K          12K
 ConvexVolume      14          12K          12K
 JumpSpot       8          11K          11K
 Const      88          11K          11K
 Combiner      68           9K           9K
 FinalBlend      76           9K           9K
 GUIButton       8           8K           8K
 SoundGroup      36           8K           8K
 GUIToolTip       7           8K           8K
 PointerProperty      44           7K           7K
 TexScaler      38           7K           7K
 xWeaponBase       7           7K           7K
 HealthCharger       7           7K           7K
 ONSHoverCraftFactory       7           7K           7K
 AIMarker       6           6K           6K
 UnrealScriptedSequence       6           6K           6K
 LimitationVolume       5           5K           5K
 Emitter       5           5K           5K
 GUILabel       5           5K           5K
 GUIImage       5           5K           5K
 Font       1           5K           5K
 UnrealTeamChatRoom       4           5K           5K
 ONSAVRiLAmmoPickup       4           4K           4K
 Teleporter       4           4K           4K
 TcpNetDriver       1           4K           4K
 SniperAmmoPickup       4           4K           4K
 ONSGrenadeAmmoPickup       4           4K           4K
 xTeamBanner       4           4K           4K
 Trigger       4           4K           4K
 TexRotator      17           4K           4K
 GUIContextMenu       3           3K           3K
 TexOscillator      16           3K           3K
 AltSectionBackground       3           3K           3K
 GUIEditBox       3           3K           3K
 LevelInfo       1           3K           3K
 SuperShieldCharger       3           3K           3K
 ShieldCharger       3           3K           3K
 ONSRVFactory       3           3K           3K
 ONSPRVFactory       3           3K           3K
 ONSAttackCraftFactory       3           3K           3K
 TeamVoiceReplicationInfo       1           3K           3K
 Cubemap       9           2K           2K
 ONSPowerCoreRed       1           2K           2K
 ONSPowerCoreBlue       1           2K           2K
 AccessControl       1           2K           2K
 GUIScrollTextBox       2           2K           2K
 TrailEmitter       2           2K           2K
 AnimNotify_Sound      26           2K           2K
 MasterServerUplink       1           2K           2K
 AssaultPath       2           2K           2K
 SVehicleWheel       8           2K           2K
 GUIHorzScrollButton       2           2K           2K
 GUISpinnerButton       2           2K           2K
 GUIVertScrollButton       2           2K           2K
 SuperHealthCharger       2           2K           2K
 ONSTankFactory       2           2K           2K
 GameReplicationInfo       1           2K           2K
 ONSPowerLinkOfficialSetup       2           2K           2K
 AnimNotify_Script      24           2K           2K
 Sunlight       2           2K           2K
 WebServer       1           1K           1K
 TexEnvMap      14           1K           1K
 UnrealChatHandler       1           1K           1K
 BroadcastHandler       1           1K           1K
 ONSDefaultMut       1           1K           1K
 KarmaParamsRBFull       5           1K           1K
 GameEngine       1           1K           1K
 MapVoteMultiColumnListBox       1           1K           1K
 KickVoteMultiColumnListBox       1           1K           1K
 MapVoteCountMultiColumnListBox       1           1K           1K
 ZoneInfo       1           1K           1K
 PlayerInfoMultiColumnListBox       1           1K           1K
 SkyZoneInfo       1           1K           1K
 moComboBox       1           1K           1K
 DefaultPhysicsVolume       1           1K           1K
 moEditBox       1           1K           1K
 UdpGamespyQuery       1           1K           1K
 GUIListBox       1           1K           1K
 GUITreeScrollBar       1           1K           1K
 MapVoteFooter       1           1K           1K
 GUIVertScrollBar       1           1K           1K
 GUISectionBackground       1           1K           1K
 SpecialVehicleObjective       1           1K           1K
 UTJumppad       1           1K           1K
 LevelSummary       1           1K           1K
 GUIHeader       1           1K           1K
 ConstantColor      10           1K           1K
 GUIComboButton       1           1K           1K
 GUIHorzGripButton       1           1K           1K
 GUIVertGripButton       1           1K           1K
 GUIMultiColumnListHeader       1           1K           1K
 UDamageCharger       1           1K           1K
 FloatingImage       1           1K           1K
 ONSTeleportPad       1           1K           1K
 GUIVertScrollZone       1           1K           1K
 GUIHorzScrollZone       1           1K           1K
 LookTarget       1           1K           1K
 Action_MOVETOPOINT       7           0K           0K
 Action_WAITFORTIMER       7           0K           0K
 UT2MidGameFont       1           0K           0K
 fntUT2k4MidGame       1           0K           0K
 System       1           0K           0K
 UT2SmallHeaderFont       1           0K           0K
 UT2ServerListFont       1           0K           0K
 UT2SmallFont       1           0K           0K
 UT2MenuFont       1           0K           0K
 fntUT2k4SmallHeader       1           0K           0K
 UT2IRCFont       1           0K           0K
 fntUT2k4Small       1           0K           0K
 fntUT2k4Header       1           0K           0K
 fntUT2k4Large       1           0K           0K
 fntUT2k4IRC       1           0K           0K
 fntUT2k4Menu       1           0K           0K
 fntUT2K4Medium       1           0K           0K
 FadeColor       3           0K           0K
 TexCoordSource       3           0K           0K
 UT2HeaderFont       1           0K           0K
 UT2LargeFont       1           0K           0K
 MatchInfo       1           0K           0K
 KarmaParamsSkel       1           0K           0K
 fntUT2k4MainMenu       1           0K           0K
 xAdminUserList       3           0K           0K
 xAdminGroupList       3           0K           0K
 UT2DefaultFont       1           0K           0K
 fntUT2k4ServerList       1           0K           0K
 fntUT2k4Default       1           0K           0K
 VariableTexPanner       1           0K           0K
 EFFECT_Mountains       1           0K           0K
 xAdminUser       1           0K           0K
 ScriptedTexture       1           0K           0K
 MaterialSequence       1           0K           0K
 xAdminGroup       1           0K           0K
 Primitive       1           0K           0K
 GlobalTempObjects       1           0K           0K
 ObjectPool       1           0K           0K

44770 Objects (42.597M / 42.676M)
***************

Current UdpGameSpyQuery objects:
Objects:

Object  NumBytes  MaxBytes
UdpGamespyQuery ONS-Torlan.UdpGamespyQuery        1334        1334

 Class  Count  NumBytes   MaxBytes 
 UdpGamespyQuery       1           1K           1K

1 Objects (0.001M / 0.001M)
***************
Tracing UdpGamespyQuery objects
===================================================================
 Referencers of 'ONS-Torlan.UdpGamespyQuery'

Referencers of UdpGamespyQuery ONS-Torlan.UdpGamespyQuery:
   Level ONS-Torlan.myLevel (1)

Shortest reachability from root to UdpGamespyQuery ONS-Torlan.UdpGamespyQuery:
   GameEngine Package.GameEngine (root)
   Level ONS-Torlan.myLevel
   UdpGamespyQuery ONS-Torlan.UdpGamespyQuery

===================================================================

Performing garbage collection
Collecting garbage
Purging garbage
Garbage: objects: 44770->44770; refs: 642048
***************
Remaining UdpGameSpyQuery objects:
Objects:

Object  NumBytes  MaxBytes
UdpGamespyQuery ONS-Torlan.UdpGamespyQuery        1334        1334

 Class  Count  NumBytes   MaxBytes 
 UdpGamespyQuery       1           1K           1K

1 Objects (0.001M / 0.001M)
***************
UdpGamespyQuery ONS-Torlan.UdpGamespyQuery (Function IpDrv.UdpGamespyQuery.PreBeginPlay:0167) Assertion failed, line 58
Executing UObject::StaticShutdownAfterError
UdpGamespyQuery ONS-Torlan.UdpGamespyQuery (Function IpDrv.UdpGamespyQuery.PreBeginPlay:0167) Assertion failed, line 58

History: 

Exiting due to error
Exiting.
FileManager: Reading 0 GByte 55 MByte 231 KByte 551 Bytes from HD took 0.088099 seconds (0.088099 reading, 0.000000 seeking).
FileManager: 0.000000 seconds spent with misc. duties
Name subsystem shut down
Anyone have any ideas?

Thanks,
SPS
__________________



Reply With Quote
  #2  
Unread 3rd January, 2014, 05:33 PM
Wormbo's Avatar
Wormbo Wormbo is offline
out of order
 
Join Date: Sep 2003
Posts: 3,383
Default

A "port swap" is an error and means the server's query port changed during a map change. Port swaps are caused by the old level not getting unloaded. That's usually a hint that some mod on the server is creating permanent references to something in the level and fails to clean up on map change.

The port swap detection, however, relies on a config file entry, where the previously used port is stored. Since you changed the server port, that entry is no longer valid and incorrectly detects a port swap on startup.

Open the server's UT2004.ini (or whatever ini=... name you specified on the command line) and set the value OldQueryPortNumber in the [IpDrv.UdpGameSpyQuery] section to 0.
__________________
Wormbo's UT/UT2004/UT3 mods | PlanetJailbreak | Unreal Wiki | Liandri Archives
Quote:
<@Mych|Lockdown> ...and the award for the most creative spelling of "Jailbreak" goes to ... "Gandis Jealbrake Server"
Reply With Quote
  #3  
Unread 3rd January, 2014, 06:09 PM
SixPakSuzy's Avatar
SixPakSuzy SixPakSuzy is offline
Rampage
 
Join Date: Feb 2006
Location: Delaware
Posts: 70
Default

Thanks Wormbo. That got my server up and running!
__________________



Reply With Quote
  #4  
Unread 3rd January, 2014, 06:38 PM
SixPakSuzy's Avatar
SixPakSuzy SixPakSuzy is offline
Rampage
 
Join Date: Feb 2006
Location: Delaware
Posts: 70
Default

Well, I figured out why port 7777 didn't work. For whatever reason, the install is using the IP of one of my UT99 installs, even though I installed UT2k4 connecting to the new IP and creating a new user account. The new IP for the UT2k4 server is even listed in the ./ut2k4server file. But, in the UT2k4 master server list, it's showing the UT99 IP address.

My head hurts. Time for a nap.
__________________



Reply With Quote
  #5  
Unread 3rd January, 2014, 07:30 PM
Wormbo's Avatar
Wormbo Wormbo is offline
out of order
 
Join Date: Sep 2003
Posts: 3,383
Default

If it's the same machine, make sure you specify the IP via the -multihome=IPAddress parameter.
__________________
Wormbo's UT/UT2004/UT3 mods | PlanetJailbreak | Unreal Wiki | Liandri Archives
Quote:
<@Mych|Lockdown> ...and the award for the most creative spelling of "Jailbreak" goes to ... "Gandis Jealbrake Server"
Reply With Quote
  #6  
Unread 3rd January, 2014, 07:53 PM
SixPakSuzy's Avatar
SixPakSuzy SixPakSuzy is offline
Rampage
 
Join Date: Feb 2006
Location: Delaware
Posts: 70
Default

Quote:
Originally Posted by Wormbo View Post
If it's the same machine, make sure you specify the IP via the -multihome=IPAddress parameter.
Hi Wormbo.....in the ut2k4server startup file I have:

Code:
# Server Details
servicename="ut2k4-server"
gamename="Unreal Tournament 2004"
engine="unreal2"
ini="${servicename}.ini"
servername=$(grep -s ServerName= ${systemdir}/${ini} | sed 's/ServerName=//g')
ip="216.52.143.200"
This is where I specified the static IP that I want to use.
Also in that file is:

Code:
}

fn_autoip(){
# Identifies the server interface IP
# If multiple interfaces this will need to be set manually
getip=$(/sbin/ifconfig | grep "inet addr" | awk -F: '{print $2}' | awk '{print $1}'|grep -v 127.0.0.1)
getipwc=$(/sbin/ifconfig | grep "inet addr" | awk -F: '{print $2}' | awk '{print $1}'|grep -v 127.0.0.1|wc -l)
if [ "${ip}" == "0.0.0.0" ]||[ "${ip}" == "" ]; then
        if [ "${getipwc}" -ge "2" ]; then
                echo -en "[\e[1;33m WARN \e[0;39m] Multiple active interfaces.\n\n"
                echo -en "Manually specify the IP in ${selfname}\n"
                echo -en "Set ip=\"0.0.0.0\" to one of the following:\n"
                echo -en "${getip}\n"
                exit
        else
                ip=${getip}

        fi
fi
}
This is the part that is confusing me. It says that I need to manually specify the IP if multiple interfaces are use....such as in my case. But, where? In the first part under "Server Details" where I do have it listed? Or, somewhere else? This is different than the ucc.init file for UT99 that I'm used to.

Also, in the ut2k4server startup file is:

Code:
# Start Variables
defaultmap="DM-Rankin"
parms="server ${defaultmap}?game=XGame.xDMGame -nohomedir ini=${ini} log=${logfile}"
Are you suggesting that I can add the IP parameter to this parameter after -nohomedir?

Thanks,
SPS
__________________



Reply With Quote
  #7  
Unread 3rd January, 2014, 08:57 PM
Wormbo's Avatar
Wormbo Wormbo is offline
out of order
 
Join Date: Sep 2003
Posts: 3,383
Default

I don't know about your fancy startup script, but -multihome=... is a parameter like -nohomedir and ini=...
__________________
Wormbo's UT/UT2004/UT3 mods | PlanetJailbreak | Unreal Wiki | Liandri Archives
Quote:
<@Mych|Lockdown> ...and the award for the most creative spelling of "Jailbreak" goes to ... "Gandis Jealbrake Server"
Reply With Quote
  #8  
Unread 3rd January, 2014, 10:39 PM
SixPakSuzy's Avatar
SixPakSuzy SixPakSuzy is offline
Rampage
 
Join Date: Feb 2006
Location: Delaware
Posts: 70
Default

That did it Wormbo. Again, thanks for your help. It is greatly appreciated!
__________________



Reply With Quote
  #9  
Unread 4th January, 2014, 10:49 AM
SixPakSuzy's Avatar
SixPakSuzy SixPakSuzy is offline
Rampage
 
Join Date: Feb 2006
Location: Delaware
Posts: 70
Default

[quote=Wormbo;169377]I don't know about your fancy startup script,...../QUOTE]

I used the install script detailed at http://www.unrealadmin.org/forums/sh...ad.php?t=31290

It worked out OK for me.
__________________



Reply With Quote
  #10  
Unread 5th November, 2014, 11:22 AM
nudrat nudrat is offline
Forum Newcomer
 
Join Date: Nov 2014
Posts: 1
Default

Well, the server package I had was 3369 from the start (had to look around for it). I see why everyone gets 3339 or whatever and patches from that. The 3369-2 patch files overwritten on what I had fixed everything and it runs now. I wasn't concerned about command syntax before as much as just getting the damn thing to run.
__________________
Get pass4-sure.net demos for test king and passguide with 100% success wikipedia Our high quality examsheets itil University of Cambridge you well before appearing in the final exams of selftestengine HP
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:01 AM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.