CGI Error
Josh
josh2780 at yahoo.com
Wed May 4 14:40:17 CEST 2005
Hi Sally.
I think you're right. I had some issues with Perl and
Apache on the machine last week (before Nagios had
been installed) and had to recompile Perl to fix. Then
I installed Nagios and couldn't get very far. The
machine was in a testing/debugging phase and was due
for a fresh install of ES4 before going live. I
reinstalled (with SELinux still enabled) and Nagios
now runs without errors. I wasn't entirely sure it was
Perl related (although I had my suspicions but thought
it could also be related to SELinux). But hearing that
you had a simliar issue and fixed it with upgrading
Perl, I'm more convinced.
Thanks.
-Josh
--- Sally <frogmist at gmail.com> wrote:
> Hi Josh,
> I sent this yesterday but didn't see it on the
> mailing list so i
> thought i'll forward it to you again...
>
> Best Rgds.
>
> ---------- Forwarded message ----------
> From: Sally <frogmist at gmail.com>
> Date: May 3, 2005 11:39 PM
> Subject: Re: CGI Error
> To: nagios-users at lists.sourceforge.net
>
>
> Hi Josh,
> Previously i encountered the same problem but have
> since resolved it.
> i think the problem is with perl. previously i was
> running perl 5.8.6
> (on freebsd 5.3) but i changed that to perl 5.8.5.
> my nagios and
> apache remained the same... and now it works! phew.
> hope this helps!
>
> > -----Original Message-----
> > From: nagios-users-admin at li...
> [mailto:nagios-users-
> > admin at li...] On Behalf Of Josh
> > Sent: Monday, May 02, 2005 1:45 PM
> > To: Nagios-users at li...
> > Subject: RE: [Nagios-users] Re: CGI Error
> >
> > Marc, thanks for the info.
> >
> > Nagios is great... I didn"t mean to offend anyone
> by
> > suggesting there was a bug. I was more on the
> line of
> > pointing figers at RedHat as I"ve run into an
> issue
> > with the Perl package redhat installs on their ES
> > Linux.
> >
> > Anyways, YES SELinux is enabled. I hate to ask
> (since
> > you"ve stated there have been other posts
> regarding
> > this issue) but what can I do? Are there
> > work-arounds?
>
> You should probably start by making sure that
> SELinux is your problem.
> Do you see "avc: denied" messages in
> /var/log/messages related to
> Apache/Nagios?
>
> If so I"d suggest you take a look at
>
http://fedora.redhat.com/docs/selinux-apache-fc3/sn-debugging-and-custom
> izing.html#sn-policy-debugging, specifically at
> audit2allow to help
> determine policy changes. Audit2allow doesn"t
> actually make changes but
> proposes them so you"d need to apply them. I don"t
> use SELinux but the
> link above and
> http://fedora.redhat.com/docs/selinux-apache-fc3/
> seem to
> be very informative. Also,
>
http://search.gmane.org/search.php?group=gmane.network.nagios.user&query
> =selinux
>
> If you do find that SELinux is the problem, a note
> back to the list
> detailing what you had to do or a FAQ submission to
> http://www.nagios.org/faqs/addfaq.php would be nice.
>
> --
> Marc
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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