Jump to content
  • 0

Servers don't connect


Hayate Yoshida

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  206
  • Reputation:   16
  • Joined:  01/03/12
  • Last Seen:  

I've tried this on both Ubuntu linux and Windows 7, I have compiled the server with just own max level modification and it compiles fine. I set up MySQL using this guide SQL Installation and then made my configurations in conf using this guide Connecting and Starting and I run the server and all three out put this;

Character Server

[status]: Memory manager initialised: log/char-server_sql.exe.leaks

				  RAthena Development Team presents
				  ____  ___   __  __
				 / __ \/   | / /_/ /_  ___  ____  ____ _
				/ /_/ / /| |/ __/ __ \/ _ \/ __ \/ __ `/
			   / _, _/ ___ / /_/ / / /  __/ / / / /_/ /
			  /_/ |_/_/  |_\__/_/ /_/\___/_/ /_/\___,_/
					  http://rathena.org/board/
[info]: SVN Revision: '15538'.
[Error]: File not found: conf/import/packet_conf.txt
[info]: Server supports up to '4096' concurrent connections.
[info]: Reading configuration file conf/char_athena.conf...
[status]: PureMadnessRO server has been initialized
[status]: Login server IP address : 127.0.0.1 -> 127.0.0.1
[status]: Character server IP address : 71.92.157.99 -> 71.92.157.99
[info]: Console Silent Setting: 0
[Error]: Configuration file not found: conf/import/char_conf.txt.
[info]: Done reading conf/char_athena.conf.
[info]: Reading the configuration file conf/subnet_athena.conf...
[status]: Read information about 1 subnetworks.
[info]: Reading file conf/inter_athena.conf...
[info]: Reading file conf/import/inter_conf.txt...
[Error]: file not found: conf/import/inter_conf.txt
[info]: Done reading conf/inter_athena.conf.
[info]: Finished reading the char-server configuration.
[info]: interserver initialize...
[info]: reading file conf/inter_athena.conf...
[status]: set char_server_ip : 127.0.0.1
[status]: set char_server_port : 3306
[status]: set char_server_id : ragnarok
[status]: set char_server_pw : ragnarok
[status]: set char_server_db : ragnarok
[Error]: file not found: conf/import/inter_conf.txt
[info]: done reading conf/inter_athena.conf.
[info]: Connect Character DB server.... (Character Server)
[sql]: Access denied for user 'ragnarok'@'localhost' (using password: YES)
[Debug]: at c:\rathena\src\char\inter.c:274
Char-Server has terminated abnormally.
Restarting in 15 seconds, press Ctrl+C to cancel.

Map Server

[status]: Memory manager initialised: log/map-server_sql.exe.leaks


				  RAthena Development Team presents
				  ____  ___   __  __
				 / __ \/   | / /_/ /_  ___  ____  ____ _
				/ /_/ / /| |/ __/ __ \/ _ \/ __ \/ __ `/
			   / _, _/ ___ / /_/ / / /  __/ / / / /_/ /
			  /_/ |_/_/  |_\__/_/ /_/\___/_/ /_/\___,_/

					  http://rathena.org/board/

[info]: SVN Revision: '15538'.
[Error]: File not found: conf/import/packet_conf.txt
[info]: Server supports up to '4096' concurrent connections.
[info]: Initializing random number generator.
[info]: Char Server IP Address : '127.0.0.1' -> '127.0.0.1'.
[info]: Map Server IP Address : '71.92.157.99' -> '71.92.157.99'.
[info]: Console Silent Setting: 0
[Error]: Map configuration file not found at: conf/import/map_conf.txt
[Error]: File not found: conf/import/battle_conf.txt
[Error]: Messages file not found: conf/import/msg_conf.txt
[Error]: file not found: [conf/import/script_conf.txt]
[status]: Using SQL dbs: yes
[Error]: File not found: 'conf/import/inter_conf.txt'.
[Error]: Log configuration file not found at: conf/import/log_conf.txt
[info]: Connecting to the Map DB Server....
[sql]: Access denied for user 'ragnarok'@'localhost' (using password: YES)

Map-Server has terminated abnormally.
Restarting in 15 seconds, press Ctrl+C to cancel.

Login Server

[status]: Memory manager initialised: log/login-server_sql.exe.leaks


				  RAthena Development Team presents
				  ____  ___   __  __
				 / __ \/   | / /_/ /_  ___  ____  ____ _
			    / /_/ / /| |/ __/ __ \/ _ \/ __ \/ __ `/
			   / _, _/ ___ / /_/ / / /  __/ / / / /_/ /
			  /_/ |_/_/  |_\__/_/ /_/\___/_/ /_/\___,_/

					  http://rathena.org/board/

[info]: SVN Revision: '15538'.
[Error]: File not found: conf/import/packet_conf.txt
[info]: Server supports up to '4096' concurrent connections.
[info]: Reading configuration file conf/login_athena.conf...
[status]: set login_port : 7777
[info]: Console Silent Setting: 0
[info]: Reading configuration file conf/inter_athena.conf...
[Error]: Configuration file (conf/import/inter_conf.txt) not found.
[info]: Finished reading conf/inter_athena.conf.
[Error]: Configuration file (conf/import/login_conf.txt) not found.
[info]: Finished reading conf/login_athena.conf.
[info]: Reading the configuration file conf/subnet_athena.conf...
[status]: Read information about 1 subnetworks.
[info]: Initializing random number generator.
[sql]: Access denied for user 'ragnarok'@'localhost' (using password: YES)
[Debug]: at c:\rathena\src\login\loginlog_sql.c:110

Login-Server has terminated abnormally.
Restarting in 15 seconds, press Ctrl+C to cancel.

Edited by Shinon Yoshida
Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  217
  • Reputation:   18
  • Joined:  11/20/11
  • Last Seen:  

Where does it fail with connecting? Client side? Server side? Problem in the SQL? Or maybe with your configurations?

Do you have any images of it not connecting?

1. Make sure your ports are allowed through firewall

2. Check SQL/Configurations

3. Double check SQL/Configs

4. Images ~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  206
  • Reputation:   16
  • Joined:  01/03/12
  • Last Seen:  

I've allowed the ports in my firewall and router, passwords are correct, I followed the SQL Installation exactly.

Edited by Shinon Yoshida
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  217
  • Reputation:   18
  • Joined:  11/20/11
  • Last Seen:  

check these files to see if they match and the ip is correct.

conf/char_athena.conf

conf/map_athena.conf

conf/inter_athena.conf

conf/subnet_athena.conf

www.whatismyip.com

Edited by Mirage
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  206
  • Reputation:   16
  • Joined:  01/03/12
  • Last Seen:  

The only one I haven't checked is subnet. I guess maybe I'm missing something possibly but I've set up eAthena before so many times and I've never gotten an error like this before.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  217
  • Reputation:   18
  • Joined:  11/20/11
  • Last Seen:  

I saw your images show up just now.

The ip address 127.0.0.1 change it to your computers ip address

which you can find in running the command prompt and doing " ipconfig "

If you doing it on windows

Edited by Mirage
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   11
  • Joined:  01/01/12
  • Last Seen:  

Subnet is not needed for the servers to connect to each other only if you try to connect to the server using your LAN address *Correct me if I'm wrong"

Check again.

Char_Athena

login_ip: LAN IP
char_ip: WAN IP

Map_Athena

char_ip: LAN IP
map_ip: WAN IP

Double check to see if your ports are all forwarded and your LAN IP didn't change.

Edited by Obliterate
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  206
  • Reputation:   16
  • Joined:  01/03/12
  • Last Seen:  

I thought you only need lan ip if you have your servers on different machines, correct me if I'm mistaken. I solved the SQL connection problem, the SQL Installation tutorial left out the creating a new connection part in MySQL Workbench. Problem solved.

sreeny.th.png

Edited by Shinon Yoshida
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  217
  • Reputation:   18
  • Joined:  11/20/11
  • Last Seen:  

Well, if your just trying to connect using lan. You dont have to change ips at all.

you can leave it like this if your going ot connect via LAN

Char_Athena:

login_ip: 127.0.0.1
char_ip: 127.0.0.1

Map_Athena:

login_ip: 127.0.0.1
map_ip: 127.0.0.1

Although, if your going to have other people connect to your server. You need to have it the way I suggested

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  206
  • Reputation:   16
  • Joined:  01/03/12
  • Last Seen:  

Aah, I see. I've never used the lan IP. I used a no-ip with my domain name, since I have a dynamic wan IP.

Well, thanks for your help! I appreciate it very much! :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  217
  • Reputation:   18
  • Joined:  11/20/11
  • Last Seen:  

No problem. Glad its solved.

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