Jump to content
  • 0

error in putty


orange

Question


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   7
  • Joined:  09/13/12
  • Last Seen:  

hey guys

 

can some 1 please help me out why am i getting this error? and how can i rectify it?

 

 

6h5f6h.png

Link to comment
Share on other sites

12 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

are u using debian os ? 

if yes. 

 

type ps aux.

 

view PID number of yours (Name)

 

kill -9 PID

 

good luck

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   7
  • Joined:  09/13/12
  • Last Seen:  

no i am using centos



 
i am kinda in trouble. 
 
just to check, i opened my map_athena.conf and char_athena.conf
 
there i found this
 
// Login Server IP
// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
//login_ip: 127.0.0.1
 
of course my login ip is a different one. just to check i removed the double slash (//) from login ip in char_athena.conf and map_athena.conf respectively . and i tried restarted but i got da same error. but unfortunately for me, i found that everything from those 2 files got erased. the file size is 0. i tried copying the data in it from the ra svn on this fourms. but after i paste it the data doesnt seem to get saved. please help me out on what i have to do.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

the error is produced because, u have run 2 of map-server_sql. u should stop that 1st.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

There's an instance of rathena already running on that port.

 

run this..

 

 

 

./athena-start restart
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   7
  • Joined:  09/13/12
  • Last Seen:  

yes i already did that cly. still i get the same same error. but now the issue is that my char_athena.conf and map_athena.conf r blank!!!!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi Orange,

Turn off your IPTables just in case with...

service iptables stop

Then perform a reboot on your VPS/Dedicated Service to help alleviate any pre-existing processes;

reboot

Finally, try once again to run it to see if it works.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   3
  • Joined:  01/05/12
  • Last Seen:  

Hi Orange,

Turn off your IPTables just in case with...

service iptables stop

Then perform a reboot on your VPS/Dedicated Service to help alleviate any pre-existing processes;

reboot

Finally, try once again to run it to see if it works.

 

reboot fix all or what is that.

 

 

Right answere;

Port is already used, change them and restart athena, thats all.

Edited by yakuu
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   7
  • Joined:  09/13/12
  • Last Seen:  

Hi Orange,

Turn off your IPTables just in case with...

service iptables stop

Then perform a reboot on your VPS/Dedicated Service to help alleviate any pre-existing processes;

reboot

Finally, try once again to run it to see if it works.

 

 

Thanks a lot asura for ur help

 

but when i do reboot  i get a message "the system is going down for reboot NOW!! " in putty

 

i gt this message

 

23hndoh.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   3
  • Joined:  01/05/12
  • Last Seen:  

x.X

 

"Reboot", an event sequence when restarting a computer

 

Just wait until the server is back online..

 

Oh and how i said, please change your Port, you can chekc the Port wich used with:

 

// Login Server Port
login_port: 6900

example edit to: 7100

...

// Character Server Port
char_port: 6121

example edit to: 7321

 

...

 

// Map Server Port
map_port: 5121

example edit to: 5321

 

...

 

 

and 

./athena-start restart

Edited by yakuu
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   7
  • Joined:  09/13/12
  • Last Seen:  

sir plss do have a look at this screenshot especially char_athena,conf and map_athena.conf

 

34eul4o.png



any 1 here??


 



hey guys i kinda managed to get it solved. thanks for all your support but right now when i restart i get this message.

 

[info]: Logging item transactions to table 'picklog'.
[info]: Logging commands to table 'atcommandlog'.
[info]: Connecting to the Map DB Server....

: Can't connect to MySQL server on '127.0.0.1' (111)

[Debug]: at inter.c:769

 

how can i fix it??

Edited by orange
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   3
  • Joined:  01/05/12
  • Last Seen:  

conf/inter_athena.conf
 

sql.db_hostname: 127.0.0.1
sql.db_port: 3306
sql.db_username: ragnarok
sql.db_password: ragnarok
sql.db_database: ragnarok
sql.codepage:

// MySQL Character SQL server
char_server_ip: 127.0.0.1
char_server_port: 3306
char_server_id: ragnarok
char_server_pw: ragnarok
char_server_db: ragnarok

// MySQL Map SQL Server
map_server_ip: 127.0.0.1
map_server_port: 3306
map_server_id: ragnarok
map_server_pw: ragnarok
map_server_db: ragnarok


// MySQL Log SQL Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: ragnarok
log_db_pw: ragnarok
log_db_db: ragnarok
log_codepage:
log_login_db: loginlog
Edited by yakuu
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Yup. The IP Address is on default at the moment and you need to get your SQL Address from your provider. Your provider is responsible for having your VPS Address and a SQL One.

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