Probably a trivial permission issue?

Rob Moss robmossrm at aol.com
Fri Oct 7 14:36:23 CEST 2005


Ralph.Grothe at itdz-berlin.de wrote:

>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?
>  
>
Check all directories from / to ensure that  the 'nagios' user has R and 
X permissions, or at least X permissions to traverse the directories.

One of the directories is probably blocking nagios from passing through it.

rob.



-------------------------------------------------------
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