teitur Posted February 28 Share Posted February 28 When my Unraid server boots back up after unscheduled power off the eth0 interface is missing. Any ideas what can cause this? It fixes itself by gracefully powering down the server and turning it back on again. tower-diagnostics-20240228-1419.zip Quote Link to comment
JorgeB Posted February 28 Share Posted February 28 NIC appears to be working, or are these diags after a clean shutdown? Quote Link to comment
teitur Posted February 28 Author Share Posted February 28 33 minutes ago, JorgeB said: NIC appears to be working, or are these diags after a clean shutdown? Yes after a clean shutdown. Does Unraid not keep the logs between reboots? Quote Link to comment
trurl Posted February 28 Share Posted February 28 syslog is in /var/log, which is in RAM like all the OS files. Setup syslog server Quote Link to comment
teitur Posted February 28 Author Share Posted February 28 24 minutes ago, trurl said: syslog is in /var/log, which is in RAM like all the OS files. Setup syslog server I have enabled syslog server. This is a diagnostics file that I uploaded, does that not get logs further back than one reboot? If the Tools/settings/diagnostics just shows one reboot back. What files do I gather from /var/log ? syslog.txt Quote Link to comment
JorgeB Posted February 28 Share Posted February 28 Post new diags after an unclean shutdown, when the server is having the problem. Quote Link to comment
teitur Posted February 29 Author Share Posted February 29 On 2/28/2024 at 4:43 PM, JorgeB said: Post new diags after an unclean shutdown, when the server is having the problem. But then I cannot access the web interface to get them and my CLI knowlege is highly limited. Is there no setting or something that tells the Unraid server to append to the logs, not to override them? Quote Link to comment
JorgeB Posted February 29 Share Posted February 29 1 minute ago, teitur said: CLI knowlege is highly limited. Just need to type 'diagnostics', they will be save to the flash drive, /logs folder. 2 minutes ago, teitur said: Is there no setting or something that tells the Unraid server to append to the logs, not to override them? You can enable the syslog server, but that won't show if the NIC is being detected on a hardware level, like the diags after that happens. Quote Link to comment
trurl Posted February 29 Share Posted February 29 On 2/28/2024 at 11:25 AM, teitur said: If the Tools/settings/diagnostics just shows one reboot back. What files do I gather from /var/log ? That's the reason for syslog server. /var/log is in RAM just like all OS files so doesn't survive reboot. Get the logs from wherever you have syslog server configured to save them. Might be useful to post your settings for syslog server. Quote Link to comment
teitur Posted March 26 Author Share Posted March 26 On 2/29/2024 at 8:14 PM, trurl said: That's the reason for syslog server. /var/log is in RAM just like all OS files so doesn't survive reboot. Get the logs from wherever you have syslog server configured to save them. Might be useful to post your settings for syslog server. I have been unable to get a systemlog server to work with Unraid. I tried Visual Syslog server on Windows. It never received anything. But should "mirror syslog to flash" work just the same? and I have "local syslog rotation" disabled. why was it still overwriting the logs? But the problem is mute now. This only happens when the computer has had an unscheduled power off. And that seems to be fixed now. Quote Link to comment
itimpi Posted March 26 Share Posted March 26 5 minutes ago, teitur said: I have been unable to get a systemlog server to work with Unraid. If you want to get this resolved you should post a screenshot of the settings page for the syslog server. Probably something simple that is the reason you are not getting anything. Quote Link to comment
Zonediver Posted March 26 Share Posted March 26 (edited) Is it possible to mirror the syslog to an unassigned device? Would be better then the "weak" USB-Flash... I've been wondering for years why you can't move/mirror the syslogs to an SSD... The USB drive is a very bad choice... Edited March 26 by Zonediver 1 Quote Link to comment
trurl Posted March 26 Share Posted March 26 4 hours ago, Zonediver said: mirror the syslog to an unassigned device? The flash drive is the only device that is guaranteed to exist. You can configure syslog server to use a path on an Unassigned Device with the other settings, but flash is the only thing that makes sense for "mirror" since it doesn't require you to set any path. Quote Link to comment
itimpi Posted March 26 Share Posted March 26 1 minute ago, trurl said: You can configure syslog server to use a path on an Unassigned Device with the other settings I think this is broken at the moment? I could not get it to work. Quote Link to comment
trurl Posted March 26 Share Posted March 26 You're right, it only lets me set it to a user share path. Which is probably better anyway since UD devices may not be mounted. And in the more general case where you are really sending syslog to a remote server, it has to be a shared path. Does it work with both NFS and SMB? Or does it do it some other way? Quote Link to comment
itimpi Posted March 26 Share Posted March 26 13 minutes ago, trurl said: You're right, it only lets me set it to a user share path. Which is probably better anyway since UD devices may not be mounted. And in the more general case where you are really sending syslog to a remote server, it has to be a shared path. Does it work with both NFS and SMB? Or does it do it some other way? I wanted to use a <custom> path which would point to a device I mounted via the ‘go’ file and unmounted via the ‘stop’ file. This would have been ideal as it would stay available all the time Unraid was running irrespective of array status. Quote Link to comment
Recommended Posts
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.