Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Windows Servers

Archive::Windows Servers Archive area for Windows Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-18-2002, 02:30 PM
Xalivor
Fire Beetle
 
Join Date: Mar 2002
Posts: 29
Default errors on World and Zone5boot...

When i start up world i get this error.

LoginServer.ini read.
Failed to connect to database: Error: Unknown MySQL Server Host '192.168.0.x' (1
1001)
Loading items...DB Query Error
Error #2006: MySQL server has gone away
Error in PopulateZoneLists query 'SELECT MAX(id) FROM items' #2006: MySQL server
has gone away
done.
Loading guild ranks...DB Query Error
Error #2006: MySQL server has gone away
Error in GetGuildRank query 'SELECT id, eqid, name, leader, rank0title, rank1, r
ank1title, rank2, rank2title, rank3, rank3title, rank4, rank4title, rank5, rank5
title from guilds' #2006: MySQL server has gone away
done.
World server listening on: 127.0.0.1:9000
Connected to LoginServer: eqlogin.eqemu.net:5999

When i open Boot5zone i get this on the regular ms window

E:>REM: ****Read this first!!!****

E:>
E:>REM: This file requires your real IP in the place of 127.0.0.1 when you are
connecting

E:>REM: To a EQEmu Loginserver.

E:>
E:>REM: When you are using minilogin, leave all IP entrys as 127.0.0.1 and if y
ou still get errors try

E:>REM: Using localhost as the IP instead of 127.0.0.1

E:>
E:>REM: zone9x.exe is for use with Windows 98 and ME only.

E:>REM: If you are running Windows NT/2000 or XP use ZoneNT.exe

E:>
E:>REM:--------------Start-----------------------

E:>
E:>


Then on the other 5 ms windows that open with it i get this

has gone away
DB Query Error
Error #2006: MySQL server has gone away
Error in LoadNPCTypes query 'SELECT MAX(id) FROM npc_types' #2006: MySQL server
has gone away
DB Query Error
Error #2006: MySQL server has gone away
done.
Spells loaded from 'spdat.eff'.
Loading guild ranks...DB Query Error
Error #2006: MySQL server has gone away
Error in GetGuildRank query 'SELECT id, eqid, name, leader, rank0title, rank1, r
ank1title, rank2, rank2title, rank3, rank3title, rank4, rank4title, rank5, rank5
title from guilds' #2006: MySQL server has gone away
done.
Loading faction data...DB Query Error
Error #2006: MySQL server has gone away
Error in LoadFactionData 'SELECT MAX(id) FROM faction_list' #2006: MySQL server
has gone away
DB Query Error
Error #2006: MySQL server has gone away
done.
InitWorldServer failed
Entering sleep mode

If anyone can help i would be very thankful
Reply With Quote
  #2  
Old 04-18-2002, 02:47 PM
Kyouchou
Sarnak
 
Join Date: Apr 2002
Posts: 38
Default Try this...

I had similar problems... I discovered that you have to have the MySQL database running before you start the World.exe or Boot5Zones.bat progs...

Go to your MySQL folder and start MySQL.exe or MySQLAdmin.exe and leave it running... This should solve your problem... if not *shrugs* I don't know what to tell you.

The readme file needs to be updated to reflect this issue as well, instead of saying to close MySQL, it needs to say to leave it running.

Hope this helps,
Kyouchou
Reply With Quote
  #3  
Old 04-18-2002, 02:51 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

If your getting database has gone away, your problem is:
a) mysql isn't running
b) wrong username/pass in db.ini
c) wrong DB in db.ini
d) no DB in mysql
e) wrong IP in db.ini...

Just looked at your post again and you didn't edit your db.ini Otherwise it wouldn't say Unknown MySQL Server Host '192.168.0.x'
Reply With Quote
  #4  
Old 04-18-2002, 02:54 PM
ibleet
Hill Giant
 
Join Date: Feb 2002
Posts: 106
Default

The readme states to close mysqladminAdmin which leaves the mysql server running in the background. This is not a misprint in the readme, it is correct.
Reply With Quote
  #5  
Old 04-18-2002, 02:55 PM
Kyouchou
Sarnak
 
Join Date: Apr 2002
Posts: 38
Default One more thing...

Also, verify that your LoginServer.ini file has the correct information...

If you are trying to connect to public servers on teh eqemu.org server system, then your LoginServer.ini file needs to say the following:

### --- This file tells world.exe what loginserver to connect to.
### --- do not add an account and password unless a EQEmu Dev member has created an account for you.
### --- adding an account and password only grants the server a green name and is not needed.

# READ README.TXT

[LoginServer]
loginserver=eqlogin.eqemu.org
worldname=<your server name here>
locked=false
account=
password=
worldaddress=<your IP address here>
loginport=5999

It also needs to have your account username and password in the appropriate fields according to what you set up at http://www.eqemu.org/login

If you are trying to connect via Minilogin.exe so you can play without being on the internet then it needs to say the following:

### --- This file tells world.exe what loginserver to connect to.
### --- do not add an account and password unless a EQEmu Dev member has created an account for you.
### --- adding an account and password only grants the server a green name and is not needed.

# READ README.TXT

[LoginServer]
loginserver=localhost
worldname=<your server name here>
locked=false
account=
password=
worldaddress=localhost
loginport=5999

I haven't been able to get minilogin.exe to work properly, but that doesn't mean you wont be able to if you want to try.

The reason I'm mentioning all of this is because of the message at the beginning of the information you provided...

"LoginServer.ini read.
Failed to connect to database: Error: Unknown MySQL Server Host '192.168.0.x' (11001)"

Hope this helps as well,
Kyouchou
Reply With Quote
  #6  
Old 04-18-2002, 02:58 PM
Kyouchou
Sarnak
 
Join Date: Apr 2002
Posts: 38
Default Lurker is right...

Lurker is right, you need to check your db.ini file too...

the "host" value should be "localhost"

Kyouchou
Reply With Quote
  #7  
Old 04-18-2002, 03:17 PM
Xalivor
Fire Beetle
 
Join Date: Mar 2002
Posts: 29
Default

Well my Loginserver.ini reads this

[LoginServer]
loginserver=eqlogin.eqemu.net
worldname=Xalivor's World
locked=false
account=my minilogin username
password=my minilogin password
worldaddress=my IP
loginport=5999

My Db.ini file reads

[Database]
host=localhost
user=my minilogin username
password=my minilogin password
database=eq

hope that helps...i changed a couple things in them before i posted im gunna test it now
Reply With Quote
  #8  
Old 04-18-2002, 03:21 PM
Xalivor
Fire Beetle
 
Join Date: Mar 2002
Posts: 29
Default

i go into mysql dos window and type use eq it says DB changed, i then type source db.sql and it tells me error blah blah duplicate item blah blah key 1 stuff.....I tested it after i changed some things in login server and stuff and i still got the same errors
Reply With Quote
  #9  
Old 04-18-2002, 03:25 PM
Shawn319
Demi-God
 
Join Date: Jan 2002
Posts: 2,073
Default

Quote:
[LoginServer]
loginserver=eqlogin.eqemu.net
worldname=Xalivor's World
locked=false
account=my minilogin username
password=my minilogin password
worldaddress=my IP
loginport=5999
nonononono


leave account and password BLANK. the the comments in the file and you will see why.
__________________
Shawn319
Semi-Retired EQ Addict

(Retired)EQEmu Lead Tester
(Retired)EQEmu Tech Support

(Retired)Host/ServerOP - [LIVE] Official EQEmu Test Server
(Retired)Host/ServerOP - Shawn319's All-GM Dev Test Server
(Retired)ServerOP - EQEmu Beta Server
(Retired)ServerOP - GuildWars Server
(Retired)ServerOP - Raid Addicts
--------------------------
Reply With Quote
  #10  
Old 04-18-2002, 03:28 PM
Shawn319
Demi-God
 
Join Date: Jan 2002
Posts: 2,073
Default

Quote:
Failed to connect to database: Error: Unknown MySQL Server Host '192.168.0.x' (1
1001)
This also means your db.ini had host=192.168.0.x or your trying to use a network.

Only use localhost
__________________
Shawn319
Semi-Retired EQ Addict

(Retired)EQEmu Lead Tester
(Retired)EQEmu Tech Support

(Retired)Host/ServerOP - [LIVE] Official EQEmu Test Server
(Retired)Host/ServerOP - Shawn319's All-GM Dev Test Server
(Retired)ServerOP - EQEmu Beta Server
(Retired)ServerOP - GuildWars Server
(Retired)ServerOP - Raid Addicts
--------------------------
Reply With Quote
  #11  
Old 04-18-2002, 03:44 PM
Xalivor
Fire Beetle
 
Join Date: Mar 2002
Posts: 29
Default

Ok after reading this i changed my loginserver.ini thats all i understood to do. So now my Boot5zones reads this

has gone away
DB Query Error
Error #2006: MySQL server has gone away
Error in LoadNPCTypes query 'SELECT MAX(id) FROM npc_types' #2006: MySQL server
has gone away
DB Query Error
Error #2006: MySQL server has gone away
done.
Spells loaded from 'spdat.eff'.
Loading guild ranks...DB Query Error
Error #2006: MySQL server has gone away
Error in GetGuildRank query 'SELECT id, eqid, name, leader, rank0title, rank1, r
ank1title, rank2, rank2title, rank3, rank3title, rank4, rank4title, rank5, rank5
title from guilds' #2006: MySQL server has gone away
done.
Loading faction data...DB Query Error
Error #2006: MySQL server has gone away
Error in LoadFactionData 'SELECT MAX(id) FROM faction_list' #2006: MySQL server
has gone away
DB Query Error
Error #2006: MySQL server has gone away
done.
InitWorldServer failed
Entering sleep mode

And my World.exe reads this.

.1' like host' #2006: MySQL server has gone away
Zoneserver auth failed: 127.0.0.1:1932
Removing console from ip: 127.0.0.1 port:1932
New TCP connection: 127.0.0.1:1940
DB Query Error
Error #2006: MySQL server has gone away
Error in CheckZoneserverAuth query 'SELECT * FROM zoneserver_auth WHERE '127.0.0
.1' like host' #2006: MySQL server has gone away
Zoneserver auth failed: 127.0.0.1:1940
Removing console from ip: 127.0.0.1 port:1940
New TCP connection: 127.0.0.1:1941
DB Query Error
Error #2006: MySQL server has gone away
Error in CheckZoneserverAuth query 'SELECT * FROM zoneserver_auth WHERE '127.0.0
.1' like host' #2006: MySQL server has gone away
Zoneserver auth failed: 127.0.0.1:1941
Removing console from ip: 127.0.0.1 port:1941
New TCP connection: 127.0.0.1:1943
DB Query Error
Error #2006: MySQL server has gone away
Error in CheckZoneserverAuth query 'SELECT * FROM zoneserver_auth WHERE '127.0.0
.1' like host' #2006: MySQL server has gone away
Zoneserver auth failed: 127.0.0.1:1943
Removing console from ip: 127.0.0.1 port:1943

I think they have some what changed.
Reply With Quote
  #12  
Old 04-18-2002, 03:54 PM
ibleet
Hill Giant
 
Join Date: Feb 2002
Posts: 106
Default

Open the mysql server. It appears that you are trying to run without a database.
Reply With Quote
  #13  
Old 04-18-2002, 03:58 PM
Xalivor
Fire Beetle
 
Join Date: Mar 2002
Posts: 29
Default

how ccan i be running it without a DB? I went to the MS Dos window of mysql and typed use eq which is the name of DB and and typed source db.sql but i kept getting 2006 errors about duplicate items. And if i am runing it without a DB how can i fix it
Reply With Quote
  #14  
Old 04-18-2002, 04:47 PM
Xalivor
Fire Beetle
 
Join Date: Mar 2002
Posts: 29
Default

well if this is what you mean by not having a DB please tell me how to fix it.

[image]http://www.strike9.com/eq/file.aspx/path=/Xalivor_00/fullsize%5cHill/111111.jpg[/image]
Reply With Quote
  #15  
Old 04-18-2002, 05:01 PM
Kyouchou
Sarnak
 
Join Date: Apr 2002
Posts: 38
Default RE: readme info...

Quote:
Originally Posted by ibleet
The readme states to close mysqladminAdmin which leaves the mysql server running in the background. This is not a misprint in the readme, it is correct.

The readme file states the following (cut/pasted directly from readme.txt):

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

"Part 3: Setting up mySQL Database.


1) Download and install mySQL from http://www.mysql.com/downloads/mysql-3.23.html

2) Copy db.sql from your EQEmu folder to the mySQL bin directory (default is C:\mysql\bin).

3) In your mySQL bin directory, run Winmysqladmin.exe. It should ask you to enter a username and password. Choose a username and password that you can remember because you will need it in Part 4. Do not give the password out to anyone for any reason because with this, anyone can log into your mySQL database and change your data.

**NOTE: If it doesnt not ask you to enter a username/password or you wish to change it, delete the file c:\windows\my.ini and re-run Winmysqladmin.exe.


4) After you have chosen a username and password go to the Database tab in WinmySQLAdmin and right click the area for Databases and click Create Database.

5) Type in "eq" as the database name (without the quotes) and click Create database.

6) Close winmysqladmin.

7) Run mysql.exe in your mySQL/bin directory.

Type "use eq" without the quotes and hit enter. It should say Database changed.

9) Type "source db.sql" without the quotes and hit enter. A bunch of lines should pass by (that is normal). If you get an error at this point then you didn
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 09:36 AM.


 

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