Public bug reported:

Binary package hint: nagios-common

To recreate Problem:
ls -l /etc/nagios/hosts.cfg
-rw------- 1 nagios www-data 6325 2006-07-18 02:51 /etc/nagios/hosts.cfg

When accessing the nagios screens, (eg: 
http://localhost/nagios/cgi-bin/status.cgi?host=all) this gives the following 
erroneous report:
-------------------------
"It appears as though you do not have permission to view information for any of 
the services you requested...

If you believe this is an error, check the HTTP server authentication 
requirements for accessing this CGI
and check the authorization options in your CGI configuration file."
---------------------------
To fix the problem:
sudo chmod g+r /etc/nagios/hosts.cfg
--------------------------------------------------------------------

Furthermore, dpkg seems not to believe the file is even installed

dpkg -S /etc/nagios/hosts.cfg
dpkg: /etc/nagios/hosts.cfg not found.

--------------------------------------------------------------------
system config:

 dpkg -l nagios-common nagios-plugins nagios-text
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                              Version                           
Description
+++-=================================-=================================-==================================================================================
ii  nagios-common                     1.3-cvs.20050402-8ubuntu7         A 
host/service/network monitoring and management system
ii  nagios-plugins                    1.4.2-5ubuntu3                    Plugins 
for the nagios network monitoring and management system
ii  nagios-text                       1.3-cvs.20050402-8ubuntu7         A 
host/service/network monitoring and management system

** Affects: nagios (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
mode 600 /etc/nagios/hosts.cfg should be 640
https://launchpad.net/bugs/53729

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

Reply via email to