EQEmulator Forums

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

shadowdeamon01 12-18-2006 02:44 PM

Server Errors
 
Hi when i've been following the startup guide on http://www.eqemulator.net/wiki/wikka...=ws70845mysql5 , ive followed every step, but i cant quite get it to work. Whenever i use my start.bat file i get the following error

---------------------------------------------
[12.18. - 20:28:38] Starting Log: logs/eqemu_debug_1148.log
[12.18. - 20:28:38] [LAUNCHER__INIT] Loading server configuration..
[12.18. - 20:28:39] [NET__WORLD] WorldConnection connect: Connecting to the server 127.0.0.1:9000 failed: TCPConnection::Connect(): connect() failed. Error: 10061
[12.18. - 20:28:39] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[12.18. - 20:28:39] [LAUNCHER__INIT] Starting main loop...

here is my loginserver.ini
[LoginServer]
loginserver=xxx.xxx.x.xxx
loginport=5999
worldname=My Minilogin
worldaddress=xxx.xxx.x.xxx
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=

[ChatChannelServer]
worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=Minilogin
ServerPort=5999




config.ini

[Database]
host=xxx.xxx.x.xxx
user=eq
password=eq
database=peq
compression=off

[General]
quests=C:\EQEmu\

DB.ini

[Database]
host=xxx.xxx.x.xxx
user=eq
password=eq
database=peq


and eqemu_config.xml

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

<!-- Only specify these two if you really think you need to. -->
<address>xxx.xxx.x.xxx</address>
<localaddress>127.0.0.1</localaddress>

<!-- Loginserver information. -->
<loginserver>
<host>xxx.xxx.x.xxx</host>
<port>5999</port>
<account></account>
<password></password>
</loginserver>

<!-- 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. -->
<http port="9080" enabled="true" mimefile="mime.types" />
</world>

<!-- Database configuration, replaces db.ini. -->
<database>
<host>localhost</host>
<port>3306</port>
<username>xxxx</username>
<password>xxxxxx</password>
<db>peq</db>
</database>
</server>


anyone have any help for me? =)

BTW i am also behind a router if that affects anything

DarkMaster 12-18-2006 03:43 PM

Port 9000 open?
 
If your using a firewall make sure port 9000 is open for world.exe

shadowdeamon01 12-18-2006 04:37 PM

how would i do that? i know im n00b

Aerewen 12-18-2006 09:40 PM

Quote:

Originally Posted by shadowdeamon01
config.ini

[Database]
host=xxx.xxx.x.xxx
user=eq
password=eq
database=peq
compression=off

DB.ini

[Database]
host=xxx.xxx.x.xxx
user=eq
password=eq
database=peq

u should change those host= lines to localhost as they are referring to your database...

Angelox 12-18-2006 10:53 PM

If you're behind a router, then the router has it's own firewall protection for the LAN (for what it's all worth) .
You can turn off your windows firewall. are those files you posted. just as we see them? (xxx.xxx.x.xxx)

here's my working mini-login eqemu_conf.xml
Code:

<?xml version="1.0">
<server>
        <world>
                <shortname>minilogin</shortname>
                <longname>BlackwaterMiniLogin</longname>
               
                <!-- Only specify these two if you really think you need to. -->
                <address>192.168.2.100</address>
                <localaddress>127.0.0.1</localaddress>
               
                <!-- Loginserver information.  -->
        <loginserver>
                <host>192.168.2.100</host>
                <port>5999</port>
                <account></account>
                <password></password>
        </loginserver>

                <!-- Sets the shared key used by zone/launcher to connect to world -->
                <key>garbledcharshere</key>

                <!-- Enable and set the port for the HTTP service. -->
                <http port="9080" enabled="true" mimefile="mime.types" />
        </world>

                <!-- Database configuration, replaces db.ini. -->
        <database>
                <host>localhost</host>
                <port>3306</port>
                <username>eq</username>
                <password>eq</password>
                <db>ax_peq</db>
        </database>
</server>

Where you see 192.168.2.100, it has to be changed to the IP of the PC you are using.
where yyou see ax_peq, it has to be the MySql database you are using (peq, ax_peq , eq, etc.)

I don't think you need config.ini, but just incase, here's mine;
Code:

Database]
host=127.0.0.1
user=eq
password=eq
database=ax_peq
compression=off

[General]
quests=C:\EQEmu\Quests\

wordwrap=1

Here's me loginserver.ini;
Code:

### --- This file tells world.exe what loginserver to connect to.
### --- Leave the account and password field BLANK.

### --- Public Login is un-supported as is LAN playing. We reccomend using the EQEmu.net Loginserver ALWAYS.

### --- NOTE: Starting 6-1-2002, you can no longer use the word "Server" in worldname.
### --- NOTE2: the word "Server" is added to each server automaticly.

# READ README.TXT

[LoginServer]
loginserver=192.168.2.100
#loginserver2=newlogin1.eqemulator.net
loginport=5999
#loginport2=5999
worldname=BlackwaterMiniLogin
worldaddress=192.168.2.105
locked=false
#account=
#password=

[WorldServer]
Defaultstatus=
Unavailzone=

[ChatChannelServer]
worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=MiniLogin
ServerPort=5999

If this helps, then it's because all this has been repeated a bazillion times in these forums, and you need to learn how to use the "search" option in the pull-down menu here :)
<search> is very powerful, and will provide you, as a newbee, with all the answers you need - and is much faster than waiting/hoping for a reply-post.

shadowdeamon01 12-19-2006 02:43 AM

well, i made the changes so mine are near-identical to yours (changed the ip's/server name/password) but i still get the same error =P.

DarkMaster 12-20-2006 09:02 AM

I took a quick look at your config, but you dont have any of the addresses listed, that you are trying to use.

Quote:

BTW i am also behind a router if that affects anything
If you are trying to set up the servers with public IP's and your behind a router / firewall then yes being behind a firewall matters, because you have to open all the ports associated with the server programs in the router/firewall and the windows firewall ( or as Angelox suggested just disable the windows firewall all together). If you are using private addresses assigned by your router for both your server and your client, because you are running NAT then no the only firewall that would be a problem would be the one built into windows. The exception would be if you want someone to connect from outside then you need to open the ports in the router/firewall.

Hope it helps.


All times are GMT -4. The time now is 01:18 AM.

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