![]() |
|
Dedicated Server Discuss technical issues related to hosting your own servers. |
![]() |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
Hello,
I'm out of ideas at this point, so I'm desperately seeking experts to help me with this issue. Running a dedicated server with CentOS I open the server launcher and get this load of code. I figure the more info the better, so here you go. Not sure what to make of it. I see no UPnP Gateway found, how do I make it find it! Code:
[root@chicago ~]# //usr/local/altitude/server_launcher INFO : Initialized console logger INFO : Loading ServerLauncher config from /usr/local/altitude/servers/launcher_config.xml INFO : Reading commands from /usr/local/altitude/servers/command.txt INFO : Logging server activity to /usr/local/altitude/servers/log.txt INFO : Loading ban list from /usr/local/altitude/servers/ban_list.xml ERROR : java.net.UnknownHostException: 66.225.231.138, server1. 66.225.231.139, server2. 66.225.231.140, server3. 66.225.231.141, server4. 66.225.231.142, server5. java.net.UnknownHostException: 66.225.231.138, server1. 66.225.231.139, server2. 66.225.231.140, server3. 66.225.231.141, server4. 66.225.231.142, server5. at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressFromNameService(Unknown Source) at java.net.InetAddress.getAllByName0(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getByName(Unknown Source) at bf.e(SourceFile:239) at bf.<init>(SourceFile:142) at bf.a(SourceFile:691) at em.entry.EntryServerLauncher.main(SourceFile:15) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at em.update.client.launch.UpdateLauncher.a(SourceFile:245) at em.update.client.launch.UpdateLauncher.main(SourceFile:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.install4j.runtime.Launcher.main(Unknown Source) INFO : Configuring UPnP INFO : No UPnP gateway found INFO : Resolving update server vapor.nimblygames.com INFO : Update server is 75.102.27.114:31383 INFO : Initializing update module on local IP 0.0.0.0/0.0.0.0, UDP port 27275 INFO : Initial update check result: LOCAL_VERSION_IS_UP_TO_DATE INFO : Initializing '///AVO. H O U S E . OF . P A ! N | Hardwall // Custom' on UDP port 27276 INFO : Starting server on port 27276 INFO : Distributor is nimblygames INFO : Changing map: ball_planepark INFO : Initializing '///AVO. M A D H O U S E | Bouncy // Custom' on UDP port 27277 INFO : Starting server on port 27277 INFO : Distributor is nimblygames INFO : Changing map: ball_planepark INFO : FPM: initializing bot on port 100001 INFO : Initializing '///AVO. S C R I M | Private Match' on UDP port 27278 INFO : Starting server on port 27278 INFO : Distributor is nimblygames INFO : Changing map: tourney INFO : Initializing '///AVO. B O T | Practice' on UDP port 27279 INFO : Starting server on port 27279 INFO : Distributor is nimblygames INFO : Changing map: ball_planepark INFO : FPM: initializing bot on port 100001 INFO : FPM: initializing bot on port 100002 INFO : FPM: initializing bot on port 100003 INFO : FPM: initializing bot on port 100004 INFO : FPM: initializing bot on port 100005 INFO : FPM: initializing bot on port 100006 INFO : Initializing '///AVO. P A N D O R A | TBD, TDM, BALL, FFA' on UDP port 27280 INFO : Starting server on port 27280 INFO : Distributor is nimblygames INFO : Changing map: tdm_lostcity INFO : FPM: initializing bot on port 100001 INFO : FPM: initializing bot on port 100002 INFO : Starting 5 game servers INFO : Starting update poller INFO : [Data Transfer Since Launch] Outgoing: 0.000 GB, Incoming: 0.000 GB INFO : Handling join request from 0.0.0.0:100001 -> vg@1f<vaporId=00000000-0000-0000-0000-000000000000, nickName=Bot 1, loggedIn=true, ip=0.0.0.0:100001, sessionId=00000000-0000-0000-0000-000000000000, totalPlayTimeMillis=0 seconds, affiliateCode=0, referrerClickPoints=0, referrerOtherPoints=0, referrerAdminPoints=0, referrerUnlocks=[0, 0, 0, 0]> INFO : Adding client 'Bot 1' from 0.0.0.0:100001, playerId=0 INFO : Handling join request from 0.0.0.0:100001 -> vg@1f<vaporId=00000000-0000-0000-0000-000000000000, nickName=Bot 1, loggedIn=true, ip=0.0.0.0:100001, sessionId=00000000-0000-0000-0000-000000000000, totalPlayTimeMillis=0 seconds, affiliateCode=0, referrerClickPoints=0, referrerOtherPoints=0, referrerAdminPoints=0, referrerUnlocks=[0, 0, 0, 0]> INFO : Adding client 'Bot 1' from 0.0.0.0:100001, playerId=0 INFO : Handling join request from 0.0.0.0:100001 -> vg@1f<vaporId=00000000-0000-0000-0000-000000000000, nickName=Bot 1, loggedIn=true, ip=0.0.0.0:100001, sessionId=00000000-0000-0000-0000-000000000000, totalPlayTimeMillis=0 seconds, affiliateCode=0, referrerClickPoints=0, referrerOtherPoints=0, referrerAdminPoints=0, referrerUnlocks=[0, 0, 0, 0]> INFO : Adding client 'Bot 1' from 0.0.0.0:100001, playerId=0 INFO : Handling join request from 0.0.0.0:100002 -> vg@1f<vaporId=00000000-0000-0000-0000-000000000000, nickName=Bot 2, loggedIn=true, ip=0.0.0.0:100002, sessionId=00000000-0000-0000-0000-000000000000, totalPlayTimeMillis=0 seconds, affiliateCode=0, referrerClickPoints=0, referrerOtherPoints=0, referrerAdminPoints=0, referrerUnlocks=[0, 0, 0, 0]> INFO : Adding client 'Bot 2' from 0.0.0.0:100002, playerId=1 INFO : Handling join request from 0.0.0.0:100002 -> vg@1f<vaporId=00000000-0000-0000-0000-000000000000, nickName=Bot 2, loggedIn=true, ip=0.0.0.0:100002, sessionId=00000000-0000-0000-0000-000000000000, totalPlayTimeMillis=0 seconds, affiliateCode=0, referrerClickPoints=0, referrerOtherPoints=0, referrerAdminPoints=0, referrerUnlocks=[0, 0, 0, 0]> INFO : Adding client 'Bot 2' from 0.0.0.0:100002, playerId=1 INFO : Server is already listed on master server list, no need to send hello. INFO : Handling join request from 0.0.0.0:100003 -> vg@1f<vaporId=00000000-0000-0000-0000-000000000000, nickName=Bot 3, loggedIn=true, ip=0.0.0.0:100003, sessionId=00000000-0000-0000-0000-000000000000, totalPlayTimeMillis=0 seconds, affiliateCode=0, referrerClickPoints=0, referrerOtherPoints=0, referrerAdminPoints=0, referrerUnlocks=[0, 0, 0, 0]> INFO : Adding client 'Bot 3' from 0.0.0.0:100003, playerId=2 INFO : Handling join request from 0.0.0.0:100004 -> vg@1f<vaporId=00000000-0000-0000-0000-000000000000, nickName=Bot 4, loggedIn=true, ip=0.0.0.0:100004, sessionId=00000000-0000-0000-0000-000000000000, totalPlayTimeMillis=0 seconds, affiliateCode=0, referrerClickPoints=0, referrerOtherPoints=0, referrerAdminPoints=0, referrerUnlocks=[0, 0, 0, 0]> INFO : Adding client 'Bot 4' from 0.0.0.0:100004, playerId=3 INFO : Handling join request from 0.0.0.0:100005 -> vg@1f<vaporId=00000000-0000-0000-0000-000000000000, nickName=Bot 5, loggedIn=true, ip=0.0.0.0:100005, sessionId=00000000-0000-0000-0000-000000000000, totalPlayTimeMillis=0 seconds, affiliateCode=0, referrerClickPoints=0, referrerOtherPoints=0, referrerAdminPoints=0, referrerUnlocks=[0, 0, 0, 0]> INFO : Adding client 'Bot 5' from 0.0.0.0:100005, playerId=4 INFO : Handling join request from 0.0.0.0:100006 -> vg@1f<vaporId=00000000-0000-0000-0000-000000000000, nickName=Bot 6, loggedIn=true, ip=0.0.0.0:100006, sessionId=00000000-0000-0000-0000-000000000000, totalPlayTimeMillis=0 seconds, affiliateCode=0, referrerClickPoints=0, referrerOtherPoints=0, referrerAdminPoints=0, referrerUnlocks=[0, 0, 0, 0]> INFO : Adding client 'Bot 6' from 0.0.0.0:100006, playerId=5 INFO : Update check result: LOCAL_VERSION_IS_UP_TO_DATE, free memory: 46.5 / 67.4 MB INFO : Server is already listed on master server list, no need to send hello. INFO : Server is already listed on master server list, no need to send hello. INFO : Server is already listed on master server list, no need to send hello. INFO : Server is already listed on master server list, no need to send hello. Last edited by TRUEPAiN; 03-11-2010 at 05:36 AM. |
#2
|
|||
|
|||
![]()
Update: Failed to Decompose?
Code:
INFO : Update check result: LOCAL_VERSION_IS_UP_TO_DATE, free memory: 41.0 / 67.2 MB INFO : valid server hello response; remote IP is 66.225.231.138:27277 INFO : valid server hello response; remote IP is 66.225.231.138:27276 ERROR : Failed to decompose: (125.0,7.0), (122.0,5.0), (121.0,7.0), plus 107 more...: VP_ErrorRight ERROR : Failed to decompose: (125.0,7.0), (122.0,5.0), (121.0,7.0), plus 107 more...: VP_ErrorRight INFO : valid server hello response; remote IP is 66.225.231.138:27280 INFO : valid server hello response; remote IP is 66.225.231.138:27279 |
#3
|
|||
|
|||
![]()
Most likely an error in your config. Try a fresh install of altitude and run server_launcher with the default config to see if it works. If it does, then attempt to edit the config.
|
#4
|
|||
|
|||
![]() Quote:
Found 3 servers with 'Altitude Server' title, connected to them all. None had my IP. Edited config so the server name was 'AHHHHHHHHHHHH' in case I missed something, but that wasn't the case. :'( |
#5
|
|||
|
|||
![]()
centos is a hardened linux os with a powerful firewall.
Here's instructions on how to configure it: http://wiki.centos.org/HowTos/Network/IPTables As an *EXAMPLE* here is how we configured our iptables file for the Altitude servers: # Altitude Game Servers -A INPUT -p udp --dport 50000:50030 -j ACCEPT -A OUTPUT -p udp --sport 50000:50030 -j ACCEPT NUTSHELL guide: edit the file: Code:
/etc/sysconfig/iptables Code:
# Altitude Game Servers -A INPUT -p udp --dport 27276:27300 -j ACCEPT -A OUTPUT -p udp --sport 27276:27300 -j ACCEPT Code:
service iptables restart |
#6
|
|||
|
|||
![]()
I'm guessing the majority of servers are running on CentOS (mine are), so I'm pretty sure it's on your end
![]() |
#7
|
|||
|
|||
![]()
Still isn't being displayed.
Opened the Firewall for Altitude Fresh Install Rebooted Launched Server Nothing. |
#8
|
|||
|
|||
![]()
Ill post some screenshots and hopefully somoene can show us whats going wrong :/
Last edited by CCN; 03-14-2010 at 10:36 PM. |
#9
|
|||
|
|||
![]()
Alright, so.. I killed my firewall.. and it works now, so.. maybe there are some missing ports we don't know about?
|
#10
|
|||
|
|||
![]()
Chain INPUT (policy ACCEPT)
target prot opt source destination RH-Firewall-1-INPUT all -- anywhere anywhere ACCEPT udp -- anywhere anywhere udp dpts:27276:27300 Chain FORWARD (policy ACCEPT) target prot opt source destination RH-Firewall-1-INPUT all -- anywhere anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination ACCEPT udp -- anywhere anywhere udp spts:27276:27300 Chain RH-Firewall-1-INPUT (2 references) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT icmp -- anywhere anywhere icmp any ACCEPT esp -- anywhere anywhere ACCEPT ah -- anywhere anywhere ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns ACCEPT udp -- anywhere anywhere udp dpt:ipp ACCEPT tcp -- anywhere anywhere tcp dpt:ipp ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh REJECT all -- anywhere anywhere reject-with icmp-host-prohibited Thats the iptables -L, differing from the standard default firewall by the bolded, added section. Maybe I should write it from scratch via the wiki posted above. Anyway i'm leaving it for the day, hopefully someone will point out above where the port is both opened and closed or something super easy and obvious to non-noobs. CCN Last edited by CCN; 03-15-2010 at 12:51 PM. |
#11
|
|||
|
|||
![]()
I think the arrangement of where you put the ports for altitude matters. I think anything after reject = rejected
![]() |
#12
|
|||
|
|||
![]()
When you add iptables rules to an existing table you want to insert (-I), not append (-A), or your rules will be after the explicit deny. If you're adding/using a script you can flush the tables and use -A as long as the deny rule is at the end.
It's probably easier to use lokkit instead if it's installed and just do custom port udp ![]() ![]() ![]() Last edited by phong; 03-16-2010 at 05:07 AM. |
#13
|
|||
|
|||
![]()
Phong, I think you'll like the servers. They're hosted in Chicago
![]() |
#14
|
|||
|
|||
![]()
GUYS GUYS
THE SERVER MANUAL I CANT UNDERSTAND IT and i have A MAC ![]() |
#15
|
|||
|
|||
![]() |
![]() |
|
|