Re: No space left on device
Posted: Thu Jan 18, 2024 4:09 am
The root user is the root user. It's called root.
whoami
whoami
Support for Nagios products and services
https://support.nagios.com/forum/
I found out that when using the command "sudo su" you can switch to the root account. Afterwards I could delete the files that I could not delete in the past.cnorell wrote: ↑Thu Jan 18, 2024 10:09 am Yeah, unfortunately you're going to need to run it up the ladder in your organization and determine who has root access. Without root, there's simply no other way to modify those directories or the contents within.
Once you get root access, post back here and we'll see if we can make some more progress.
Best Regards,
Cory Norell
Code: Select all
df -i
df -h
ls -al /
ls -al /usr/local/nagios/var/spool
How can I check if the nagios user has read and write access to the 2 mentioned folders?tgriep wrote: ↑Fri Jan 19, 2024 10:08 am I suspect it could be a permission issue for the folders.
Make sure the nagios user can read and write to the 2 folders shown in the errors.
Else it may be that the inodes on the drive is filled up. Rhu the following as root and post the output.And, if the /usr/local/nagios/var/spool/checkresults folder is full of files, that could be another cause so delete the files in the /usr/local/nagios/var/spool/checkresults folder.Code: Select all
df -i df -h ls -al / ls -al /usr/local/nagios/var/spool
Thank You.
Code: Select all
/dev/mmcblk0p2