NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
RedBullet
Dec 23, 2015Tutor
how to logrotate /var/log/btmp?
So, I got /var/tmp/btmp filling up on one of my NASes (running latest OS6). I know why (so don't start off by telling me something bad is happening, I have fixed that)./ What was concerning was t...
mdgm-ntgr
Dec 23, 2015NETGEAR Employee Retired
So you are running 6.4.1?
RedBullet
Dec 23, 2015Tutor
Yep!
- mdgm-ntgrDec 23, 2015NETGEAR Employee Retired
I have seen a system where this log file has grown to a huge size before and have passed on that you have encountered this as well.
- RedBulletDec 23, 2015Tutor
Yea, I know why it grew that much; I've since changed the portforwarding for the ssh port I was using.
But my question was more about how to rotate the log so my system root doesn't fill up again. I was lucky I caught it and stopped if before the root filled up. Is logrotate used in os6? I see some evidence, but didn't see a service running or a crontab entry for it.
- mdgm-ntgrDec 23, 2015NETGEAR Employee Retired
We do automatically rotate a number of logs (not sure if /var/log/btmp is one of those), but if logs are flooded at an extremely high rate it is possible that the OS partition could fill before the next scheduled check to see what needs to be rotated takes place.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!