2 hosts for 1 server setup.

Diurnal

New member
Messages
23
Points
0
It passed the login and char server, however it fails to connect on map server when I tried logging in.

My Setup:

  • Login Server: HostA
  • Char Server: HostA
  • Map Server: HostB
  • SQL Server: HostA
  • Ports used are open on both hosts


Anyone can help?

 
make your server use different ports and db

sample
serverA will use ports: 6900, 5121, 6121. a_main.db, a_logs.db

serverB will use ports: 8900, 7121, 8121. b_main.db, b_logs.db

 
Are the server listening/connecting to the right IPs? 

Can the servers connect between themselves?

Do you get a connection attempt on the map server by the client?

Any messages on the char server's console? O.o

In general other than making the IP bind/point in the right direction you shouldnt need anything more than that.

 
most likely the subnet.conf setup is incorrect

 
The 3 servers starts completely and they are connected with each other, however I don't see any connection attempt on map-server console.

How to configure the subnet?

 
I tried using the following setup

HostA: Login Server

HostB: Char, Map and SQL Server

On HostA, I got this conf for login_athena.conf

login_port: 6900
 
new_account: no
 
//min_level_to_connect: 100
 
// Account data storage configuration
// SQL
account.sql.db_hostname: HostB IP
account.sql.db_port: 3306
account.sql.db_username: SQLUSERNAME
account.sql.db_password: SQLPASSWORD
account.sql.db_database: RAGNAROKDB
account.sql.codepage: 
account.sql.case_sensitive: no
account.sql.account_db: login
account.sql.accreg_db: global_reg_value
 
 

 
 
On HostB (char and map)
char server
 
userid: serverusername
passwd: serverpassword
 
login_ip: HostA IP
login_port: 6900
char_ip: HostB IP
char_port: 5121
 
start_point: new_1-2,100,25
start_zeny: 100000
 



map server

userid: serverusername
passwd: serverpassword
 
char_ip: HostB IP
char_port: 5121
 
 
map_ip: HostB IP
map_port: 6121
 
Last edited by a moderator:
login_conf - nothing to configure here

inter_conf - put SQL server info here (if it's on host A then use IP A, if it's on host B then IP B, etc); inter_conf should be the same on both machines, since all servers will use the same SQL database

char_conf:

login_ip: IP of machine where login server runschar_ip: IP of machine where char-server runs
map_conf:

char_ip: IP of machine where char-server runsmap_ip: IP of machine where map-server runs

And of course set userid and passwd the same in map_conf, char_conf and login table in your SQL database.

 
login_conf - nothing to configure here

inter_conf - put SQL server info here (if it's on host A then use IP A, if it's on host B then IP B, etc); inter_conf should be the same on both machines, since all servers will use the same SQL database

char_conf:

login_ip: IP of machine where login server runschar_ip: IP of machine where char-server runs
map_conf:

char_ip: IP of machine where char-server runsmap_ip: IP of machine where map-server runs

And of course set userid and passwd the same in map_conf, char_conf and login table in your SQL database.
This is what I did, and client displays failed to connect after login.

I tried putting login and char server on HostA, map server on HostB, SQL server on HostA.

It passes login and char server, however it fails to connect on map-server after selecting my character. 

 
So, if you place login and char server on host A, and map server on host B, you can't get past character selection?

What happens if you put login and char on host B and map server on host A then? I mean, maybe it's a problem with connectivity from your game client to host B?

 
I can login to my client when login and char servers are in HostB, map server is in HostA. But still, I can't pass through Character selection. it fails after I selected my character. 

 
Back
Top