EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   EQEmu on Fedora 22 Server Minimal Guide (https://www.eqemulator.org/forums/showthread.php?t=39757)

Yummy 06-12-2015 11:43 PM

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.

rhyotte 07-05-2015 05:34 PM

Cool, thanks for sharing.

Yummy 09-06-2015 05:56 PM

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.

camryfu 10-12-2015 09:31 PM

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.

Cilraaz 10-12-2015 11:14 PM

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.

provocating 10-12-2015 11:17 PM

Quote:

Originally Posted by camryfu (Post 244225)
** REDACTED **

Woh, that is highly illegal here. No matter what a forum post, even if they are affiliated with EqEmu, no client postings here.

camryfu 10-12-2015 11:38 PM

Quote:

Originally Posted by provocating (Post 244239)
Woh, that is highly illegal here. No matter what a forum post, even if they are affiliated with EqEmu, no client postings here.

I am sorry about that.

camryfu 10-12-2015 11:40 PM

Quote:

Originally Posted by Cilraaz (Post 244237)
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.

https://dl.dropboxusercontent.com/u/.../sshot-556.png

this is my connection screen capture, I think zone is connected with world.

Uleat 10-12-2015 11:41 PM

It's ok - I usually don't ban unless there's a serious issue :)


Stuff like that is easily ** REDACTED ** :)

provocating 10-12-2015 11:45 PM

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.

provocating 10-12-2015 11:47 PM

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.

camryfu 10-13-2015 01:36 AM

Quote:

Originally Posted by provocating (Post 244246)
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.

I have disabled firewall.

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

camryfu 10-13-2015 01:37 AM

It seems that zone doesn't crash, just client linkdead.

provocating 10-13-2015 08:27 AM

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.

Cilraaz 10-13-2015 09:12 AM

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?


All times are GMT -4. The time now is 02:08 PM.

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