Jump to content
  • 0

Server does not read inter_athena.conf


Achhandrian

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   2
  • Joined:  07/31/12
  • Last Seen:  

inter_athena.conf

// Athena InterServer configuration.

// Options for both versions

// Log Inter Connections, etc.?

log_inter: 1

// Inter Log Filename

inter_log_filename: log/inter.log

// Level range for sharing within a party

party_share_level: 50

// SQL version options only

// You can specify the codepage to use in your mySQL tables here.

// (Note that this feature requires MySQL 4.1+)

//default_codepage:

// For IPs, ideally under linux, you want to use localhost instead of 127.0.0.1

// Under windows, you want to use 127.0.0.1. If you see a message like

// "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"

// and you have localhost, switch it to 127.0.0.1

// Global SQL settings

// overriden by local settings when the hostname is defined there

// (currently only the login-server reads/obeys these settings)

sql.db_hostname: new-legends-ro.de

sql.db_port: 3306

sql.db_username: newlegendsro

sql.db_password: ###

sql.db_database: newlegendsro

sql.codepage:

// MySQL Character SQL server

char_server_ip: new-legends-ro.de

char_server_port: 3306

sql.db_username: newlegendsro

sql.db_password: ###

sql.db_database: newlegendsro

// MySQL Map SQL Server

map_server_ip: new-legends-ro.de

map_server_port: 3306

sql.db_username: newlegendsro

sql.db_password: ###

sql.db_database: newlegendsro

// MySQL Log SQL Database

log_db_ip: new-legends-ro.de

log_db_port: 3306

sql.db_username: newlegendsro

sql.db_password: ###

sql.db_database: newlegendsro

log_codepage:

log_login_db: loginlog

// DO NOT CHANGE ANYTHING BEYOND THIS LINE UNLESS YOU KNOW YOUR DATABASE DAMN WELL

// this is meant for people who KNOW their stuff, and for some reason want to change their

// database layout. [CLOWNISIUS]

// ALL MySQL Database Table names

// Char Database Tables

char_db: char

hotkey_db: hotkey

scdata_db: sc_data

cart_db: cart_inventory

inventory_db: inventory

charlog_db: charlog

storage_db: storage

reg_db: global_reg_value

skill_db: skill

interlog_db: interlog

memo_db: memo

guild_db: guild

guild_alliance_db: guild_alliance

guild_castle_db: guild_castle

guild_expulsion_db: guild_expulsion

guild_member_db: guild_member

guild_skill_db: guild_skill

guild_position_db: guild_position

guild_storage_db: guild_storage

party_db: party

pet_db: pet

friend_db: friends

mail_db: mail

auction_db: auction

quest_db: quest

homunculus_db: homunculus

skill_homunculus_db: skill_homunculus

mercenary_db: mercenary

mercenary_owner_db: mercenary_owner

ragsrvinfo_db: ragsrvinfo

// Map Database Tables

item_db_db: item_db

item_db_re_db: item_db_re

item_db2_db: item_db2

mob_db_db: mob_db

mob_db2_db: mob_db2

mob_skill_db_db: mob_skill_db

mob_skill_db2_db: mob_skill_db2

mapreg_db: mapreg

//Use SQL item_db, mob_db and mob_skill_db for the map server

use_sql_db: no

// Nick for sending mainchat

// messages like whisper

main_chat_nick: Main

import: conf/import/inter_conf.txt

trying to start:

Athena Starting...

© 2003 Athena Project

modified by [email protected]

checking...

Check complete.

Looks good, a nice Athena!

Now Started Athena.

[newlegendsro@s15402499 server]$ [status]: Memory manager initialised: log/login-server_sql.leaks

rAthena Development Team presents

___ __ __

_____/ | / /_/ /_ ___ ____ ____ _

/ ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/

/ / / ___ / /_/ / / / __/ / / / /_/ /

/_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/

http://rathena.org/board/

[info]: SVN Revision: '16724'.

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

rAthena Development Team presents

___ __ __

_____/ | / /_/ /_ ___ ____ ____ _

/ ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/

/ / / ___ / /_/ / / / __/ / / / /_/ /

/_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/

http://rathena.org/board/

[info]: SVN Revision: '16724'.

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

rAthena Development Team presents

___ __ __

_____/ | / /_/ /_ ___ ____ ____ _

/ ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/

/ / / ___ / /_/ / / / __/ / / / /_/ /

/_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/

http://rathena.org/board/

[info]: SVN Revision: '16724'.

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

[info]: Reading configuration file conf/login_athena.conf...

[status]: set login_port : 6900

[info]: Console Silent Setting: 0

[info]: Reading configuration file conf/inter_athena.conf...

[info]: Reading configuration file conf/import/inter_conf.txt...

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

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

[info]: Reading configuration file conf/import/login_conf.txt...

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

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

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

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

[info]: Initializing random number generator.

[Warning]: Unknown setting 'login_ip' in file conf/map_athena.conf

[Warning]: Unknown setting 'login_ip' in file conf/map_athena.conf

[info]: Console Silent Setting: 0

[info]: Reading configuration file conf/char_athena.conf...

[status]: New-Legends-Ragnarok-Online server has been initialized

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

[info]: Console Silent Setting: 0

[info]: Reading configuration file conf/import/char_conf.txt...

[status]: New-Legends-Ragnarok-Online server has been initialized

[info]: Done reading 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...

[Warning]: Unknown setting 'login_ip' in file conf/import/map_conf.txt

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

[Warning]: Unknown setting 'login_ip' in file conf/import/map_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 : new-legends-ro.de

[status]: set char_server_port : 3306

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

[status]: set char_server_ip : new-legends-ro.de

[status]: set char_server_port : 3306

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

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

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

: Access denied for user 'newlegendsro'@'s15402499.onlinehome-server.info' (using password: NO)[/color]

[Debug]: at loginlog_sql.c:110

[Warning]: Not all IP addresses in map_athena.conf configured, autodetecting...

[info]: Defaulting to 87.106.37.153 as our IP address

[info]: Map Server IP Address : '87.106.37.153' -> '87.106.37.153'.

[info]: Char Server IP Address : '87.106.37.153' -> '87.106.37.153'.

[color=#ff0000][sql]: Access denied for user 'ragnarok'@'%' to database 'ragnarok'[/color]

[Debug]: at inter.c:778

[status]: Using SQL dbs: no

[info]: Logging item transactions to table 'picklog'.

[info]: Logging commands to table 'atcommandlog'.

[info]: Connecting to the Map DB Server....

[color=#ff0000][sql]: Access denied for user 'ragnarok'@'%' to database 'ragnarok'[/color]

My server does not read inter_athena.conf.

it always trys to start with the default settings out of inter_athena.conf not the settings i put in, and in the first error it tries to access mysql with the user i logged in in putty without a passwort.....

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  08/28/12
  • Last Seen:  

//Use SQL item_db, mob_db and mob_skill_db for the map server
use_sql_db: no

-->

//Use SQL item_db, mob_db and mob_skill_db for the map server
use_sql_db: yes

have fun~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  47
  • Reputation:   8
  • Joined:  12/06/11
  • Last Seen:  

Did you change the account database settings in login_athena.conf?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   2
  • Joined:  07/31/12
  • Last Seen:  

//Use SQL item_db, mob_db and mob_skill_db for the map server
use_sql_db: no

-->

//Use SQL item_db, mob_db and mob_skill_db for the map server
use_sql_db: yes

have fun~

This doenst change a thing, tried it

and what should change if i say him he should use sql db instead of the txt when the server dont reads the inter_athena.conf?

dont get your point.....

Did you change the account database settings in login_athena.conf?

didnt change anything in the login_athena.conf wasnt mentioned in the guide at the wiki...

except if i did change ports but i didnt changed ports...

tried it with just naming everthing ragnarok, db, user, pw and so on still get the access denied error.....

gone step by step through the guide at the wiki several times now....

: Access denied for user 'ragnarok'@'localhost' to database 'ragnarok'[/color]

[Debug]: at loginlog_sql.c:110

[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

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

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

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

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

[color=#ff0000][sql]: Access denied for user 'ragnarok'@'localhost' to database 'ragnarok'[/color]

[Debug]: at inter.c:778

[status]: Using SQL dbs: yes

[info]: Logging item transactions to table 'picklog'.

[info]: Logging commands to table 'atcommandlog'.

[info]: Connecting to the Map DB Server....

[color=#b22222][sql]: Access denied for user 'ragnarok'@'localhost' to database 'ragnarok'[/color]

Edited by Achhandrian
Link to comment
Share on other sites


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3123
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

Have a look at this post, it should explain what's wrong and how to fix it.

However, you're right, the servers don't seem to be reading your inter_athena.conf file.. what SVN revision are you using, and have you added anything to the import/ folder?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   2
  • Joined:  07/31/12
  • Last Seen:  

Im using CentOS on my Server and created a user in mysql like this guide in the wiki describes http://rathena.org/w...ase_for_rAthena

im using 16724 at least the server says so when i trie to start him

installed via svn checkout https://rathena.svn..../rathena/trunk/ ~/trunk

like the guide says and i tried with wrting everything in the import folder and i tried with just deleting the import folder.....

Edited by Achhandrian
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

You need to use MySQL Administration Tools to give your SQL Login name 'Ragnarok' accesses to schema 'Ragnarok'.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   2
  • Joined:  07/31/12
  • Last Seen:  

You mean like this ?

CREATE DATABASE newlegendsro_rag;
CREATE DATABASE newlegendsro_log;
CREATE USER 'newlegendsro'@'localhost' IDENTIFIED BY 'server2001';
GRANT SELECT,INSERT,UPDATE,DELETE ON `newlegendsro\_rag`.* TO 'newlegendsro'@'localhost';
GRANT SELECT,INSERT ON `newlegendsro\_log`.* TO 'newlegendsro'@'localhost';

unbenanntqu.png

Already did that.....

I mean this time its not the ragnarok user, because in general i dont want to use the default thing, tried it before with raganarok but was jsut the same just another name......

Edited by Achhandrian
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  47
  • Reputation:   8
  • Joined:  12/06/11
  • Last Seen:  

I meant these settings:

// Account data storage configuration
// SQL
//account.sql.db_hostname: 127.0.0.1
//account.sql.db_port: 3306
//account.sql.db_username: ragnarok
//account.sql.db_password: ragnarok
//account.sql.db_database: ragnarok
//account.sql.codepage: 
//account.sql.case_sensitive: no
//account.sql.account_db: login
//account.sql.accreg_db: global_reg_value

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

I meant these settings:

// Account data storage configuration
// SQL
account.sql.db_hostname: 127.0.0.1
account.sql.db_port: 3306
account.sql.db_username: ragnarok
account.sql.db_password: ragnarok
account.sql.db_database: ragnarok
account.sql.codepage:
account.sql.case_sensitive: no
account.sql.account_db: login
account.sql.accreg_db: global_reg_value

yep, use this setting. also,

open putty, then:

mysql -u root -p

<enter your password>

then, type:

FLUSH PRIVILEGES;

then:

exit;

and try starting the server again

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