Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-27-2015, 01:27 PM
royzzz's Avatar
royzzz
Fire Beetle
 
Join Date: Jun 2015
Posts: 8
Default EQemu config file issue.

Going to start hosting a server that is already in existence. Have received all the files, have successfully sourced the db, updated to current emu source, port forwarding on router is set correctly etc... When using start.bat file, it pulls up 4 cmd prmpt windows, but shuts down quickly all but one. Followed the trouble shooting steps online, when i use world.exe it gives me
Unable to load 'eqemu_config.xml' : Failed to open file

I am going to post my config file, as humbly ask for your assistance in something i obviously messed up. I will remove my user/pw from db/worldserver ...otherwise everything will be as is in file. Thank you for any assistance!
EDIT: Took out my long untagged code as I got the help, also realized i posted this in general instead of server issues...sorry would move if i could...
Reply With Quote
  #2  
Old 06-27-2015, 01:48 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,593
Default

Here's my file, use [code] tags to make it easier to read like this:
Code:
<?xml version="1.0">
<server>
    <world>
        <shortname>PBKK</shortname> 
        <longname>Pandora's Box</longname>
        <loginserver>
            <host>66.55.145.2</host>
            <port>5998</port>
            <account></account>
            <password></password>
        </loginserver>
        <locked/>
        <tcp ip="127.0.0.1" port="9000" telnet="enable"/>
        <key>12345678</key>
        <http port="9080" enabled="enable" mimefile="mime.types" />
    </world>
    <chatserver>
        <host>24.167.158.42</host>
        <port>7778</port>
    </chatserver>
    <mailserver>
        <host>24.167.158.42</host>
        <port>7778</port>
    </mailserver>
    <zones>
        <defaultstatus>0</defaultstatus>
        <ports low="7000" high="7100"/>
    </zones>
    <database>
        <host>127.0.0.1</host>
        <port>3306</port>
        <username>root</username>
        <password></password>
        <db>pandora</db>
    </database>
    <qsdatabase>
        <host>127.0.0.1</host>
        <port>3306</port>
        <username>root</username>
        <password></password>
        <db>pandora</db>
    </qsdatabase>
    <launcher>
        <!-- <logprefix>logs/zone-</logprefix> -->
        <!-- <logsuffix>.log</logsuffix> -->
        <!-- <exe>zone.exe</exe> -->
        <!-- <timers restart="10000" reterminate="10000"> -->
    </launcher>
    <files>
        <!-- <spells>spells_us.txt</spells> -->
        <!-- <opcodes>opcodes.conf</opcodes> -->
        <!-- <logsettings>log.ini</logsettings> -->
        <!-- <eqtime>eqtime.cfg</eqtime> -->
    </files>
    <directories>
        <!-- <maps>Maps</maps> -->
        <!-- <quests>quests</quests> -->
        <!-- <plugins>plugins</plugins> -->
    </directories>
</server>
Reply With Quote
  #3  
Old 06-27-2015, 02:04 PM
royzzz's Avatar
royzzz
Fire Beetle
 
Join Date: Jun 2015
Posts: 8
Default

Thank you, appreciate your help Kingly! If under loginserver i typed in my worldserver name/pw that would add description and register my server with the login screen/correct?
Reply With Quote
  #4  
Old 06-27-2015, 02:09 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

Pro tip: what does the error message say?

Your config file isn't in the right location. It needs to be in the same folder as the exes.
Reply With Quote
  #5  
Old 06-27-2015, 02:11 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,593
Default

Quote:
Originally Posted by royzzz View Post
Thank you, appreciate your help Kingly! If under loginserver i typed in my worldserver name/pw that would add description and register my server with the login screen/correct?
Yes, that's correct, assuming you have an account. Also, take a look at Demonstar55's above post, is this file even in your base server folder with your world.exe?
Reply With Quote
  #6  
Old 06-27-2015, 05:25 PM
dagulus2
Hill Giant
 
Join Date: Feb 2013
Posts: 220
Default

Quote:
<!-- Set the shortname to ONE word. The longname is what shows up on server list -->
<shortname>Solo Server</shortname>
That is not one word.
Reply With Quote
  #7  
Old 06-27-2015, 06:41 PM
royzzz's Avatar
royzzz
Fire Beetle
 
Join Date: Jun 2015
Posts: 8
Default

Config file is in the same folder as all the exe files.
I changed the shortname to one word, cant believe i missed that.
Reply With Quote
  #8  
Old 06-27-2015, 06:45 PM
royzzz's Avatar
royzzz
Fire Beetle
 
Join Date: Jun 2015
Posts: 8
Default

Getting closer, I cut and pasted your info Kingly, then edited only my db name/login and worldserver info. Now the server shows on list, just down...still getting same message...
Reply With Quote
  #9  
Old 06-27-2015, 07:26 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

You're still getting the 'failed to open file' message..but, your server is connecting?


EDIT: I was gonna mention that your server is set to locked based on what Kingly posted..but, you didn't repost your current config to verify that.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #10  
Old 06-27-2015, 07:51 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

It also takes a minute for the world to show as UP on the selection screen if you're too quick about starting up the .exes and then the game.

Sometimes you can get in even when it still says DOWN, though. In those cases, it's just the world & zone server catching up initialization.
Reply With Quote
  #11  
Old 06-27-2015, 07:59 PM
royzzz's Avatar
royzzz
Fire Beetle
 
Join Date: Jun 2015
Posts: 8
Default

Server is up now. I moved the db inside the main eq directory and resourced in mysql. Had a visual studio executable error, redownloaded that , and bam server is up. Shows on list as up I can log in, now just to be sure my port forwarding is correct for others to log in as well. Shows the correct ports open on my router admin login, but went to port checker and shows as closed..Thank you all for your help!
Reply With Quote
  #12  
Old 03-28-2016, 04:45 AM
SaunderTrade88
Fire Beetle
 
Join Date: Mar 2016
Posts: 14
Default

Man, I could really use your help guys. My config file has to be the problem. I'm trying to run a server that is LAN. I've gone through the Windows Server Setup Guide twice now and have spent almost 20 hours trying to get me server up.
Reply With Quote
  #13  
Old 03-28-2016, 11:41 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

You'll need to post something for us to analyze
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #14  
Old 03-28-2016, 05:43 PM
SaunderTrade88
Fire Beetle
 
Join Date: Mar 2016
Posts: 14
Default

Ok

<!--?xml version="1.0"-->
<server>
<world>
<shortname>setme</shortname>
<longname>I Forgot To Edit My Config</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>login.eqemulator.net</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="localhost" port="9000" telnet="disable">

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>some long random string</key>

<!-- Enable and set the port for the HTTP service. Defaults are shown -->
<http enabled="false" mimefile="mime.types" port="9080">
</http></tcp></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>20</defaultstatus>

<!-- Sets port range for world to use to auto configure zones -->
<ports high="7100" low="7000">
</ports></zones>

<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>eq</username>
<password>eq</password>
<db>eq</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>

This is the full config provided by Akkadius @
http://wiki.eqemulator.org/p?eqemu_config.xml&frm=Main

What exactly am I supposed to change? Maybe I screwed up the database part or something. I've tried changing everything I could think of. I copy and pasted several configs provided kindly by other people. I tinkered with those but still nothing. I'm guessing my problem lies within my config file right?
Reply With Quote
  #15  
Old 03-28-2016, 06:45 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

The configuration has to be 'spot-on' before we can look at other areas.

Saying that, I need to know how you plan to run your server.


Will it be:

- Is it LAN-only?

- If using a private login server, have you configured it?

- Are all of the servers running on the same computer as the database?


There are many, many factors that go into getting a server setup correctly..though, it is reasonably straight-forward.

Problems could arise from the os or hardware..but, we really can't look at that stuff until we're sure that your configuration is correct.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

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


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3