Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2009 09:50:33 +1030 (CST)
From:      Jarrod Sayers <jarrod@netleader.com.au>
To:        Karl Friesen <krf@splip.com>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: nagios-3.0.6
Message-ID:  <alpine.BSF.2.00.0901250908260.67004@manhattan.netleader.com.au>
In-Reply-To: <497B626B.2020500@splip.com>
References:  <497B626B.2020500@splip.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 24 Jan 2009, Karl Friesen wrote:
> Hello,

Hi Karl,

> I just to report that nagios-3.0.6 when build with the EMBEDDED_PERL 
> option dies with a segmentation fault when perl-5.8.9 is installed.  It 
> runs fine when run from the command line with the -v or -s options (to 
> check the configs), but dies when one attempts to run "for real" in the 
> foreground or as a daemon.

Hmm, that is interesting, what process did you use to upgrade perl-5.8.8 
on the machine?

The production boxes I have done thus far are running FreeBSD 7.1 i386 and 
had perl-5.8.8 upgraded to perl-5.8.9 via portupgrade.  To mass-fix the 
file locations, perl-after-upgrade was run and then nagios-3.0.6 rebuilt 
as per its warning.

> I built a version with debugging symbols and ran it under gdb and it 
> said that there nagios received a segmentation fault from perl.  There 
> was something in there about the perl taint check as well.

It would be interesting to know how far into the startup process it is 
getting before it barfs, sounds like one of the plugins is throwing the 
fault - not Nagios itself.  Does nagios.log give any indication to this?

> Unfortunately, I didn't save the exact message that I saw.  The software 
> is in use on a production machine.  If you really need the exact 
> message, I can take the machine out of service to reproduce the error, 
> but I don't want to if I don't have to.

If you are able to reproduce the error, the kdump.out file generated below 
would be helpful though mail it off-list as it will contain copies of your 
Nagios configuration files, at a minimum.

ktrace -dit+ /usr/local/bin/nagios /usr/local/etc/nagios/nagios.cfg
kdump > kdump.out

> I saw one other report of this problem on the net
>
> http://article.gmane.org/gmane.network.nagios.user/59163
>
> Sorry for the sketchy report,

Any other details you can provide me would be helpful, FreeBSD version, 
architecture, list of installed ports.

Jarrod.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0901250908260.67004>