Jump to content
  • 0

A couple of questions/help~


Question

Posted

-> How can I setup nohup?

-> Is it possible to re-open logs after you exit putty?

-> My map server crashed a few days ago.. the problem doesnt seem to be happening again, but I want to know why it happened.. How can I know how?

Thanks!

3 answers to this question

Recommended Posts

Posted

Hi Ron,

You can simply run nohup to log the process, and then just exit putty.

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

After running that code, you may find 3 files inside the directory you're running the map/char/login servers from and their respective run logs.

Posted

Hi Ron,

I'm not going to read over that long guide. The method that I've presented you with in my previous post logs that single session of while the process is still running. So you can read the *.log files even when the process is on/off, doesn't matter. If you want a fresh *.log when you're re-newing your processes, then simply remove the *.log files before starting them up again.

rm -rf *.log

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