can't get authentication working properly...

Henry Van Styn nagios at vanstyn.com
Wed Sep 8 05:59:41 CEST 2004


Yep, that was it; filesystem permissions. The error it was giving seemed
like it was an internal permissions/authentication warning.

Thanks for your help.

----- Original Message ----- 
From: <nagios at mm.quex.org>
To: <nagios-users at lists.sourceforge.net>
Sent: Sunday, September 05, 2004 9:03 PM
Subject: Re: [Nagios-users] can't get authentication working properly...


> On Sun, Sep 05, 2004 at 08:11:02PM -0400, Henry Van Styn wrote:
>
> > I have followed the documentation to setup authentication for the
> > cgis, however, no matter what I do I keep getting:
> >
> > "It appears as though you do not have permission to view information
> > for any of the hosts you requested..."
> >
> > I have tried setting "use_authentication=0" just to troubleshoot and
> > to get it to work. But no matter what, it always says "It appears as
> > though you do not have permission to view information for any of the
> > hosts you requested..."
> >
> > Yes, I am restarting nagios after each change to cgi.cfg.
>
> You don't need to restart Nagios after changing the cgi.cfg - that
> file is only read by the CGI scripts, and it's processed every time
> you hit any of the CGI pages.
>
> Verify that the other Nagios configuration files can be read by the
> user that Apache is running as - typically this is something like
> "apache" or "www-data".  Usually you'd just set all the config files
> to be world-readable, aside from the resources.cfg (or whatever you
> set resource_file in nagios.cfg to) so you can store passwords and such
> in that file.  If the CGI's can't read the configuration they'll
> produce that rather generic error.
>
> It's also possible there's an error in one of the config files, but
> Nagios wouldn't restart if that was the case.  You can check that
> by running:  nagios -v /path/to/nagios.cfg
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> _______________________________________________
> 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
>
>



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
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