Jump to content
  • 0

How to put logs when the server crashes?


Meister

Question


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

As the title says.. example if the map server crashes but still reconnect but doesn't accept player or won't let any character connect.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


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

Hi emong,

What kind of system are you running your server on? Is it Windows, or Linux?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

it is linux sir..

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 emong,

Then you can just use this when starting your server...

nohup ./login-server_sql > login-server.log& nohup ./char-server_sql > char-server.log& nohup ./map-server_sql > map-server.log

Make sure you are already inside the trunk directory; once the server crashes you may view the .log files inside the trunk folder. And to kill off the processes, you can just use the following commands...

killall -9 login-server_sql
killall -9 char-server_sql
killall -9 map-server_sql

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