EQEmu on Fedora 22 Server Minimal Guide
I got this hairbrained idea to document my most recent EQEmu build on Fedora.
http://blog-harmonson.rhcloud.com/20...erver-minimal/ Feel free to provide constructive criticism, suggestions, or whatever. If I learn something new, I am happy. |
Cool, thanks for sharing.
|
Updated.
It had one very glaring flaw where I broke LUA scripts due to not moving lua_modules. Embarrassing, but it is now in the guide. I have added a few other tweaks but nothing as substantial. |
First, thanks for your guide.
I follow your guild to setup my own eqemu server include loginserver, everything seems setup correctly, and I got RoF(or RoF2) from this link: ** REDACTED ** unzip it into a folder, change eqhost.txt to my loginserver like this: [LoginServer] Host=172.16.10.48:5999 ===== my eqemu_config.xml: <?xml version="1.0"?> <server> <world> <shortname>LATTE</shortname> <longname>LATTE EQ</longname> <!-- Only specify these two if you really think you need to. (read: You don't) --> <!-- <address>172.16.10.48</address> --> <!-- <localaddress>172.16.10.48</localaddress> --> <!-- Loginserver information. Defaults shown --> <loginserver> <host>172.16.10.48</host> <port>5998</port> <account></account> <password></password> </loginserver> <!-- Server status. Default is unlocked --> <!--<locked/>--> <unlocked/> <!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown --> <tcp ip="127.0.0.1" port="9000" telnet="disable"/> <!-- Sets the shared key used by zone/launcher to connect to world --> <key>ifjhgyt7r6v7vrv5kbfdshdjffkhbfuvydr678ccvbn09 86fr</key> <!-- Enable and set the port for the HTTP service. Defaults are shown --> <http port="9080" enabled="false" mimefile="mime.types" /> </world> <!-- Chatserver (channels) information. Defaults shown --> <chatserver> <host>localhost</host> <port>7778</port> </chatserver> <!-- Mailserver (in-game mail) information. Defaults shown --> <mailserver> <host>localhost</host> <port>7778</port> </mailserver> <zones> <defaultstatus>20</defaultstatus> <!-- Sets port range for world to use to auto configure zones --> <ports low="7000" high="7100"/> </zones> <!-- Database configuration, replaces db.ini. Defaults shown --> <database> <host>127.0.0.1</host> <port>3306</port> <username>root</username> <password>123321</password> <db>peq</db> </database> <qsdatabase> <host>127.0.0.1</host> <port>3306</port> <username>root</username> <password>123321</password> <db>peq</db> </qsdatabase> <!-- Launcher Configuration --> <launcher> <!-- <logprefix>logs/zone-</logprefix> --> <!-- <logsuffix>.log</logsuffix> --> <!-- <exe>zone.exe or ./zone</exe> --> <!-- <timers restart="10000" reterminate="10000"> --> </launcher> <!-- File locations. Defaults shown --> <files> <!-- <spells>spells_us.txt</spells> --> <!-- <opcodes>opcodes.conf</opcodes> --> <!-- <logsettings>log.ini</logsettings> --> <!-- <eqtime>eqtime.cfg</eqtime> --> </files> <!-- Directory locations. Defaults shown --> <directories> <!-- <maps>Maps</maps> --> <!-- <quests>quests</quests> --> <!-- <plugins>plugins</plugins> --> </directories> </server> === and my login.ini: [database] host = localhost port = 3306 db = peq user = root password = 123321 subsystem = MySQL [options] unregistered_allowed = TRUE reject_duplicate_servers = FALSE trace = TRUE world_trace = FALSE dump_packets_in = FALSE dump_packets_out = FALSE listen_port = 5998 local_network = 172.16.10. [security] plugin = EQEmuAuthCrypto mode = 5 [Titanium] port = 5998 opcodes = login_opcodes.conf [SoD] port = 5999 opcodes = login_opcodes_sod.conf [schema] account_table = tblLoginServerAccounts world_registration_table = tblWorldServerRegistration world_admin_registration_table = tblServerAdminRegistration world_server_type_table = tblServerListType I can login , can see my server in list, join it, and create character, but hang w while and crash when I click "enter world" my client logs (it's large so I post link below): https://dl.dropboxusercontent.com/u/26140408/dbg.txt I can not figure out what is goning on? So I try to do a test, use same client and modify eqhost.txt to: [LoginServer] Host=login.eqemulator.net:5999 Login, select one server, join, create character, enter world, perfert!!!! So, that's not client fault, it must be something wrong in my server. |
Are your zone servers running and properly connected to the world server? It could also be a RoF2 issue. I believe the client isn't compatible by default.
|
Quote:
|
Quote:
|
Quote:
this is my connection screen capture, I think zone is connected with world. |
It's ok - I usually don't ban unless there's a serious issue :)
Stuff like that is easily ** REDACTED ** :) |
If you can see the server then that normally means world is connected. If you cannot zone into the world but the zone servers are up, then normally the zones are crashing or you are blocked on those ports by a firewall.
|
If it were me, I would open a prompt for world and then a few prompts for a few zones, launch them manually. Then log in with your client and see if they are crashing. So launch around 3 bash prompts and run shared_memory, login server and world in one. Then run a few more and do your ./zone in each of those.
When you log in, if zone is indeed crashing you should see the crash happen in the bash prompt. If a crash is happening then we can diagnose that down next. |
Quote:
https://dl.dropboxusercontent.com/u/.../sshot-557.png And this picture indicates I use 5 prompts to create 5 zones. Finally, EQ client crashed. seems nothing special except one prompt shows Client linkdead. : https://dl.dropboxusercontent.com/u/.../sshot-558.png |
It seems that zone doesn't crash, just client linkdead.
|
That really looks like a firewall issue. Make sure ports 7000~7020 or so are open and if you have a router, that those ports are opened and forwarded to the server. Just to be sure use a remote port scanner to see if those ports are open and listening.
Just curious does the client immediately crash or is there a long delay? That matters. |
What do you mean by "disabled the firewall"? Did you move this box to the DMZ? Was the router firewall disabled? Were IPTables rules dumped?
|
I run server in a fedora 22 VM, and client in host (win 10).
I disabled firewall means iptable is inactive in that VM. I have own loginserver (see eqemu_config.xml), all in LAN environment. for some tests (via login.emulator.net loginserver), I also set my router open ports: https://dl.dropboxusercontent.com/u/.../sshot-561.png sorry for my mother language(Traditional Chinese), I add some description on it. Any idea for me? thanks in advanced. |
One thing glaring at me is this.
Code:
<!-- <address>172.16.10.48</address> --> Code:
<address>172.16.10.48</address> |
Quote:
https://dl.dropboxusercontent.com/u/.../sshot-564.png |
Don't give up on us.
The correct questions still need to be asked. |
Quote:
|
Could you post some of your logs, we need to see if there are errors when you are logging in.
|
one clue maybe I can provide is when I start ./world it show up shomething needs to be updated...
https://dl.dropboxusercontent.com/u/.../sshot-565.png hope this help to solve the problem. I do from 3 to 20 item, nothing changed, then 0 to exit, it continue to load and wait zone to connect. https://dl.dropboxusercontent.com/u/.../sshot-566.png |
Quote:
server side logs: https://dl.dropboxusercontent.com/u/...rside_logs.rar client side logs: https://dl.dropboxusercontent.com/u/...tside_Logs.rar thanks for your help. |
Ok, the window output says there are missing updates.
You will need to press #3 to search for updates. Then press #3 again, if the message changes to PENDING updates. Quote:
EDIT: You should probably run shared_memory.exe again before starting the server, too. |
Quote:
https://dl.dropboxusercontent.com/u/.../sshot-568.png It said that save db_update_manifest.txt in db_update, but nothing there: https://dl.dropboxusercontent.com/u/.../sshot-569.png |
I checked that "https://raw.githubusercontent.com/EQEmu/Server/master/utils/sql/db_update_manifest.txt" exists, why it can't retrive it and save it?
|
I would expect to see some world logs, but your dump has none.
|
Maybe the world is not actually up.
I try to download https://raw.githubusercontent.com/EQ...e_manifest.txt manually, and put it into /home/eqadmin/eqemu/server/db_update, re-run "3", then it begin to do something...: Code:
Enter numbered option and press enter... |
Now you are getting somewhere.
|
That shows you have multiple pending updates, so you'd want to run #3 again.
|
It may be downloading the update files..but, not saving them.
Does your revision change after the update? Quote:
|
You need to make sure that you are running world in context of your server directory
Also, make sure the user you are using to run world can also make folders and files. Beyond that make sure the db_update folder can be written by anything if that doesn't fix it. The db_update.pl script that gets ran by world needs to be able to save files and use them to work with them. |
Quote:
https://dl.dropboxusercontent.com/u/.../sshot-570.png |
Quote:
https://dl.dropboxusercontent.com/u/.../sshot-571.png https://dl.dropboxusercontent.com/u/.../sshot-572.png https://dl.dropboxusercontent.com/u/.../sshot-573.png and the folder own is same user (eqadmin): https://dl.dropboxusercontent.com/u/.../sshot-574.png it should be written in that folder. |
Because of no more update need after world startup, I try to re-run client to seek for luck, but crash again.
|
Are you sure that the updates ran? If they aren't able to pull down the manifest and the update files during the update, you may have not actually had anything updated at all.
When the manifest gets pulled down (First option 3 run) you should also see all of the updates you are missing in the same run. Second run will then apply those updates. I would set your db_version 'version' column to 0 and run it again manually. If you're missing database schema updates that can cause a client crash inevitably. If you're completely updated for sure and your client is still crashing, you could have a corrupt character and I would try to make another after you are fully updated. |
Quote:
https://dl.dropboxusercontent.com/u/.../sshot-575.png https://dl.dropboxusercontent.com/u/.../sshot-576.png then re-run client, it still crashed. |
Make sure to re-run shared_memory.exe too.
|
|
Quote:
|
All times are GMT -4. The time now is 08:31 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.