Jump to content
  • 0

Help on 2 Server in 1 Machine


XkAcY-

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  103
  • Reputation:   0
  • Joined:  11/13/11
  • Last Seen:  

Hi. im making 2 server in 1 machine the #1 Server is for official and the #2 Server is for a test server

my problem is when i run the Server #1 and run the Server #2 the Map Server on Server #1 is Disconnected

 

Server #1

[Status]: Map-server #0 has disconnected.

When i try run again the Server #2 same error

 

Server #2

[Status]: Map-server #0 has disconnected.

I dont know what the exactly error. and yes i know how to setup the server in this point it so weird because when i try on windows it's working fine no disconnection

 

This is my conf config both

 

Server #1:

 

char_athena.conf

....
login_port: 6900
....
char_port: 6121
....

map_athena.conf

.....
char_port: 6121
....
map_port: 5121
.....

login_athena.conf

.....
login_port: 6900
......

Server #2:

 

char_athena.conf

....
login_port: 6901
....
char_port: 6122
....

map_athena.conf

.....
char_port: 6122
....
map_port: 5122
.....

login_athena.conf

.....
login_port: 6901
......

Thank i hope you can help me on this my problem. it weird when on linux but when im using windows it's working without problem

Edited by XkAcY-
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

Did you setup 2 SQL databases (and configure in inter_athena.conf), one for each RO server?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  58
  • Topics Per Day:  0.01
  • Content Count:  395
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

This is the problem

@kacy ask help to me.  about that so i dont have an idea. when on centos the 2nd server running is disconencted but when i try on windows os it's working fine

 

 

Did you setup 2 SQL databases (and configure in inter_athena.conf), one for each RO server?

 

Yes sir 

 

 

Server #1:

 

// Global SQL settings

// overridden by local settings when the hostname is defined there
// (currently only the login-server reads/obeys these settings)
 
// MySQL Login server
login_server_ip: 127.0.0.1
login_server_port: 3306
login_server_id: root
login_server_pw: ragnarok
login_server_db: server1_main
login_codepage:
login_case_sensitive: no
 
ipban_db_ip: 127.0.0.1
ipban_db_port: 3306
ipban_db_id: root
ipban_db_pw: ragnarok
ipban_db_db: server1_main
ipban_codepage:
 
// MySQL Character server
char_server_ip: 127.0.0.1
char_server_port: 3306
char_server_id: root
char_server_pw: ragnarok
char_server_db: server1_main
 
// MySQL Map Server
map_server_ip: 127.0.0.1
map_server_port: 3306
map_server_id: root
map_server_pw: ragnarok
map_server_db: server1_main
 
// MySQL Log Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: root
log_db_pw: ragnarok
log_db_db: server1_log
log_codepage:
log_login_db: loginlog

 

 

Server #2:

 

// Global SQL settings

// overridden by local settings when the hostname is defined there
// (currently only the login-server reads/obeys these settings)
 
// MySQL Login server
login_server_ip: 127.0.0.1
login_server_port: 3306
login_server_id: root
login_server_pw: ragnarok
login_server_db: server2_main
login_codepage:
login_case_sensitive: no
 
ipban_db_ip: 127.0.0.1
ipban_db_port: 3306
ipban_db_id: root
ipban_db_pw: ragnarok
ipban_db_db: server2_main
ipban_codepage:
 
// MySQL Character server
char_server_ip: 127.0.0.1
char_server_port: 3306
char_server_id: root
char_server_pw: ragnarok
char_server_db: server2_main
 
// MySQL Map Server
map_server_ip: 127.0.0.1
map_server_port: 3306
map_server_id: root
map_server_pw: ragnarok
map_server_db: server2_main
 
// MySQL Log Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: root
log_db_pw: ragnarok
log_db_db: server2_log
log_codepage:
log_login_db: loginlog
 
On Windows OS it's working fine but, when i use Cent-OS it's weird like i said on the first post
Edited by Zack-
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  399
  • Reputation:   69
  • Joined:  12/26/15
  • Last Seen:  

In linux, do u install rathena in the root user or non-root user.?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  103
  • Reputation:   28
  • Joined:  09/20/12
  • Last Seen:  

Never EVER EVER  run anything using the root user, the only time you should be logged into root is to create the first user account and give that account sudo access.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...