Jump to content

Server restarted. How do I investigate reason?


Recommended Posts

When I returned home today I found that my unRAID server (5.0) has restarted (unorderly).

Since the syslog is maintained in RAM, I can't see what happened.

Is there anything I can do to track back what caused it? (doesn't seem to be a power issue).

 

What is considered to be the common wisdom to address this? Link /var/log/syslog to permanent storage? rsyslog? (wouldn't have helped for sudden crash or panic anyway). Something else? Thanks for any insight.

Link to comment

Have you looked to see if the active log got copied to /boot/logs? Depending on the type of shutdown/restart the active log should get written there.

 

This is not correct. An add-on might do this but not a stock system.

 

Indeed. I don't even have a /boot/log directory.

That would be a good way to start though, for future mishaps. Which add-on does that? Is it 5.0-ready?

 

Something like that would not address a k-panic type crash, and things like that, but may shed light in some cases.

I guess I could simply fiddle with /etc/syslog.conf upon boot and direct it to some permanent storage.

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

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