NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
dpcsret
Jun 26, 2024Aspirant
Accessing journalctl command on ReadyNAS 102
I have enabled SSH on my ReadyNAS and granted the default admin command SSH access. I can SSH to the NAS (using Putty) and logon with the admin command.
I am issuing the command journalctl --disk-usage. I am getting an error as seen in the screen print that says the account does not have permissions to access the files due to insufficient permissions.
dpcsret wrote:
I am issuing the command journalctl --disk-usage. I am getting an error as seen in the screen print that says the account does not have permissions to access the files due to insufficient permissions.
Log in as root, using the NAS admin password.
This command only tells you how much space the log is using.
root@NAS:~# journalctl --disk-usage Archived and active journals take up 50.1M on disk. root@NAS:~#
11 Replies
Replies have been turned off for this discussion
dpcsret wrote:
I am issuing the command journalctl --disk-usage. I am getting an error as seen in the screen print that says the account does not have permissions to access the files due to insufficient permissions.
Log in as root, using the NAS admin password.
This command only tells you how much space the log is using.
root@NAS:~# journalctl --disk-usage Archived and active journals take up 50.1M on disk. root@NAS:~#
- dpcsretAspirant
Ahh.. Thanks. That did the trick. I am trying to delete old logs - I clicked the CLEAR LOGS from the admin page but when I dumped the logs I still see old entries in some log files like smdb.log and smtp.log. I was going to issue as found in this article How To Clear The systemd journal Logs (journalctl) - Linux Uprising Blog
sudo journalctl --rotate
sudo journalclt --vaccum-time=1s
dpcsret wrote:
I am trying to delete old logs
Why?
Related Content
NETGEAR Academy

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