EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Loading Server configuration failed (https://www.eqemulator.org/forums/showthread.php?t=36404)

Kingmen30264 02-03-2013 05:49 PM

Loading Server configuration failed
 
I current have the entire setup working... for the most part. The only thing that I keep having is that when I run my bat file, it will load the EQEmu Login Server, but when it loads the world.exe it sits for about 30s and then closes out and gives the following error:

Code:


[02.02. - 15:35:02] Starting Log: logs/eqemu_debug_world_0412.log
[02.02. - 15:35:02] [WORLD__INIT] Loading server configuration..
[02.02. - 15:35:02] [WORLD__INIT_ERR] Loading server configuration failed.

I have gone through all of my files, and I cannot seem to find the issue that is causing this. It tells me that it failed to load the server configuration, but I do not see this file(?) anywhere in my folders.

This is the only window that stays up:

http://i215.photobucket.com/albums/c...oginServer.png

Here are my eqemulogin.ini, login.ini, and eqemu_config.xml files.

eqemulogin.ini:

Code:


Port=5999
DumpPacketsIn=true
DumpPacketsOut=true
Trace=false
DatabaseServerName=localhost
DatabaseCatalogName=peq
DatabaseUserName=root
DatabaseUserPassword=****
OPCodePathAndFileName=login_opcodes.conf

login.ini:

Code:


[database]
host = localhost
port = 3306
db = peq
user = root
password = *****
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 = 127.0.0.1

[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

eqemu_config.xml:

Code:


<?xml version="1.0">
<server>
        <world>
                <shortname>SLF</shortname>
                <longname>Secrets Long Forgotten</longname>

                <!-- Only specify these two if you really think you need to.  (read: You don't) -->
                <address>127.0.0.1</address>
              <localaddress>127.0.0.1</localaddress>

                <!-- Loginserver information.  Defaults shown -->
                <loginserver>
                        <host>eqemulator.net</host>
                        <port>5999</port>
                        <account>kingmen30264</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="enable"/>

                <!-- Sets the shared key used by zone/launcher to connect to world -->
                <key>random password</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></host>
                <port>7778</port>
        </chatserver>

        <!-- Mailserver (in-game mail) information.  Defaults shown -->
        <--mailserver-->
                <host></host>
                <port>7779</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>localhost</host>
                <port>3306</port>
                <username>root</username>
                <password>*****</password>
                <db>peq</db>
        </database>

        <!-- Launcher Configuration --> 
        <launcher>
                <!-- <logprefix>logs/zone-</logprefix> -->
                <!-- <logsuffix>.log</logsuffix> -->
                <!-- <exe>zone.exe or ./zone</exe> -->
                <!-- <timers restart="10000" reterminate="10000" initial="20000" interval="2000"> -->
        </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>

I am pretty sure that I have everything in here setup the way that it needs to be, but I guess not as I am getting the error.

Any and all help is greatly appreciated.

~Thanks
Kingmen

Zamthos 02-03-2013 06:03 PM

Here is mine, just change the 'XXXXXXXX' to the corresponding thing.

Code:

<?xml version="1.0">
<server>
        <world>
                <shortname>XXXXXXXXX</shortname>
                <longname>XXXXXXXXXXX</longname>

                <!-- Only specify these two if you really think you need to.  (read: You don't) -->
                <!-- <address>some.server.com</address> -->
                <!-- <localaddress>192.168.0.5</localaddress> -->

                <!-- Loginserver information.  Defaults shown -->
                <loginserver>
                        <host>eqemulator.net</host>
                        <port>5998</port>
                        <account>XXXXXXXXX</account>
                        <password>XXXXXXXX</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="localhost" port="9000" telnet="disable"/>

                <!-- Sets the shared key used by zone/launcher to connect to world -->
                <key>XXXXXXXX</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>channels.eqemulator.net</host>
                <port>7778</port>
        </chatserver>

        <!-- Mailserver (in-game mail) information.  Defaults shown -->
        <mailserver>
                <host>channels.eqemulator.net</host>
                <port>7779</port>
        </mailserver>

        <zones>
                <defaultstatus>0</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>localhost</host>
                <port>3306</port>
                <username>root</username>
                <password>root</password>
                <db>peq</db>
        </database>

        <!-- 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>


Derision 02-03-2013 06:17 PM

The way you have tried to comment out the mail and chatserver blocks in eqemu_config.xml seems to be the problem. Either delete the blocks all together or remove the attempted comments.

This should get you further:
Code:

<?xml version="1.0">
<server>
        <world>
                <shortname>SLF</shortname>
                <longname>Secrets Long Forgotten</longname>

                <!-- Only specify these two if you really think you need to.  (read: You don't) -->
                <address>127.0.0.1</address>
              <localaddress>127.0.0.1</localaddress>

                <!-- Loginserver information.  Defaults shown -->
                <loginserver>
                        <host>eqemulator.net</host>
                        <port>5999</port>
                        <account>kingmen30264</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="enable"/>

                <!-- Sets the shared key used by zone/launcher to connect to world -->
                <key>random password</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></host>
                <port>7778</port>
        </chatserver>

        <!-- Mailserver (in-game mail) information.  Defaults shown -->
        <mailserver>
                <host></host>
                <port>7779</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>localhost</host>
                <port>3306</port>
                <username>root</username>
                <password>*****</password>
                <db>peq</db>
        </database>

        <!-- Launcher Configuration -->
        <launcher>
                <!-- <logprefix>logs/zone-</logprefix> -->
                <!-- <logsuffix>.log</logsuffix> -->
                <!-- <exe>zone.exe or ./zone</exe> -->
                <!-- <timers restart="10000" reterminate="10000" initial="20000" interval="2000"> -->
        </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>


Kingmen30264 02-03-2013 06:59 PM

Quote:

Originally Posted by Derision (Post 217577)
The way you have tried to comment out the mail and chatserver blocks in eqemu_config.xml seems to be the problem. Either delete the blocks all together or remove the attempted comments.

This should get you further:
Code:

<?xml version="1.0">
<server>
        <world>
                <shortname>SLF</shortname>
                <longname>Secrets Long Forgotten</longname>

                <!-- Only specify these two if you really think you need to.  (read: You don't) -->
                <address>127.0.0.1</address>
              <localaddress>127.0.0.1</localaddress>

                <!-- Loginserver information.  Defaults shown -->
                <loginserver>
                        <host>eqemulator.net</host>
                        <port>5999</port>
                        <account>kingmen30264</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="enable"/>

                <!-- Sets the shared key used by zone/launcher to connect to world -->
                <key>random password</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></host>
                <port>7778</port>
        </chatserver>

        <!-- Mailserver (in-game mail) information.  Defaults shown -->
        <mailserver>
                <host></host>
                <port>7779</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>localhost</host>
                <port>3306</port>
                <username>root</username>
                <password>*****</password>
                <db>peq</db>
        </database>

        <!-- Launcher Configuration -->
        <launcher>
                <!-- <logprefix>logs/zone-</logprefix> -->
                <!-- <logsuffix>.log</logsuffix> -->
                <!-- <exe>zone.exe or ./zone</exe> -->
                <!-- <timers restart="10000" reterminate="10000" initial="20000" interval="2000"> -->
        </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>


Thanks, I got it working now. I just can't seem to get it onto the Server Select list on the public section.

sorvani 02-04-2013 07:58 PM

Servers only use 5998

Edit: also you published your world server login name. Not really a good thing. I recommend changing the password to some 20+ character long random string and then not using it ever again. Set up your second world server account and don't publish it this time.


All times are GMT -4. The time now is 12:37 AM.

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