Jump to content
  • 0

Login server crashes when Char server attempt to connect


AsuraLevi

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  01/08/16
  • Last Seen:  

For a while now I'm hitting my head on the wall on this issue.

 

When login-server is started, it runs fine. But when I start char-server afterwards, login-server crashes with a message of 'Segmentation Fault: 11'

 

Login:

 

[info]: Server supports up to '1024' concurrent connections.

[info]: loginconfig: client_version_to_connect = 45

[info]: Finished reading conf/import/inter_conf.txt.

[info]: Finished reading conf/inter_athena.conf.

[info]: Finished reading conf/import/login_conf.txt.

[info]: Finished reading conf/login_athena.conf.

[info]: Done reading '23' messages in 'conf/msg_conf/login_msg.conf'.

[info]: Ipban conection made

[status]: The login-server is ready (Server is listening on the port 6900).

 

[info]: connect_check_clear: Cleared 0 of 0 from IP list.

[info]: connect_check: Connection from 127.0.0.1 allowed.

[info]: Connection request of the char-server 'Generations' @ xx.xxx.xxx.x:6121 (account: 'ragnaro5', pass: 'd4rk', ip: '127.0.0.1')

Segmentation fault: 11

Char:

 

[info]: Server supports up to '1024' concurrent connections.

[status]: Login server IP address : 127.0.0.1 -> 127.0.0.1

[status]: Character server IP address : xx.xxx.xxx.x <<<<<<<< -> xx.xxx.xxx.x

[info]: Done reading conf/import/char_conf.txt.

[info]: Done reading conf/char_athena.conf.

[info]: Done reading conf/import/inter_conf.txt.

[info]: Done reading conf/inter_athena.conf.

[info]: Done reading '132' messages in 'conf/msg_conf/char_msg.conf'.

[info]: Done reading conf/import/inter_conf.txt.

[info]: Done reading conf/inter_athena.conf.

[info]: Connect Character DB server.... (Character Server)

[status]: Done reading '50' entries in 'db/re/exp_guild.txt'.

[status]: Done reading '0' entries in 'db/import/exp_guild.txt'.

[status]: Finished Reading GeoIP Database.

[status]: Characters per Account: '0'.

[info]: Start checking DB integrity

[info]: DB integrity check finished with success

[info]: Default map: 'prontera 156,191'

[status]: The char-server is ready (Server is listening on the port 6121).

 

[info]: connect_check_clear: Cleared 0 of 0 from IP list.

[info]: Attempt to connect to login-server...

[status]: Connecting to 127.0.0.1:6900

[Warning]: Connection to Login Server lost.

 

[info]: Attempt to connect to login-server...

[status]: Connecting to 127.0.0.1:6900

[Error]: make_connection: connect failed (socket #5, error 61: Connection refused)!

 

I honestly do not know more what to try. I tried so many different configurations on everything, different mysql versions and all. But nothing gets me pass this.

 

Everything I find about Segmentation Fault is either too old or related to something with the C compiler for mac.

 

I'm running it from Mac OS El Captan.

Edited by AsuraLevi
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

could you put the result of 'gdb stacktrace' in here as well ?
Now I won't be able to reproduce cause I don't have macOS but at least we could try to see what causing that.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  01/08/16
  • Last Seen:  

And how I actually do that? (kind of no time at the moment, so will google it when able, but would help if you could guide me on this.

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...