Altitude Game: Forums  

Go Back   Altitude Game: Forums > Altitude Support > Dedicated Server
FAQ Community Calendar

Dedicated Server Discuss technical issues related to hosting your own servers.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-11-2010, 05:33 AM
TRUEPAiN TRUEPAiN is offline
Senior Member
 
Join Date: Dec 2009
Location: Bay Area
Posts: 452
Default Dedicated Server Issues

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.
Reply With Quote
  #2  
Old 03-11-2010, 06:21 AM
TRUEPAiN TRUEPAiN is offline
Senior Member
 
Join Date: Dec 2009
Location: Bay Area
Posts: 452
Default

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
Reply With Quote
  #3  
Old 03-11-2010, 02:03 PM
phong phong is offline
Senior Member
 
Join Date: Jul 2009
Location: Chicago
Posts: 372
Default

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.
Reply With Quote
  #4  
Old 03-11-2010, 06:12 PM
TRUEPAiN TRUEPAiN is offline
Senior Member
 
Join Date: Dec 2009
Location: Bay Area
Posts: 452
Default

Quote:
Originally Posted by phong View Post
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.

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.


:'(
Reply With Quote
  #5  
Old 03-12-2010, 05:16 PM
Karl Karl is offline
Administrator
 
Join Date: May 2008
Posts: 1,206
Default

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
add the lines
Code:
# Altitude Game Servers
-A INPUT -p udp --dport 27276:27300 -j ACCEPT
-A OUTPUT -p udp --sport 27276:27300 -j ACCEPT
run the command
Code:
service iptables restart
Reply With Quote
  #6  
Old 03-12-2010, 07:47 PM
phong phong is offline
Senior Member
 
Join Date: Jul 2009
Location: Chicago
Posts: 372
Default

I'm guessing the majority of servers are running on CentOS (mine are), so I'm pretty sure it's on your end
Reply With Quote
  #7  
Old 03-12-2010, 11:00 PM
TRUEPAiN TRUEPAiN is offline
Senior Member
 
Join Date: Dec 2009
Location: Bay Area
Posts: 452
Default

Still isn't being displayed.

Opened the Firewall for Altitude
Fresh Install
Rebooted
Launched Server
Nothing.
Reply With Quote
  #8  
Old 03-14-2010, 10:17 PM
CCN CCN is offline
Senior Member
 
Join Date: Jun 2009
Location: Xiang Gang
Posts: 1,992
Default

Ill post some screenshots and hopefully somoene can show us whats going wrong :/

Last edited by CCN; 03-14-2010 at 10:36 PM.
Reply With Quote
  #9  
Old 03-15-2010, 06:13 AM
TRUEPAiN TRUEPAiN is offline
Senior Member
 
Join Date: Dec 2009
Location: Bay Area
Posts: 452
Default

Alright, so.. I killed my firewall.. and it works now, so.. maybe there are some missing ports we don't know about?
Reply With Quote
  #10  
Old 03-15-2010, 12:46 PM
CCN CCN is offline
Senior Member
 
Join Date: Jun 2009
Location: Xiang Gang
Posts: 1,992
Default

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.
Reply With Quote
  #11  
Old 03-15-2010, 09:57 PM
TRUEPAiN TRUEPAiN is offline
Senior Member
 
Join Date: Dec 2009
Location: Bay Area
Posts: 452
Default

I think the arrangement of where you put the ports for altitude matters. I think anything after reject = rejected
Reply With Quote
  #12  
Old 03-16-2010, 04:59 AM
phong phong is offline
Senior Member
 
Join Date: Jul 2009
Location: Chicago
Posts: 372
Default

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 udport-port or udport1 udport2, you can also disable selinux there.

Last edited by phong; 03-16-2010 at 05:07 AM.
Reply With Quote
  #13  
Old 03-16-2010, 05:09 AM
TRUEPAiN TRUEPAiN is offline
Senior Member
 
Join Date: Dec 2009
Location: Bay Area
Posts: 452
Default

Phong, I think you'll like the servers. They're hosted in Chicago
Reply With Quote
  #14  
Old 03-29-2010, 02:23 AM
zackzingki zackzingki is offline
Senior Member
 
Join Date: Jan 2010
Location: Miami, Florida
Posts: 106
Send a message via Skype™ to zackzingki
Default

GUYS GUYS
THE SERVER MANUAL
I CANT UNDERSTAND IT and i have A MAC
Reply With Quote
  #15  
Old 03-29-2010, 10:08 PM
Ajuk999 Ajuk999 is offline
Senior Member
 
Join Date: Dec 2009
Location: United States
Posts: 3,823
Send a message via AIM to Ajuk999
Default

Go to System Preferences--->Security--->Firewall--->Turn Off.
After I did that, I could easily manage servers, and others could join my servers.



Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:11 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
2008 Nimbly Games LLC