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 02-13-2012, 07:23 PM
Harcourt
Sarnak
 
Join Date: Jul 2011
Posts: 33
Default Today I cannot get past server select

I'm scratching my head on this one.

I've been running my server happily since last summer, and everything was working just fine last week.
I come in today and find the machine locked up.

After power cycling, X wouldn't start. But removing the nvidia drivers and updating seemed to fix things. During this process a newer kernel was installed. I have booted under the previous kernel, and this did not fix anything.

Once booted, I go to start up eqemu and receive an error message about the shared memory region being the wrong size (rebuild him bigger stronger etc). I kill the servers and remove the IPC regions.

After restarting, I am able to select a server with the client, but the client's screen goes black (with the gold arrow). It sits there for a bit and then returns to server select. (One minute transpires from login until server select).

I had been making some database changes last week, so I restored from a known good database. The behavior remains the same. So I don't think any database changes are to blame.

Comparing a snapshot of the log directory before selecting a server and afterwards shows that only the login server's log is modified. A diff of
the two versions:

Code:
< [Client] [02.13.12 - 16:41:31] Found sequence and play of 5 1
< [Network Trace] [02.13.12 - 16:41:31] dumping packet of size 20
< 05 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  | ................
< 01 00 00 00                                        | ....
< [Network Trace] [02.13.12 - 16:41:31] Sending play response with following data, allowed 1, sequence 5, server number 1, message 101
< [Network Trace] [02.13.12 - 16:41:31] dumping packet of size 20
< 05 00 00 00 00 00 00 00 - 00 00 01 65 00 00 00 00  | ...........e....
< 01 00 00 00                                        | ....
< [Network Trace] [02.13.12 - 16:41:31] Sending play response for Harcourt.
< [Network Trace] [02.13.12 - 16:41:31] dumping packet of size 20
< 05 00 00 00 00 00 00 00 - 00 00 01 65 00 00 00 00  | ...........e....
< 01 00 00 00                                        | ....
< [Network] [02.13.12 - 16:41:32] Client disconnected from the server, removing client.
< [Network] [02.13.12 - 16:42:33] New SoD client connection from 129.120.60.236:55652
< [Network] [02.13.12 - 16:42:33] Application packet recieved from client (size 14)
< [Network] [02.13.12 - 16:42:33] Session ready recieved from client.
< [Network] [02.13.12 - 16:42:33] Session ready indicated logged in from world(unsupported feature), disconnecting.
This looks like the same response as previously successful logins received. Again, that is the only logfile that changes on the server.

The server is a modified r1976 (although no code changes in a few months). I know this is from July, but it has been working fine for what I'm doing.

My rough read on this is that the response is sent but not received by the client. Both machines are on the same switch, and both have working networks (can browse the web). I was able to log onto a live server from the client machine. Can anyone think of a good next step to troubleshoot this?

Here's hoping that the problem miraculously fixes itself after the forum post.
Reply With Quote
  #2  
Old 02-13-2012, 08:26 PM
Harcourt
Sarnak
 
Join Date: Jul 2011
Posts: 33
Default

Problem resolved. At least it wasn't immediately after posting...

Somehow iptables was modified, and blocking some of the traffic. That only took 5 hours to find
Reply With Quote
  #3  
Old 03-14-2012, 03:44 PM
Warking
Hill Giant
 
Join Date: Mar 2012
Location: Norrath
Posts: 132
Default

Can you elaborate more on your resolution? IP tables where? Client side or Server Firewall Side?

I can login via the LAN but when friends login externally I get the same issue. with basically the same output:

eqemulogin listening to port5999


[Network] [03.14.12 - 15:22:04] New SoD client connection from xx.xxx.xxx.xx:647
26
[Network] [03.14.12 - 15:22:04] Application packet recieved from client (size 14
)
[Network] [03.14.12 - 15:22:04] Session ready recieved from client.
[Network] [03.14.12 - 15:22:04] Application packet recieved from client (size 28
)
[Network] [03.14.12 - 15:22:04] Login recieved from client.
[Client] [03.14.12 - 15:22:04] User: Hoe1
[Client] [03.14.12 - 15:22:05] Hash: 6cfeeffadd76a209c7ec6a35a060b7b48e088e71
[Network] [03.14.12 - 15:22:05] Application packet recieved from client (size 12
)
[Network] [03.14.12 - 15:22:05] Server list request recieved from client.
[Network] [03.14.12 - 15:22:09] Application packet recieved from client (size 16
)
[Network] [03.14.12 - 15:22:09] Play recieved from client, server number 1 seque
nce 5.
[Network Trace] [03.14.12 - 15:22:09] User-To-World Response recieved.
[Client] [03.14.12 - 15:22:09] Trying to find client with user id of 8.
[Client] [03.14.12 - 15:22:09] Found client with user id of 8 and account name o
f Hoe1.
[Client] [03.14.12 - 15:22:09] Found sequence and play of 5 1
[Network Trace] [03.14.12 - 15:22:09] dumping packet of size 20:
0000: 05 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 | ................
0016: 01 00 00 00 | ....
[Network Trace] [03.14.12 - 15:22:09] Sending play response with following data,
allowed 1, sequence 5, server number 1, message 101
[Network Trace] [03.14.12 - 15:22:09] dumping packet of size 20:
0000: 05 00 00 00 00 00 00 00 - 00 00 01 65 00 00 00 00 | ...........e....
0016: 01 00 00 00 | ....
[Network Trace] [03.14.12 - 15:22:09] Sending play response for Hoe1.
[Network Trace] [03.14.12 - 15:22:09] dumping packet of size 20:
0000: 05 00 00 00 00 00 00 00 - 00 00 01 65 00 00 00 00 | ...........e....
0016: 01 00 00 00 | ....
[Network] [03.14.12 - 15:22:11] Client disconnected from the server, removing cl
ient.
Reply With Quote
  #4  
Old 03-17-2012, 12:02 AM
Harcourt
Sarnak
 
Join Date: Jul 2011
Posts: 33
Default

iptables is a Linux packet filtering mechanism. So the problem was server-side, and unrelated to eqemu (other than affecting eqemu operation). Packets from the client to the server were discarded, and both client and server were upset that they didn't hear back from the other.

If you believe this is the same problem, look for firewalls/packet filters between the client and the server.

Edit: just noticed the part about external connections not working (it is late for me atm). This screams out packet filtering on a router. Make sure the proper ports are opened.
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 -4. The time now is 12:23 AM.


 

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