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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 08-03-2008, 07:06 PM
KrackAdams
Fire Beetle
 
Join Date: Aug 2008
Location: US
Posts: 14
Default Connecting to the server 127.0.0.1:9000 failed:

Hi im using

http://www.eqemulator.net/wiki/wikka...ianLinuxServer

i completed everthing but i get this eqemu_debug_27725.log:

[08.03. - 15:57:44] Starting Log: logs/eqemu_debug_27725.log
[08.03. - 15:57:44] [LAUNCHER__INIT] Loading server configuration..
[08.03. - 15:57:44] [NET__WORLD] WorldConnection connect: Connecting to the server 127.0.0.1:9000 failed: TCPConnection::Connect(): connect() failed. Error: Connection refused
[08.03. - 15:57:44] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[08.03. - 15:57:44] [LAUNCHER__INIT] Starting main loop...
[08.03. - 15:57:44] [COMMON__THREADS] Starting TCPConnectionLoop with thread ID -1213654096
[08.03. - 15:57:50] [LAUNCHER__STATUS] Caught signal 15
[08.03. - 15:57:50] [COMMON__THREADS] Ending TCPConnectionLoop with thread ID -1213654096

and i have port forwarded 9000 can you please let me know what im doing wrong.

and i got this one too

27677 [08.03. - 15:57:29] Starting Log: logs/eqemu_debug_world.log
27677 [08.03. - 15:57:29] [RULES__CHANGE] Resetting running rules to default values
27677 [08.03. - 15:57:29] [WORLD__INIT] Loading server configuration..
27677 [08.03. - 15:57:29] [WORLD__INIT] Log settings loaded from log.ini
27677 [08.03. - 15:57:29] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.7.0
27677 [08.03. - 15:57:29] [WORLD__INIT] Connecting to MySQL...
27677 [08.03. - 15:57:29] [WORLD__INIT_ERR] Cannot continue without a database connection.
Reply With Quote
  #2  
Old 08-03-2008, 09:33 PM
clalrona
Fire Beetle
 
Join Date: May 2008
Location: Ohio
Posts: 9
Default

Can you post all of your config files?
Reply With Quote
  #3  
Old 08-03-2008, 10:39 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

It isn't his config file unless he is using the wrong username and/or password for his database in the config file.

Looks more like a mysql account issue. You might want to make the changes to the my.cnf file that I recommended in the Wiki for remote database access. It will allow connections other than just localhost. Make sure you restart the server or at least mysql after you make the changes. Otherwise, you might just be able to change your mysql account to make it work properly with it the way it is.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #4  
Old 08-04-2008, 01:43 PM
KrackAdams
Fire Beetle
 
Join Date: Aug 2008
Location: US
Posts: 14
Default

Quote:
Originally Posted by trevius View Post
It isn't his config file unless he is using the wrong username and/or password for his database in the config file.

Looks more like a mysql account issue. You might want to make the changes to the my.cnf file that I recommended in the Wiki for remote database access. It will allow connections other than just localhost. Make sure you restart the server or at least mysql after you make the changes. Otherwise, you might just be able to change your mysql account to make it work properly with it the way it is.
I did the my.cnf change form the wiki and now mysql server will not start
Reply With Quote
  #5  
Old 08-04-2008, 05:13 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

You restarted your PC? Mysql can be really nasty to get working again if you run into that problem where it won't start. Normally it is because your accounts are messed up, which was probably due to something you were changing around in the accounts before you stopped mysql, and the changes didn't really take effect until you stopped and tried to restart it.

You can always try setting the my.cnf back to what it was before and see what happens. If it works again, you will probably want to make additional accounts with with different host names to make sure it works once your mysql changes with the my.cnf change. You can make some with @'192.168.1.100', @'127.0.0.1', @'localhost', and one of those are bound to work lol. It all depends on what mysql thinks it is being ran from and where you are connecting from. Even though it is all still on the same PC, it can be a little tricky. If you are running multiple NIC cards, it can get even more complicated.

Mysql on Linux can definitely be a real pain sometimes. At one point, I had mine so messed up and wasted so much time trying to fix it that I wound up just formatting and reinstalling Linux from scratch again.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #6  
Old 08-05-2008, 12:19 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

You restarted your PC? Mysql can be really nasty to get working again if you run into that problem where it won't start. Normally it is because your accounts are messed up, which was probably due to something you were changing around in the accounts before you stopped mysql, and the changes didn't really take effect until you stopped and tried to restart it.

You can always try setting the my.cnf back to what it was before and see what happens. If it works again, you will probably want to make additional accounts with with different host names to make sure it works once your mysql changes with the my.cnf change. You can make some with @'192.168.1.100', @'127.0.0.1', @'localhost', and one of those are bound to work lol. It all depends on what mysql thinks it is being ran from and where you are connecting from. Even though it is all still on the same PC, it can be a little tricky. If you are running multiple NIC cards, it can get even more complicated.

Mysql on Linux can definitely be a real pain sometimes. At one point, I had mine so messed up and wasted so much time trying to fix it that I wound up just formatting and reinstalling Linux from scratch again.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #7  
Old 08-05-2008, 12:20 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Ooops - double post from when the forums were down earlier I guess lol...
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
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 05:54 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