EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Unable to load 'eqemu_config.xml' (https://www.eqemulator.org/forums/showthread.php?t=31683)

Timp 07-17-2010 04:08 PM

Unable to load 'eqemu_config.xml'
 
I tried to start my server but my logs show that it was unable to load the file eqemu_config.xml. For example:
logs/chatserver
Quote:

[Debug] Starting Log: logs/eqemu_debug_chatchannels.log
[Debug] [CHANNELS__INIT] Starting EQEmu Chat Channel Server
Unable to load 'eqemu_config.xml': Error reading Attributes.
[Debug] [CHANNELS__INIT] Loading server configuration failed.
logs/world
Quote:

[Debug] Starting Log: logs/eqemu_debug_world.log
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1224123504
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1232516208
[Debug] [WORLD__INIT] Loading server configuration..
Unable to load 'eqemu_config.xml': Error reading Attributes.
[Debug] [WORLD__INIT_ERR] Loading server configuration failed.
[Debug] [COMMON__THREADS] Ending TCPServerLoop with thread ID -1232516208
[Debug] [COMMON__THREADS] Ending TCPServerLoop with thread ID -1224123504
[Debug] Starting Log: logs/eqemu_debug_world.log
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1223099504
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1231492208
[Debug] [WORLD__INIT] Loading server configuration..
Unable to load 'eqemu_config.xml': Error reading Attributes.
[Debug] [WORLD__INIT_ERR] Loading server configuration failed.
[Debug] [COMMON__THREADS] Ending TCPServerLoop with thread ID -1231492208
[Debug] [COMMON__THREADS] Ending TCPServerLoop with thread ID -1223099504
[Debug] Starting Log: logs/eqemu_debug_world.log
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1223902320
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1232295024
[Debug] [WORLD__INIT] Loading server configuration..
Unable to load 'eqemu_config.xml': Error reading Attributes.
[Debug] [WORLD__INIT_ERR] Loading server configuration failed.
[Debug] [COMMON__THREADS] Ending TCPServerLoop with thread ID -1232295024
[Debug] [COMMON__THREADS] Ending TCPServerLoop with thread ID -1223902320
[Debug] Starting Log: logs/eqemu_debug_world.log
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1223140464
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1231533168
[Debug] [WORLD__INIT] Loading server configuration..
Unable to load 'eqemu_config.xml': Error reading Attributes.

--Continues on---
eqemu_config.xml is in the server folder where my start script is. Everyone has read permissions for it. Why can't it open it?
Quote:

Login@server:/home/server/server$ ls -la
total 56
drwxr-xr-x 3 root root 4096 2010-07-17 13:58 .
drwxr-xr-x 7 root root 4096 2010-07-15 18:19 ..
lrwxrwxrwx 1 root root 28 2010-07-15 12:42 chatserver -> source/chatserver/chatserver
lrwxrwxrwx 1 root root 21 2010-07-15 12:42 cleanipc -> source/utils/cleanipc
lrwxrwxrwx 1 root root 42 2010-07-15 12:42 commands.pl -> ../eqemu/utils/defaults/commands.pl
-rw-r--r-- 1 root root 24393 2010-07-17 14:07 crashlog
-rw-r--r-- 1 root root 845 2010-07-15 12:43 eqemu.conf
-rw-r--r-- 1 root root 711 2010-07-17 13:58 eqemu_config.xml
lrwxrwxrwx 1 root root 43 2010-07-15 12:42 eqemu_config.xml.full -> source/utils/defaults/eqemu_config.xml.full
lrwxrwxrwx 1 root root 40 2010-07-17 13:09 EQEmuLoginServer -> source/EQEmuLoginServer/EQEmuLoginServer
lrwxrwxrwx 1 root root 24 2010-07-15 12:42 eqlaunch -> source/eqlaunch/eqlaunch
lrwxrwxrwx 1 root root 36 2010-07-15 12:42 libEMuShareMem.so -> source/EMuShareMem/libEMuShareMem.so
-rw-r--r-- 1 root root 0 2010-07-17 13:50 .lock-launcher
-rw-r--r-- 1 root root 0 2010-07-17 13:50 .lock-world
lrwxrwxrwx 1 root root 29 2010-07-15 12:42 log.ini -> source/utils/defaults/log.ini
lrwxrwxrwx 1 root root 53 2010-07-15 12:42 login.ini -> ../eqemu/EQEmuLoginServer/login_util/login.ini
lrwxrwxrwx 1 root root 53 2010-07-15 12:42 login_opcodes.conf -> source/EQEmuLoginServer/login_util/login_opcodes.conf
lrwxrwxrwx 1 root root 57 2010-07-15 12:42 login_opcodes_sod.conf -> source/EQEmuLoginServer/login_util/login_opcodes_sod.conf
drwxr-xr-x 2 root root 4096 2010-07-17 14:00 logs
lrwxrwxrwx 1 root root 30 2010-07-15 12:42 mail_opcodes.conf -> source/utils/mail_opcodes.conf
lrwxrwxrwx 1 root root 28 2010-07-15 12:42 mailserver -> source/mailserver/mailserver
lrwxrwxrwx 1 root root 17 2010-07-15 12:41 Maps -> ../eqemumaps/Maps
lrwxrwxrwx 1 root root 32 2010-07-15 12:42 mime.types -> source/utils/defaults/mime.types
lrwxrwxrwx 1 root root 25 2010-07-15 12:42 opcodes.conf -> source/utils/opcodes.conf
lrwxrwxrwx 1 root root 27 2010-07-15 12:42 patch_6.2.conf -> source/utils/patch_6.2.conf
lrwxrwxrwx 1 root root 35 2010-07-15 12:42 patch_Anniversary.conf -> source/utils/patch_Anniversary.conf
lrwxrwxrwx 1 root root 28 2010-07-15 12:42 patch_Live.conf -> source/utils/patch_Live.conf
lrwxrwxrwx 1 root root 27 2010-07-15 12:42 patch_SoD.conf -> source/utils/patch_SoD.conf
lrwxrwxrwx 1 root root 27 2010-07-15 12:42 patch_SoF.conf -> source/utils/patch_SoF.conf
lrwxrwxrwx 1 root root 32 2010-07-15 12:42 patch_Titanium.conf -> source/utils/patch_Titanium.conf
-rwxr-xr-x 1 root root 199 2010-07-15 12:44 persist_world
lrwxrwxrwx 1 root root 31 2010-07-15 12:42 plugin.pl -> source/utils/defaults/plugin.pl
lrwxrwxrwx 1 root root 26 2010-07-15 12:42 plugins -> ../projecteqquests/plugins
lrwxrwxrwx 1 root root 18 2010-07-15 12:41 projecteqquests -> ../projecteqquests
lrwxrwxrwx 1 root root 16 2010-07-15 12:42 source -> ../eqemu/
-rwxr-xr-x 1 root root 1638 2010-07-15 12:44 start
-rwxr-xr-x 1 root root 852 2010-07-15 12:44 stop
lrwxrwxrwx 1 root root 31 2010-07-15 12:42 templates -> source/utils/defaults/templates
lrwxrwxrwx 1 root root 18 2010-07-15 12:42 world -> source/world/world
lrwxrwxrwx 1 root root 29 2010-07-15 12:42 worldui -> source/utils/defaults/worldui
lrwxrwxrwx 1 root root 32 2010-07-15 12:42 worldui.pl -> source/utils/defaults/worldui.pl
lrwxrwxrwx 1 root root 16 2010-07-15 12:42 zone -> source/zone/zone

Derision 07-17-2010 04:37 PM

It may well be able to open it, but you may have a syntax error or something in the file (e.g. mismatched <foo> </foo> or something like that).

If you want to post your eqemu_config.xml, with any passwords removed, I will take a look at it.

Timp 07-17-2010 04:50 PM

Here this the file.
Code:

<?xml version="1.0">
<server>
        <world>
                <shortname>setme</shortname>
                <longname>I Forgot To Edit My Config</longname>
                <key>some long random string</key>

                <loginserver>
                      <host>eqemulator.net</host>
                      <port>5998</port>
                      <account>TestServerAccount</account>
                      <password></password>
                </loginserver>
        </world>
        <database
                <host>localhost</host>
                <port>3306</port>
                <username>root</username>
                <password></password>
                <db>eqemu</db>
        </database>
</server>


Derision 07-17-2010 04:54 PM

You are missing a '>' sign after <database , i.e, highlighted in red below:

Code:

<?xml version="1.0">
<server>
        <world>
                <shortname>setme</shortname>
                <longname>I Forgot To Edit My Config</longname>
                <key>some long random string</key>

                <loginserver>
                      <host>eqemulator.net</host>
                      <port>5998</port>
                      <account>TestServerAccount</account>
                      <password></password>
                </loginserver>
        </world>
        <database>
                <host>localhost</host>
                <port>3306</port>
                <username>root</username>
                <password></password>
                <db>eqemu</db>
        </database>
</server>


Timp 07-17-2010 05:00 PM

ha thanks!


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

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