Jump to content
  • 0

Connection To char Server Lost (loop)


yuckshaine

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  11/02/12
  • Last Seen:  

I'm using Centos 5 and revision 16854 rAthena.

The Login server connection lost when is running map server and then char server connection lost loop:

[status]: The char-server is ready (Server is listening on the port 6121).
[status]: connect success! (Map Server Connection)
[info]: [sql]: Connecting to the Log Database Logs At 127.0.0.1...
[status]: [sql]: Successfully 'connected' to Database 'Logs'.
[status]: Loading maps (using db/map_cache.dat as map cache)...
[status]: Loading maps (806)..
[Notice]: Removing map [ poring_c01 ] from maplist
[Notice]: Removing map [ poring_c02 ] from maplist
[info]: connect_check_clear: Cleared 0 of 0 from IP list.
[info]: connect_check_clear: Cleared 0 of 0 from IP list.
[info]: Successfully loaded '804' maps.
[Notice]: Maps removed: '2'
[status]: Done reading '57' command aliases in 'conf/atcommand_athena.conf'.
[info]: Attempt to connect to login-server...
[status]: Connecting to 127.0.0.1:6900
[info]: connect_check: Connection from 127.0.0.1 allowed.
[info]: Connection request of the char-server 'xxxxxRO' @ 216.x.x.x:6121 (account: 'xxxxx', pass: 'xxxxx', ip: '127.0.0.1')
[status]: Done reading packet database from 'packet_db.txt'. Using default packet version: 30.
[Warning]: Connection to Login Server lost.

[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[info]: connect_check: Connection from 127.0.0.1 allowed.
[Warning]: Connection to Char Server lost.
[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[info]: connect_check: Connection from 127.0.0.1 allowed.
[Warning]: Connection to Char Server lost.
[status]: Connecting to 127.0.0.1:6121
[status]: Logging in to char server...
[info]: connect_check: Connection from 127.0.0.1 allowed.
[Warning]: Connection to Char Server lost.

Can you help me? Thanks :)

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   0
  • Joined:  10/26/18
  • Last Seen:  

On 11/6/2012 at 7:56 PM, yuckshaine said:

Thank you, I was solved, the problem was relationated with bind ip and s1 and p1.

\\blink ip 127.0.0.1 n change normal id n password s1 p1?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  11/02/12
  • Last Seen:  

I have commented this bind-ip. Must I uncomment??

My Conf:

login_athena.conf

// Athena Login Server configuration file.
// Translated by Peter Kieser <[email protected]>
// Note: "Comments" are all text on the right side of a double slash "//"
// Whatever text is commented will not be parsed by the servers, and serves
// only as information/reference.
// The login server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
bind_ip: 127.0.0.1

// Login Server Port
login_port: 6900

char_athena.conf

// Athena Character configuration file.
// Note: "Comments" are all text on the right side of a double slash "//"
// Whatever text is commented will not be parsed by the servers, and serves
// only as information/reference.
// Server Communication username and password.
userid: myro
passwd: (cryptedPasswordinMd5)
// Server name, use alternative character such as ASCII 160 for spaces.
// NOTE: Do not use spaces or any of these characters which are not allowed in
//	   Windows filenames \/:*?"<>|
//	   ... or else guild emblems won't work client-side!
server_name: MyRO
// Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)
wisp_server_name: MyRO
// Login Server IP
// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
login_ip: 127.0.0.1
// The character server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
bind_ip: 127.0.0.1
// Login Server Port
login_port: 6900
// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
char_ip: 216.xxx.xxx.xx
// Character Server Port
char_port: 6121

map_athena.conf

//--------------------------------------------------------------
//rAthena Map-Server Configuration File
//--------------------------------------------------------------
// Note: "Comments" are all text on the right side of a double slash "//"
// Whatever text is commented will not be parsed by the servers, and serves
// only as information/reference.
//--------------------------------------------------------------
//					 Configuration Info
//--------------------------------------------------------------
// Interserver communication passwords, set in account.txt (or equiv.)
userid: myRO
passwd: (cryptedPasswordinMd5)
// Character Server IP
// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
char_ip: 127.0.0.1
// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
bind_ip: 127.0.0.1
// Character Server Port
char_port: 6121
// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
map_ip: 216.xxx.xxx.xx
// Map Server Port
map_port: 5121

I've opened for parts login, char and map. When i execute in GDB ./char-server_sql crash login server and show this error:

"Segmentation fault"

Someone can help me? Thank you

Edited by yuckshaine
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  169
  • Topics Per Day:  0.04
  • Content Count:  1260
  • Reputation:   750
  • Joined:  11/19/11
  • Last Seen:  

I've opened for parts login, char and map. When i execute in GDB ./char-server_sql crash login server and show this error:

"Segmentation fault"

type 'bt full' after the segmentation fault and post the output here. thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  11/02/12
  • Last Seen:  

Thank you, I was solved, the problem was relationated with bind ip and s1 and p1.

Edited by yuckshaine
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...