Jump to content
  • 0

can't start my server. login-server, char-server, and map-server crash


gpedro153

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  02/10/15
  • Last Seen:  

hey everybody, i am new here and i am trying to create my own server

 

i followed all the tutorials doing exactly what they were telling me to do (i think).

 

but when i try to run my server the login-server, char-server, and map-server crash. they open and a few seconds later they close (it is really fast)

 

i took a screenshot of the login-server just before it closes automatically, here it is.

 

erro.png

 

 

does anyone have any clue what it might be?

 

if you guys need more information of my configurations to help me out just let me know and i will post here

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  164
  • Reputation:   55
  • Joined:  11/25/11
  • Last Seen:  

Login server isn't crashing. It's exiting due to an error.

Your login server config file is telling login server to connect to MySQL database on your localhost (127.0.0.1) and connect using username "ragnarok" and the password you edited out.

 

Make sure your MySQL server is running, and listening on localhost, port 3306. Make sure you have created a MySQL user named 'ragnarok' and assigned it whatever password you have in the config file.

 

Try to access your MySQL server directly, and see if it connects.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  02/10/15
  • Last Seen:  

Thank you for replying

 

so, MySQL is running and listening on localhost:

 

My_SQL55.png

 

 

 

I have changed inter_athena.conf a little bit and now all of the login-server, char-server, and map-server open and communicate to each other

 

here are the changes I made on my inter_athena.conf:

// MySQL Login server
login_server_ip: 127.0.0.1
login_server_port: 3306
login_server_id: ragnarok
login_server_pw: [ADDED THE PASSWORD I CREATED]
login_server_db: ragnarok
login_codepage:
login_case_sensitive: no

ipban_db_ip: 127.0.0.1
ipban_db_port: 3306
ipban_db_id: ragnarok
ipban_db_pw: [ADDED THE PASSWORD I CREATED]
ipban_db_db: ragnarok
ipban_codepage:

// MySQL Character server
char_server_ip: 127.0.0.1
char_server_port: 3306
char_server_id: ragnarok
char_server_pw: [ALREADY HAD MY PASSWORD]
char_server_db: ragnarok

// MySQL Map Server
map_server_ip: 127.0.0.1
map_server_port: 3306
map_server_id: ragnarok
map_server_pw: [ALREADY HAD MY PASSWORD]
map_server_db: ragnarok

// MySQL Log Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: ragnarok
log_db_pw: [ALREADY HAD MY PASSWORD]
log: ragnarok
log_codepage:
log_login_db: loginlog

the tutorial i followed however didn't mentioned to change the lines i just changed.

 

 

now as i said, all three (login, char, and map-server) communicate to each other.

 

Login2.png

 

Char.pngMap.png

 

However when i try to log in with the game username and password i created in the database it says "Failed to Connect to Server"

 

here is a screenshot of my login-server after i try to login

Login_after.png

 

as you can see it says DB errer - No database selected. 

But it also says "Connection of the account accepted". so it is recognizing my game account, right?

I am assuming this is the problem, but how do i fix it?

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