I am using Nagios Core 3.5.1
In my Event logs, I see the following message -
Error: Unable to rename file '/usr/local/nagios/var/nagios.debug' to '/usr/local/nagios/var/nagios.debug.old': No such file or directory
-rw-rw-r-- 1 nagios nagios 592920 May 3 13:55 nagios.debug
-rw-rw-r-- 1 nagios nagios 1000025 May 3 13:55 nagios.debug.old
Permissions on the archive folder
drwxrwxr-x 2 nagios nagios 230 May 3 00:00 archives
Permissions on the /usr/local/Nagios/var folder
drwxrwxr-x 5 nagios nagios 255 May 3 14:19 var
Any assistance would be greatly appreciated.
nagios.debug
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: nagios.debug
Hello, @giadirks. Is there a particular reason you have debugging on? I'd just change debug_level to 0 in the /usr/local/nagios/etc/nagios.cfg, restart nagios and delete both debug files.
rm -rf /usr/local/nagios/var/nagios.debug
rm -rf /usr/local/nagios/var/nagios.debug.old
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: nagios.debug
Please post the output of these commands:
- Point adjust the commands as necessary to make them work
Thank you!
- Point adjust the commands as necessary to make them work
Code: Select all
chage -l nagios
grep nag /etc/group
grep "User \|Group " /etc/httpd/conf/httpd.conf
grep "user\|group\|lock" /usr/local/nagios/etc/nagios.cfg
ps aux | grep nagios.cfg
ls -l /var/run
ls -l /var/run/nagios