Probably a trivial permission issue?
Ralph.Grothe at itdz-berlin.de
Ralph.Grothe at itdz-berlin.de
Fri Oct 7 14:03:20 CEST 2005
Hi,
while logged in in my Nagios' server web realm with nagiosadmin
credentials,
who is supposed to have full permission,
$ grep nagiosadmin /opt/sw/nagios/etc/cgi.cfg|grep -v ^#
authorized_for_all_services=nagiosadmin
authorized_for_all_hosts=nagiosadmin
authorized_for_all_service_commands=nagiosadmin
authorized_for_all_host_commands=nagiosadmin
and clicking on the "view notifications for this host" link
I get the following:
Error: Cannot open log file '/opt/sw/nagios/var/log/nagios.log'
for reading!
How come?
The nagios.log is world readable (even by the underprivileged
httpd proc)
$ ll /opt/sw/nagios/var/log/nagios.log
-rw-rw-r-- 1 nagios nagios 144200 Oct 07 13:54
/opt/sw/nagios/var/log/nagios.log
Or is the error message above only malformed, and it should read
"cannot acquire shared file lock on ..."?
Regards
Ralph
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list