EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   script build, see server but cant get to char select (https://www.eqemulator.org/forums/showthread.php?t=41774)

Fluff 02-18-2018 05:26 PM

script build, see server but cant get to char select
 
Greetings,

(tl;dr - I figured this out in the process of documenting what I tried, perhaps someone else will find it useful)

It has been a long time since I've been back. I set up a server using the script on Ubu 16.04 in a windows virtual machine. Network setting is bridged.

I started the server with the script:
server_start_with_login.sh

This seemed to work fine, if I do ps I see the login server, world, multiple zones running.

I set up a client, I have two versions, one UF, one RoF (not sure if it is technically 1 or 2). Both were acquired about 2013/2014 and both used to work on eqemu at that time.

Pointed eqhosts to my server on port 5999. The client starts up fine and I see a server named "Akkras Linux PEQ Installer (Uv7vUb)" with status up. When I click play, the client screen goes black for quite a while (over a minute) until it returns sometimes with a message suggesting I patch, other times it just doesn't return at all.

I greatly appreciate the scripted installation but I feel very out-of-touch with my install, like I'm not quite certain where to troubleshoot. Gone is the old spam on the terminal telling me if I connected or cryptic messages that might let me know why my client failed.

My client dbg.txt states:
[Sun Feb 18 12:31:37 2018]00040:Memory mode defaulted to Maximum
[Sun Feb 18 12:31:37 2018]00041:Networking: using port [57783].
[Sun Feb 18 12:31:37 2018]00042:Networking: Connection Established [1]
[Sun Feb 18 12:32:37 2018]00043:*** WorldAuthenticate. Error connecting to 127.0.0.1:9000 [client:DisconnectReasonConnectFail,server:Disconne ctReasonNone]

[Sun Feb 18 12:32:37 2018]00044:Networking: Connection Closed [0] with 0 pending bytes.
[Sun Feb 18 12:32:37 2018]00045:*** ERROR: WorldAuthenticate has failed after attempting to connect.
[Sun Feb 18 12:32:37 2018]00046:Cleanup 4

I am wondering if this is because the world server is looking on localhost (127.0.0.1) instead of my VM ip address? My VMs address is DHCP so it is going to change most likely unless I set it static.

I altered the start up script to enable debug by removing the quiet option, and I altered the eqemu_configconfig json to use the servers actual ip address instead of 127.0.0.1 for the PEQ Installer entry.

I see my client connect, no errors, and then I see it try to initiate the game and nothing ever comes back until the client fails. Even with the change to config, the dbg.txt on the client shows itself trying to connect to 127.0.0.1.

In desperation with nothing else to try, I tried changing the ip of the login server to the actual ip instead of the loopback within the config json, restart, and lo and behold, I can play.

Just passing along my experience. Thanks to the developers for all their hard work! It is amazing how far along it has come.

Shin Noir 02-18-2018 05:56 PM

Hop on your database and look for logsys_categories table
find the World_Server section
log_to_console set from 1 to 3


or run:
UPDATE logsys_categories SET log_to_console=3 WHERE log_category_id = 33;

you may get more insight with this.

kokey98 02-18-2018 11:59 PM

When i first ran the json conversion, i also had to use "127.0.0.1" instead of the previously used "localhost". i'm 95% sure i didn't do anythign else to get it to load... glimmer of a memory is saying it may have been due to vpn app, though. (server won't load when it's on, as currently configured).

fairly certain i only made that one change before it worked. it has been a bit, though.


All times are GMT -4. The time now is 04:25 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.