Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Syslog stopped logging

Featured Replies

Dear community,

Due to a memory leakage in one docker i ran out of ram. As a result the syslog stopped logging. The docker issue has been resolved, but syslog remained silent.

How do I restart syslog? I know the easy way is to restart the Unraid but I would like to avoid this step.

 

 

Make sure you have room ion the temp filesystem used for logging. What does "df -h" indicate for the /var/log section? I suspect you ran out of room there too.

  • Author

Thank you for your input BRiT,

You are right:

tmpfs          128M  128M    0 100% /var/log

Obviously went out of room.

What is causing this and how to resolve it?

My unraid is living on a 8GB flash drive and have a lot of space in there.

 

I'm pretty sure this is a known issue and was slated to be fixed in the next beta. Have to have LT confirm that to be sure.

  • Author

Thank you for your comment, archedraft.

Hope it will be fixed in the next beta.

Does this means there is no way the syslog to be restarted from command line?

 

Thank you for your comment, archedraft.

Hope it will be fixed in the next beta.

Does this means there is no way the syslog to be restarted from command line?

 

There is a way of doing so. I dont recall off hand if its using "/etc/rc.d/syslog restart" or just using the syslog daemon with a restart or sending a HUP signal.

 

Theres also a means of remounting the tmpfs /var/log using more memory, such as 256 MB.

  • Author

Thanks BRiT

Unfortunately the command doesn't work

root@UNRAID:~# /etc/rc.d/syslog restart

-bash: /etc/rc.d/syslog: No such file or directory

Thanks BRiT

Unfortunately the command doesn't work

root@UNRAID:~# /etc/rc.d/syslog restart

-bash: /etc/rc.d/syslog: No such file or directory

 

Yeah, I didn't know what the actual filename was, but I just dove into the zip file (I'm remote and not at my server). Try the following:

 

/etc/rc.d/rc.rsyslogd restart

 

You will still need to clear up space.

 

Fyi: it also has a reload command, so if you change its configuration that would be used.

Thank you for your comment, archedraft.

Hope it will be fixed in the next beta.

Does this means there is no way the syslog to be restarted from command line?

 

This happened to me and I just restarted my server. It takes awhile for my log to fill up so I do not mind restarting my server every week or so (I am messing with it so much anyways, that I normally restart it more than a few times a week anyhow).

I put this in my go script.  It resizes your tmpfs 256 instead of 128.

# resize tmpfs
mount -o remount,size=256m /var/log

 

  • Author

Thank you all for your comments.

Best regards.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.