permissions problem - new install

eric at network-specialties.com eric at network-specialties.com
Mon Mar 7 20:56:48 CET 2005


Great..this worked!  I will have to catch up on my reading on selinux when I get a chance.  Always something new to learn.  Thanks again.

 -------- Original Message --------
> From: "Marc Powell" <marc at ena.com>
> Sent: Monday, March 07, 2005 12:58 PM
> To: eric at network-specialties.com>, <nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] permissions problem - new install
> 
> > -----Original Message-----
> > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> > admin at lists.sourceforge.net] On Behalf Of eric at network-specialties.com
> > Sent: Monday, March 07, 2005 12:46 PM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] permissions problem - new install
> > 
> > This is a new install.  I am a nagios newbie. details:nagios 1.2; RH
> FC3;
> > all default file locations; authentication turned on.
> > 
> > I am recieving "Internal Server Error" when selecting any of the menu
> > items making cgi calls.  The apache  log shows:
> > 
> > [Mon Mar 07 11:43:51 2005] [error] [client 127.0.0.1] (13)Permission
> > denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer:
> > http://localhost/nagios/side.html
> > [Mon Mar 07 11:43:51 2005] [error] [client 127.0.0.1] Premature end of
> > script headers: tac.cgi, referer: http://localhost/nagios/side.html
> > 
> > The system  message log is showing:
> > 
> > Mar  7 11:05:04 =NETMGR kernel: audit(1110211504.148:0): avc:  denied
> {
> > execute } for  pid=17871 exe=/usr/sbin/httpd name=tac.cgi
> dev=cciss/c0d0p6
> > ino=834689 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t
> > tclass=file
> 
> That's an selinux error. You need to allow httpd to execute programs in
> that directory.
> 
> http://64.233.187.104/search?q=cache:RbbHexbLOtEJ:www.fedoraforum.org/fo
> rum/archive/index.php/t-41377.html+selinux+apache+cgi&hl=en
> 
> --
> Marc
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&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 





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&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