Public bug reported:

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

** Affects: nagios3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1690380

Title:
  "Cannot open log file '/var/log/nagios3/nagios.log' for reading" error
  from nagios web UI when view alert history etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/1690380/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to