Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2009 14:05:13 +0100
From:      Per olof Ljungmark <peo@intersonic.se>
To:        Jarrod Sayers <jarrod@netleader.com.au>
Cc:        ports@FreeBSD.org, Karl Friesen <krf@splip.com>
Subject:   Re: FreeBSD Port: nagios-3.0.6
Message-ID:  <497C6389.1020609@intersonic.se>
In-Reply-To: <alpine.BSF.2.00.0901250908260.67004@manhattan.netleader.com.au>
References:  <497B626B.2020500@splip.com> <alpine.BSF.2.00.0901250908260.67004@manhattan.netleader.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Jarrod Sayers wrote:
> 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.
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

Here is what nagios.log tells me:

[1232880371] Local time is Sun Jan 25 11:46:11 CET 2009
[1232880371] LOG VERSION: 2.0
[1232880371] Error: p1.pl file required for embedded Perl interpreter is 
missing!
[1232880371] Bailing out due to errors encountered while initializing 
the embedded Perl interpreter. (PID=59302)
[1232880958] Caught SIGTERM, shutting down...
[1232880958] Successfully shutdown... (PID=7489)

Perhaps it's built but not installed properly?

--
per



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?497C6389.1020609>