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

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-24-2007, 05:11 PM
lotuscorner
Fire Beetle
 
Join Date: May 2007
Posts: 9
Default Running 2 emulators on 1 CPU, is it possible?

Hello all,

I would like to ask the possibility of running 2 different online game emulators on a single CPU, using a same database, mysql. and both emulator using the same mysql port, 3306.

It seems after I tried to run the other online game emulator, Eqemu woldnt start at all, well both emulators wont start at all now. Seems those emulators having port conflict or somesort.

this is the log from eqemu:

[05.25. - 12:04:16] Starting Log: logs/eqemu_debug_world_2404.log
[05.25. - 12:04:16] [WORLD__INIT] Loading server configuration..
[05.25. - 12:04:16] [WORLD__INIT] Log settings loaded from log.ini
[05.25. - 12:04:16] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.7.0
[05.25. - 12:04:16] [WORLD__INIT] Connecting to MySQL...
[05.25. - 12:04:16] [WORLD__INIT] Starting HTTP world service...
[05.25. - 12:04:16] [WORLD__HTTP] Loaded mime types from mime.types
[05.25. - 12:04:16] [WORLD__INIT] Loading variables..
[05.25. - 12:04:16] [WORLD__INIT] Loading zones..
[05.25. - 12:04:16] [WORLD__INIT] Clearing groups..
[05.25. - 12:04:16] [WORLD__INIT] Clearing temporary merchant lists..
[05.25. - 12:04:16] [WORLD__INIT] Loading items..
[05.25. - 12:04:21] [WORLD__INIT] Loading guilds..
[05.25. - 12:04:21] [RULES__CHANGE] Loading rule set 'default' (2)
[05.25. - 12:04:21] [WORLD__INIT] Loaded default rule set 'default'
[05.25. - 12:04:21] [WORLD__INIT] Loading EQ time of day..
[05.25. - 12:04:21] [WORLD__INIT] Loading launcher list..
[05.25. - 12:04:21] [WORLD__INIT] Reboot zone modes ON
[05.25. - 12:04:21] [WORLD__INIT] Deleted 0 stale player corpses from database
[05.25. - 12:04:21] [WORLD__INIT] Deleted 0 stale player backups from database
[05.25. - 12:04:21] [WORLD__INIT] Zone (TCP) listener started.
[05.25. - 12:04:21] [WORLD__INIT] Client (UDP) listener started.
[05.25. - 12:04:21] [NET__IDENTIFY] Registered patch 6.2
[05.25. - 12:04:21] [NET__IDENTIFY] Registered patch Titanium
[05.25. - 12:04:21] [NET__IDENTIFY] Registered patch Live
[05.25. - 12:04:21] [WORLD__LS] Connecting to login server...
[05.25. - 12:04:23] [WORLD__LS_ERR] Could not connect to login server: TCPConnection::Connect(): connect() failed. Error: 10061
[05.25. - 12:04:31] [WORLD__LS] Connecting to login server...
[05.25. - 12:04:33] [WORLD__LS_ERR] Could not connect to login server: TCPConnection::Connect(): connect() failed. Error: 10061
[05.25. - 12:04:41] [WORLD__LS] Connecting to login server...

should I change mysql port to 3307 or 3309 or something? and is there any program on how to check if the port safe to be used?

If anyone whould have any idea on how to run different emulator on one CPU, your help would be greatly appreciated.

Thank you for your time and attention.

add: I tried to run rose online and EQ emulator on the same CPU, both seem to be crashing right now.

Last edited by lotuscorner; 05-25-2007 at 01:14 AM..
Reply With Quote
  #2  
Old 05-25-2007, 07:09 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Since both World.exe's use port 9000, I don't see this as possible. You need at least 1 login server, and you *can* run 2 world/zone exe's on different computers, named the same. they will both show up in the minilogin screen, but cannot be differentiated because the name has to match what's in loginserver.ini.

It's complicated, but yes - I too wish I could run more than 1 effectively, so I could have every damn configuration known to god and man running and hop around simply.
Reply With Quote
  #3  
Old 05-25-2007, 10:42 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

its not possible really... the mentioned port conflict for world is the un-fixable issue, but others exist as well such as shared memory being, well, shared.
Reply With Quote
  #4  
Old 05-25-2007, 11:32 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Good to see your red name about again, FNW. I wasn't hoping to run 2 worlds on one box, I already figured that was not possible. I'm waiting for someone to bump the minilogin threads again so I can dump my request for enhancing it to support more than 1 world config (from seperate boxes)

~whistles innocently~
Reply With Quote
  #5  
Old 05-25-2007, 12:46 PM
techguy84's Avatar
techguy84
Discordant
 
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
Default

Um, is it just me, or is the error in the logs for world connecting to the login server, not to mysql or anything?

If both emulators dont use the same ports, it should work. Mysql can accept multiple incoming connections from the same port to my knowledge.

It would work so long as the other emulator your trying to run using different port numbers than that of eqemu in regards to it connecting to any zone type program and how it accepts connections from clients.

I dunno though... could be wrong
Reply With Quote
  #6  
Old 05-25-2007, 01:44 PM
rojadruid
Discordant
 
Join Date: May 2005
Location: Smith Falls, Ontario, Canada
Posts: 283
Default

put a 2nd nic in the computer one emulator for each, it in theory should work. it also means two connections to a router.
__________________
Rojadruid

Innoruuk Server [legit]
Server Admin.
Server Status: UP
Reply With Quote
  #7  
Old 05-25-2007, 06:19 PM
lotuscorner
Fire Beetle
 
Join Date: May 2007
Posts: 9
Default

Thank you for all replies for this issue, well after I deleted roseonline data base from mysql, eqemu seems works fine again. I dont know what is the relation myself tho. Both EQemu and Roseonline emulator i set using port 3306 on mysql database, but of course I used 2 different database inside mysql one for each. I just curious why out of no where my EQemu wont work anymore after I tried to run roseon emu on the same machine.

@techguy84
so basically from your point of view sir, mysql should be able to handle many incoming connection from different emulator program and run them on the same time without causing any conflict with one another as long as I used different port on mysql? most ppl using 3306 port, so I just change the other emu port to 3307? thank you for your input sir.

Pardon for my noob question in regards to mysql, I dont have a good database programming experience.
Reply With Quote
  #8  
Old 05-25-2007, 07:22 PM
techguy84's Avatar
techguy84
Discordant
 
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
Default

You cant just change the emu to run on port 3307. When your seting up MySQL under the instance wizard, it ask you what port you want it to be on, which is defaulted to 3306. It will allow multiple connections on port 3306, just like Zone.exe can allow multiple people to be logged into the same zone on port 7000. Mysql normally defaults I think ot a max of 20 connections so you can run 20 "different" emulators that are connecting to 20 different databases. You just can run two of the same emulator. No two EQEmu, No two WOW Emu, ect....

When you run both, what error do you get on EqEmu. Your first post was something about it not connecting ot the loginserver. Not that it wasnt able to connect to Mysql as it shows that it did that fine. Connecting to mysql is like the 3rd step in its boot up. Your errors are like step 22, way down the line.

Last edited by techguy84; 05-26-2007 at 03:24 AM..
Reply With Quote
  #9  
Old 05-25-2007, 11:12 PM
lotuscorner
Fire Beetle
 
Join Date: May 2007
Posts: 9
Default

I see your point, I'll try it again tonight sir.

Thnk you for the enlightment again
Reply With Quote
  #10  
Old 06-17-2007, 12:42 AM
rewired
Fire Beetle
 
Join Date: Apr 2006
Posts: 2
Default

Quote:
Originally Posted by lotuscorner
Hello all,

I would like to ask the possibility of running 2 different online game emulators on a single CPU, using a same database, mysql. and both emulator using the same mysql port, 3306.

It seems after I tried to run the other online game emulator, Eqemu woldnt start at all, well both emulators wont start at all now. Seems those emulators having port conflict or somesort.

should I change mysql port to 3307 or 3309 or something? and is there any program on how to check if the port safe to be used?

If anyone whould have any idea on how to run different emulator on one CPU, your help would be greatly appreciated.

Thank you for your time and attention.

add: I tried to run rose online and EQ emulator on the same CPU, both seem to be crashing right now.

Currently on one of my sandboxes I run both an EQ emulator, as well as a WOW emulator. Shared sql server, just 3 different DBs to play with (eq runs 1, and WoW needs 2).

So long as the exe's that handle the incomming connections use different ports, you should be fine.

WoW uses ports 8085, 3724, whereas EQ uses ports: 9000, and 7000+
Reply With Quote
  #11  
Old 06-17-2007, 06:56 AM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,290
Default

Each world server needs its own dedicated IP because it runs on port 9000. In theory if you had a block of IP addresses dedicated to you, you could have two ethernet cards in the server and dedicated a world server to each one. Otherwise your out of luck.

They would both need their own database as well, but they could run on the same mysql server, you don't want two emulators updating the same database, that could cause problems.
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
Reply With Quote
  #12  
Old 06-18-2007, 03:17 AM
techguy84's Avatar
techguy84
Discordant
 
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
Default

So I kinda guess to sum it all up, the only way you can get away with running two EQ servers is to have two IP address and two NIC's to use those IP's. You would have one server running off of X IP and Nic and the other on Y.

Now like rewired said. It is very possible to run another totaly different emu, like the WoW ones. The simple rule is that they must use a complete different set of ports as far as client connections go.

If the WoW emu using port 9000, your going to get conflicts like a WoW player getting sent to your EQ server, or visa versa.

But like I said, as far as the MySQL goes. It can take on connections all shape and size as long as they are set to go through port 3306 or whatever you designate it to be. Each server you run goes to that port, opens its respect (designated) database and and gets its information.

The only problem you may have regarding MySQL is that you may get too many incoming connections and some will be block. You can set this up to vary in the Instance Server Config to how ever many you plan to need.
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 08:34 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