Code: Select all
# /etc/init.d/nagios start
Starting nagios:/bin/chmod: cannot access β€/var/log/nagios/rw/nagios.cmd’: No such file or directory
done.
Is this value taken from nagios.cfg, and command_file=/var/log/nagios/rw/nagios.cmd ??
Because even if I change the path to command_file=/usr/local/nagios/var/rw/nagios.cmd , nothing changes.
Is this option ignored in v4?
As I am using Debian, I apply the following permissions:
mkdir /var/log/nagios/rw
chown nagios.www-data /var/log/nagios/rw
chmod u+rwx /var/log/nagios/rw
chmod g+rwx /var/log/nagios/rw
chmod g+s /var/log/nagios/rw
Any idea why these fail?