Jump to content
  • 0

How to put logs when the server crashes?


Question

3 answers to this question

Recommended Posts

Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...