Jump to content
  • 0

Connection closed on VPS


icerock90

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  08/06/13
  • Last Seen:  

Hello. I have a little problem..

'[info]: Closed connection from "

can't login in to the server wich is on a vps server.
before compiling the server on the vps, I compiled it on a local virtual machine - worked fine.

the vps OS - ubuntu 10.04_32

 

 

Inter_conf

// MySQL Character SQL server

char_server_ip: 93.188.161.205 
char_server_port: 3306
char_server_id: myid
char_server_pw: mypw
char_server_db: mydb

// MySQL Map SQL Server
map_server_ip: 93.188.161.205 
map_server_port: 3306
map_server_id: myid
map_server_pw: mypw
map_server_db: mydb

// MySQL Log SQL Database

log_db_ip: 93.188.161.205 
log_db_port: 3306
log_db_id: myid
log_db_pw: mypw
log_db_db: mydb

// for TXT -> SQL convertors

db_server_ip: 93.188.161.205 
db_server_port: 3306
db_server_id: myid
db_server_pw: mypw
db_server_logindb: mydb

map_conf

userid: s1
passwd: p1

char_ip: 93.188.161.205 
bind_ip: 93.188.161.205 
map_ip: 93.188.161.205 

char_conf

userid: s1
passwd: p1

login_ip: 93.188.161.205 
bind_ip: 93.188.161.205 
char_ip: 93.188.161.205 
bind_ip: 93.188.161.205 

// MySQL Login SQL Server

login_server_ip: 93.188.161.205 
login_server_port: 3306
login_server_id: myid
login_server_pw: mypw
login_server_db: mydb

// Ipban features (SQL only)

ipban.enable: yes
ipban.sql.db_hostname: 93.188.161.205 
ipban.sql.db_port: 3306
ipban.sql.db_username: myid
ipban.sql.db_password: mypw
ipban.sql.db_database: mydb
ipban.sql.ipban_table: ipbanlist

// SQL

account.sql.db_hostname: 93.188.161.205 
account.sql.db_port: 3306
account.sql.db_username: myid
account.sql.db_password: mypw
account.sql.db_database: mydb

Server Log

[Info]: SVN Revision: '735'.
[Info]: Reading configuration file conf/char_athena.conf...
[Status]: eAthena server has been initialized
[Info]: Console Silent Setting: 0
[Info]: Reading configuration file conf/import/char_conf.txt...
[Info]: Char Server IP Address : '93.188.161.205' -> '93.188.161.205'.
[Info]: Map Server Bind IP Address : '93.188.161.205' -> '93.188.161.205'.
[Info]: Map Server IP Address : '93.188.161.205' -> '93.188.161.205'.
[Error]: Using the default user/password s1/p1 is NOT RECOMMENDED.
[Notice]: Please edit your 'login' table to create a proper inter-server user/password (gender 'S')
[Notice]: and then edit your user/password in conf/map_athena.conf (or conf/import/map_conf.txt)
[Status]: Using SQL dbs: no
[Notice]: Logging Item Picks to table `picklog`
[Notice]: Logging GM Level 40 Commands to table `atcommandlog`
[Notice]: Logging Item Picks to file `log/picklog.log`
[Notice]: Logging GM Level 40 Commands to file `log/atcommandlog.log`
[Status]: Memory manager initialised: log/login-server_sql.leaks

          (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
          (            eAthena Development Team presents            )
          (       ______  __    __                                  )
          (      /\  _  \/\ \__/\ \                                 )
          (    __\ \ \_\ \ \ ,_\ \ \___      __    ___      __      )
          (  /'__`\ \  __ \ \ \/\ \  _ `\  /'__`\/' _ `\  /'__`\    )
          ( /\  __/\ \ \/\ \ \ \_\ \ \ \ \/\  __//\ \/\ \/\ \_\.\_  )
          ( \ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\ )
          (  \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/ )
          (   _   _   _   _   _   _   _     _   _   _   _   _   _   )
          (  / \ / \ / \ / \ / \ / \ / \   / \ / \ / \ / \ / \ / \  )
          ( ( e | n | g | l | i | s | h ) ( A | t | h | e | n | a ) )
          (  \_/ \_/ \_/ \_/ \_/ \_/ \_/   \_/ \_/ \_/ \_/ \_/ \_/  )
          (                                                         )
          (              3rd Class Modification Project             )
          (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)

[Info]: SVN Revision: '735'.
[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]: Connecting to the Map DB Server....
[Status]: connect success! (Map Server Connection)
[Status]: Loading maps (using db/map_cache.dat as map cache)...
[Status]: Loading maps (804)..
[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]: Using account engine 'sql'.
[Status]: The login-server is ready (Server is listening on the port 6900).

[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...
[Info]: Done reading conf/import/inter_conf.txt.
[Info]: Done reading conf/inter_athena.conf.
[Error]: Using the default user/password s1/p1 is NOT RECOMMENDED.
[Notice]: Please edit your 'login' table to create a proper inter-server user/password (gender 'S')
[Notice]: And then change the user/password to use in conf/char_athena.conf (or conf/import/char_conf.txt)
[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
[Info]: reading file conf/import/inter_conf.txt...
[Status]: set char_server_ip : 93.188.161.205
[Status]: set char_server_port : 3306
[Status]: set char_server_id : ragnarok1
[Status]: set char_server_pw : ragnarok1
[Status]: set char_server_db : ragnarok1
[Info]: done reading conf/import/inter_conf.txt.
[Info]: done reading conf/inter_athena.conf.
[Info]: Connect Character DB server.... (Character Server)
[Info]: Finished reading the inter-server configuration.
[Info]: Initializing char server.
[Info]: Begin Initializing.......
[Status]: Chars per Account: 'Unlimited'.......
[Info]: Finished initilizing.......
[Info]: char server initialized.
[Status]: Multiple interfaces detected..  using 127.0.0.2 as our IP address
[Info]: Cleaning the 'char' table...
[Info]: Cleaning the 'guild' table...
[Info]: Cleaning the 'guild_member' table...
[Info]: End of char server initilization function.
[Info]: open port 6121.....
[Status]: The char-server is ready (Server is listening on the port 6121).

[Info]: Successfully loaded '804' maps.
[Status]: Done reading packet database from 'packet_db.txt'. Using default packet version: 29.
[Status]: Done reading '6214' entries in 'item_db.txt'.
[Status]: Done reading '278' entries in 'item_db2.txt'.
[Status]: Done reading 'item_group_db.txt'.
[Status]: Done reading '1' entries in 'db/item_avail.txt'.
[Status]: Done reading '17' entries in 'db/item_noequip.txt'.
[Status]: Done reading '1361' entries in 'db/item_trade.txt'.
[Status]: Done reading '4' entries in 'db/item_delay.txt'.
[Status]: Done reading '1057' entries in 'db/item_buyingstore.txt'.
[Status]: Done reading '1062' entries in 'db/skill_db.txt'.
[Status]: Done reading '834' entries in 'db/skill_require_db.txt'.
[Status]: Done reading '779' entries in 'db/skill_cast_db.txt'.
[Status]: Done reading '53' entries in 'db/skill_castnodex_db.txt'.
[Status]: Done reading '105' entries in 'db/skill_nocast_db.txt'.
[Status]: Done reading '130' entries in 'db/skill_unit_db.txt'.
[Status]: Done reading '263' entries in 'db/produce_db.txt'.
[Status]: Done reading '136' entries in 'db/create_arrow_db.txt'.
[Status]: Done reading '207' entries in 'db/abra_db.txt'.
[Status]: Done reading '17' entries in 'db/spellbook_db.txt'.
[Status]: Done reading '16' entries in 'db/improvise_db.txt'.
[Status]: Done reading '23' entries in 'db/magicmushroom_db.txt'.
[Status]: Done reading '139' entries in 'db/skill_reproduce_db.txt'.
[Status]: Done reading '992' entries in 'db/mob_db.txt'.
[Status]: Done reading '21' entries in 'db/mob_db2.txt'.
[Status]: Done reading '0' entries in 'db/mob_avail.txt'.
[Status]: Done reading 'mob_branch.txt'.
[Status]: Done reading 'mob_poring.txt'.
[Status]: Done reading 'mob_boss.txt'.
[Status]: Done reading 'mob_pouch.txt'.
[Status]: Done reading 'mob_chat_db.txt'.
[Status]: Done reading '5492' entries in 'db/mob_skill_db.txt'.
[Status]: Done reading '23' entries in 'db/mob_skill_db2.txt'.
[Status]: Done reading '6' entries in 'db/mob_race2_db.txt'.
[Status]: Done reading 'exp.txt'.
[Status]: Done reading '5324' entries in 'db/skill_tree.txt'.
[Status]: Done reading 'attr_fix.txt'.
[Status]: Done reading 'statpoint.txt'.
[Status]: Done reading '1' entries in 'conf/motd.txt'.
[Status]: Done reading '133' entries in 'db/job_db1.txt'.
[Status]: Done reading '132' entries in 'db/job_db2.txt'.
[Status]: Done reading '3' entries in 'db/size_fix.txt'.
[Status]: Done reading '5' entries in 'db/refine_db.txt'.
[Status]: Done reading '34' entries in 'db/castle_db.txt'.
[Status]: Done reading '15' entries in 'db/guild_skill_tree.txt'.
[Status]: Done reading '58' pets in 'pet_db.txt'.
[Status]: Done reading '0' pets in 'pet_db2.txt'.
[Status]: Done reading '13' entries in 'db/homunculus_db.txt'.
[Status]: Done reading '150' levels in 'exp_homun.txt'.
[Status]: Done reading '82' entries in 'db/homun_skill_tree.txt'.
[Status]: Done reading '44' entries in 'db/mercenary_db.txt'.
[Status]: Done reading '118' entries in 'db/mercenary_skill_db.txt'.
[Status]: Done reading '12' elementals in 'db/elemental_db.txt'.
[Status]: Done reading '36' entries in 'db/elemental_skill_db.txt'.
[Status]: Done reading '1703' entries in 'quest_db.txt'.
[Info]: Attempt to connect to login-server..._moscovia.txt
[Status]: Connecting to 127.0.0.2:6900
[Info]: Connection request of the char-server 'eAthena' @ 127.0.0.2:6121 (account: 's1', pass: 'p1', ip: '127.0.0.2')
[Notice]: Authentication accepted (account: s1, id: 1, ip: 127.0.0.2)
[Status]: Connection of the char-server 'eAthena' accepted.
[Status]: Connected to login-server (connection #5).
[Status]: Awaiting maps from map-server.
[Info]: Done loading '12799' NPCs:
        -'3048' Warps
        -'187' Shops
        -'9564' Scripts
        -'3926' Spawn sets
        -'41060' Mobs Cached
        -'0' Mobs Not Cached
[Status]: Event 'OnInit' executed with '1451' NPCs.
[Status]: Server is 'ready' and listening on port '5121'.

[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to 93.188.161.205:6121
[Status]: Logging in to char server...
[Status]: Successfully logged on to Char Server (Connection: '5').
[Status]: Sending maps to char server...
[Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInitOnce' executed with '31' NPCs.
[Status]: Map-Server 0 connected: 804 maps, from IP 93.188.161.205 port 5121.
[Status]: Map-server 0 loading complete.
[Status]: Map sending complete. Map Server is now online.
[Info]: Received Fame List of '0' characters.
[Status]: Request for connection of icerock (ip: 109.251.20.18).
[Notice]: Authentication accepted (account: icerock, id: 2000002, ip: 109.251.20.18)
[Status]: Connection of the account 'icerock' accepted.
[Info]: Closed connection from '109.251.20.18'.

IPconfig of the vps

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:15489 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15489 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8860216 (8.8 MB)  TX bytes:8860216 (8.8 MB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00                                                                                        -00
          inet addr:127.0.0.2  P-t-P:127.0.0.2  Bcast:0.0.0.0  Mask:255.255.255.                                                                                        255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:20615 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16609 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:17161749 (17.1 MB)  TX bytes:2726663 (2.7 MB)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00                                                                                        -00
          inet addr:93.188.161.205  P-t-P:93.188.161.205  Bcast:0.0.0.0  Mask:25                                                                                        5.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

 

any ideas..?

will  appreciate any help ;)

Thx !

Edited by icerock90
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  08/06/13
  • Last Seen:  

hmm.. solved... diffed the cleint with option "Enable Proxy Support"

 

and woohoo ))) it works ;)

Edited by icerock90
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

you don't to use bind_ip:. have you check if the port was opened?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  08/06/13
  • Last Seen:  

thx for reply, i'll try to remove bind_ip ;)

port's are opened..

 

 

________________________________________

 

removal of bind_ip didn't help.

 

i tried to turn off the ip rulles in packet_athena.conf - nothing happens.

maybe i need to change something in subnet_athena.conf ?

Edited by icerock90
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  08/06/13
  • Last Seen:  

i'm a bit confused about [status]: Multiple interfaces detected..  using 127.0.0.2 as our IP address

 

how can i get it to use external ip ?
 

 

it's just on my local virtual-machine it binds to external ip.. and everything works fine ._.

Edited by icerock90
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

the only thing that you need to change is the

char_athena.conf

map_athena.conf

subnet_athena.conf

 

just change the ip

 

inter_athena.conf

check your database.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  08/14/13
  • Last Seen:  

change userid and passwd

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