Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-23-2011, 08:01 PM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,292
Default

How about some log outputs from the login/world/zone - whatever stages you pass through.

Also I saw that the address/localaddress fields are commented out, I am not sure linux will be as friendly as windows when it comes to recognizing the interface to use.
__________________
www.eq2emu.com
EQ2Emu Co-Founder / EQ2Emu Developer
EQEMu Co-Founder / Former EQEMu Developer / GuildWars / Zek Seasons Servers
Reply With Quote
  #2  
Old 05-23-2011, 08:28 PM
orkim
Sarnak
 
Join Date: Sep 2008
Location: -
Posts: 31
Default

It is almost certainly that you have this:

Quote:
<!-- Sets the ip/port for the tcp connections. DO NOT EDIT -->
<tcp ip="localhost" port="9000" telnet="disable"/>
When you are installing behind a firewall (with a local LAN IP address) you will have to set this to your public IP. Now, you may or may not have a router, but I'm assuming your VM is on a private (192.168.x.x, 172.16.x.x, 10.x.x.x or similar) IP address and will need to have this set.

It would make sense that your windows box could connect to the server on the VM (local address to local address) but the VM wont send the proper (public) IP address back out to the EQ clients until you fix this. If you have a dynamic IP, you'll have to change it each time it updates.

Hope that helps,

-orkim
Reply With Quote
  #3  
Old 05-24-2011, 01:25 AM
Sikkun
Sarnak
 
Join Date: Apr 2011
Posts: 30
Default

So I tried changing my .xml to (ip I got from sudo ifconfig)

Code:
<tcp ip="192.168.158.128" port="9000" telnet="disable"/>
which gets me log files all the way up to starting the 5 zones.

Code:
---------------------------------------------
6558 [05.24. - 01:20:07] Starting Log: logs/eqemu_debug_world.log
6558 [05.24. - 01:20:07] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1223058576
6558 [05.24. - 01:20:07] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1231451280
6558 [05.24. - 01:20:07] [WORLD__INIT] Loading server configuration..
6558 [05.24. - 01:20:07] [WORLD__INIT] Log settings loaded from log.ini
6558 [05.24. - 01:20:07] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEmulator 0.8.0
6558 [05.24. - 01:20:07] [WORLD__INIT] Added loginserver eqemulator.net:5998
6558 [05.24. - 01:20:07] [WORLD__INIT] Connecting to MySQL...
6558 [05.24. - 01:20:07] [WORLD__INIT] HTTP world service disabled.
6558 [05.24. - 01:20:07] [WORLD__INIT] Loading variables..
6558 [05.24. - 01:20:07] [WORLD__INIT] Loading zones..
6558 [05.24. - 01:20:07] [COMMON__THREADS] Starting DBAsyncLoop with thread ID -1241515152
6558 [05.24. - 01:20:07] [WORLD__INIT] Clearing groups..
6558 [05.24. - 01:20:07] [WORLD__INIT] Clearing raids..
6558 [05.24. - 01:20:07] [WORLD__INIT] Loading items..
6558 [05.24. - 01:20:09] [WORLD__INIT] Loading guilds..
6558 [05.24. - 01:20:09] [GUILDS__ERROR] Found rank 0 for non-existent guild 1, skipping.
6558 [05.24. - 01:20:09] [GUILDS__ERROR] Found rank 1 for non-existent guild 1, skipping.
6558 [05.24. - 01:20:09] [GUILDS__ERROR] Found rank 2 for non-existent guild 1, skipping.
6558 [05.24. - 01:20:09] [WORLD__INIT] Loaded default rule set 'default'
6558 [05.24. - 01:20:09] [WORLD__INIT] Clearing temporary merchant lists..
6558 [05.24. - 01:20:09] [WORLD__INIT] Loading EQ time of day..
6558 [05.24. - 01:20:09] [WORLD__INIT] Loading launcher list..
6558 [05.24. - 01:20:09] [WORLD__INIT] Reboot zone modes ON
6558 [05.24. - 01:20:09] [WORLD__INIT] Deleted 0 stale player corpses from database
6558 [05.24. - 01:20:09] [WORLD__INIT] Deleted 0 stale player backups from database
6558 [05.24. - 01:20:09] [WORLD__INIT] Loading adventures...
6558 [05.24. - 01:20:09] [WORLD__INIT] Purging expired instances
6558 [05.24. - 01:20:09] [WORLD__INIT_ERR] Failed to start zone (TCP) listener on port 9000:
6558 [05.24. - 01:20:09] [WORLD__INIT_ERR]         bind(): <0
6558 [05.24. - 01:20:09] [COMMON__THREADS] Ending TCPServerLoop with thread ID -1231451280
6558 [05.24. - 01:20:09] [COMMON__THREADS] Ending TCPServerLoop with thread ID -1223058576
but now no one can log onto my server. Any ideas on how to get the proper ip to change the config to?
Reply With Quote
  #4  
Old 05-24-2011, 09:21 AM
orkim
Sarnak
 
Join Date: Sep 2008
Location: -
Posts: 31
Default

That is a private IP address. Anything (172.16.x.x, 192.168.x.x, 169.x.x.x or 10.x.x.x, etc) that is a private address is not going to work if you're trying to connect to it via the internet.

Go get your public address. If you do not know how to get it from your router/modem then use a public site like http://whatismyipaddress.com/ or one of the hundred other ones of your choice.

However, I did hastily read your post and cut/paste the wrong section. Put your entry back to 'localhost' for the <tcp> tag and update these:

Quote:
<address>1.2.3.4</address>
<localaddress>192.168.x.x</localaddress>
The <address> tag will contain your public address. This is passed to the login server and when a user connects successfully, it will tell it to connect to your server at this address (your public internet address). The <localaddress> is what will be used internally and passed to your zone servers. It may seem funky, but its due to the fact that you're server isn't accessible publicly, but through a router/bridge/something else/etc. because of your setup.

More info here: http://www.eqemulator.net/wiki/wikka...tion#addresses

You *will* need to set these. =)

Beyond that, you're talking about ports being forwarded properly, and that you don't have the router/modem, windows firewall, virtualization software itself, or linux firewall in the way. Ports could be blocked anywhere down that chain.

Try that, and get back,

-orkim
Reply With Quote
  #5  
Old 05-24-2011, 11:42 AM
Sikkun
Sarnak
 
Join Date: Apr 2011
Posts: 30
Default

Hey,

So I'm trying:
Code:
<address>97.143.11.53</address> 
<localaddress>192.168.158.128</localaddress>
which is adress = ip from whatsmyip (in linux box)
and localaddress - sudo ifconfig (in linux box)

changed the other one back to localhost.

Now im back to the orginal problem =( can log on from the local host but not from any other computer.

I also tried this using 0 firewalls on both computers.

I almost want to say the problem is because im using a evdo 3g air card, but seeing that has no problem allowing users to connect on windows it has to be something in the config.

Alo my Vmware only lets me connect to the internet using NAT (to share the ip with my host) not sure if that coule be a problem.

Thanks,
Sikkun
Reply With Quote
  #6  
Old 05-24-2011, 01:53 PM
orkim
Sarnak
 
Join Date: Sep 2008
Location: -
Posts: 31
Default

You should now be able to connect to your server from the internet. Have a friend, or someone outside your LAN, confirm that they can connect. I do not see why a 3g card would be an issue as long as your connection is outside the LAN the eqemu server is running on.

If not, it must be ports that are not forwarded properly. Port 9000, and all zone ports (viewable in the database) must be forwarded.

Can you confirm this works?
Reply With Quote
  #7  
Old 05-24-2011, 03:12 PM
Sikkun
Sarnak
 
Join Date: Apr 2011
Posts: 30
Default

Currently you can not log onto the server outside of the lan.

I have a feeling it has something to do with Vmware's NAT connection, I don't know if there is anyone that has there server running on vmware that has any hints??
Reply With Quote
Reply

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

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

Forum Jump

   

All times are GMT -4. The time now is 11:52 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3