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-unsubscr...@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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"