Jump to content
  • 0
Sign in to follow this  
Diurnal

2 hosts for 1 server setup.

Question

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?

Share this post


Link to post
Share on other sites

12 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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?

Share this post


Link to post
Share on other sites
  • 0
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
Edited by Diurnal

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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. 

Share this post


Link to post
Share on other sites
  • 0

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?

Share this post


Link to post
Share on other sites
  • 0

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. 

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.