Comment 0 for bug 1690380

Revision history for this message
Jeremy Green (jgreen210) wrote :

Ubuntu 16.04.2 LTS
nagios3 and nagios3-cgi 3.5.1.dfsg-2.1ubuntu1.1

If install nagios3 package and then view Alert History, Notification History or Events pages (and maybe others), e.g.:

http://localhost/cgi-bin/nagios3/history.cgi?host=localhost

Then get this error:

Error: Cannot open log file '/var/log/nagios3/nagios.log' for reading!

This issue:

https://github.com/NagiosEnterprises/nagioscore/issues/303

...suggests that this is caused by the fix for CVE-2016-9566:

https://github.com/NagiosEnterprises/nagioscore/commit/ff22fd0de4938781edcbd48512d2494ca3c9c41a

...which has been back ported to 3.5.1.dfsg-2.1ubuntu1.1 according to:

https://launchpad.net/ubuntu/xenial/+source/nagios3/+changelog

The permissions and ownership of nagios.log are:

$ ls -l /var/log/nagios3/nagios.log
-rw------- 1 nagios adm 189 May 12 13:45 /var/log/nagios3/nagios.log