CGI permissions make me mad!
Larry Bills
larry.bills at mci.com
Tue Sep 16 21:39:53 CEST 2003
Correction...should have read mod_auth.so
Larry
Larry Bills wrote:
> Have you checked out your webserver, since you did a resinstall of
> everything. If mod_auto.so is not loaded, you will not be able to
> authorize, also check all other web server switches that may affect
> this item. Problem might not be Nagios at all, I have never had a
> problem on Red Hat or Sun Solaris 6,8 or 9 if one sets the Apache web
> server conf file up correctly, and the permissions on Nagios per the docs.
>
> Sincerely
>
> Larry Bills
>
> jeff vier wrote:
>
>>While not ideal, have you tried opening up permissions on things?
>>
>>a `chmod -R 777 /path/to/cgis /path/to/nagios` isn't something you'd
>>want to leave live, but it'll at least "fix" the problem enough to let
>>you know if it's a file permissions problem
>>
>>On Tue, 2003-09-16 at 11:51, Rick_Blair at fws.gov wrote:
>>
>>
>>>I really feel like I am spinning my wheels here.
>>>
>>>I reinstalled the OS (redhat 7.3) on a test box twice and reinstalled
>>>nagios on that test box.
>>>
>>>I have used config files (*.cfg) that I know have worked in the past
>>>because I had this thing running for 5 months without a problem.
>>>
>>>During my reinstalls I have gone through the Nagios documentation step
>>>by step and everything I have seems fine.
>>>
>>>I have seen different postings in different places on the web with the
>>>same problem and no one seems to have a fix for these people. I have
>>>also been contacted by someone who had the same problem which was
>>>never fixed.
>>>
>>>Is there any way to turn logging on for the cgi scripts? I keep
>>>getting this "It appears as though you do not have permission to view
>>>information for any of the hosts you requested." but there is
>>>absolutely no logging available telling me why I get this error.
>>>
>>>Rick Blair
>>>Network Engineer
>>>USFW
>>>303.202.2687
>>>
>>>
>>>
>>>Matt Pounsett
>>><matt.pounsett at cira.ca>
>>>Sent by:
>>>nagios-users-admin at lists.sourceforge.net
>>>
>>>09/15/2003 09:14 AM
>>>
>>> To:
>>>Rick_Blair at fws.gov
>>> cc:
>>>nagios-users at lists.sourceforge.net
>>> Subject:
>>>Re: [Nagios-users] CGI
>>>permissions make me mad
>>>also! HELP!!!!
>>>
>>>
>>>On Fri, 12 Sep 2003 Rick_Blair at fws.gov wrote:
>>>
>>>
>>>
>>>>Here's my cgi.cfg:
>>>>
>>>> use_authentication=1
>>>>
>>>> authorized_for_configuration_information=rblair,jfedewa,mjones
>>>> authorized_for_system_commands=rblair,jfedewa
>>>> authorized_for_all_services=rblair
>>>> authorized_for_all_hosts=rblair
>>>> authorized_for_all_service_commands=rblair,jfedewa,mjones
>>>> authorized_for_all_host_commands=rblair,jfedewa,mjones
>>>>
>>>>Here's the box in the upper left hand corner of my browser.
>>>> Logged in as rblair
>>>>
>>>>
>>>That certainly looks like all the right stuff to me.
>>>I'm a relatively new user to Nagios, so I don't know all the little
>>>pitfalls..
>>>If I think of anything else I'll let you know.
>>>
>>>If you want to check permissions.. all my files are owned by
>>>nagios:daemon (I
>>>compiled nagios to use the daemon group instead of its own custom
>>>group).
>>>Config files and logs are mode 0644, directories and executables are
>>>0755, and
>>>the nagios.cmd file is 2660.
>>>
>>>
>>>--
>>>Matt Pounsett CIRA - Canadian Internet Registration
>>>Authority
>>>Technical Support Programmer 350 Sparks Street,
>>>Suite 1110
>>>matt.pounsett at cira.ca Ottawa, Ontario,
>>>Canada
>>>613.237.5335 ext. 231
>>>http://www.cira.ca
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>This sf.net email is sponsored by:ThinkGeek
>>>Welcome to geek heaven.
>>>http://thinkgeek.com/sf
>>>_______________________________________________
>>>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:ThinkGeek
>>Welcome to geek heaven.
>>http://thinkgeek.com/sf
>>_______________________________________________
>>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
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030916/6f20a930/attachment.html>
More information about the Users
mailing list