nagios3 and embeded perl

Sébastien Barbereau barbereau at gmail.com
Wed Mar 19 12:18:57 CET 2008


Hi list,
I've been planning to upgrade to Nagios3 lately and wanted to start using
the ePN.
Compiling with or without ePN works fine. But if I try to run the perl
enabled Nagios version it nicely segfaults at startup.
(Of course the non ePN Nagios daemon works fine)

nagios at w:/usr/local/nagios-3.0/bin> ../bin/nagios  /usr/local/nagios-3.0
/etc/nagios.cfg

Nagios 3.0
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 03-13-2008
License: GPL

Nagios 3.0 starting... (PID=11943)
Local time is Wed Mar 19 11:16:23 GMT 2008
Segmentation fault
nagios at w:/usr/local/nagios-3.0/bin>

Enabling debugging in the config doesn't bring any details.
Doing a strace gives this out (shortened for clarity):
.............
_llseek(0, 0, 0xbf97ed50, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...})
= 0
_llseek(1, 0, 0xbf97ed50, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...})
= 0
_llseek(2, 0, 0xbf97ed50, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
open("/usr/local/nagios-3.0/bin/p1.pl", O_RDONLY|O_LARGEFILE) = 4
ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf97ee08) = -1 ENOTTY
(Inappropriate ioctl for device)
_llseek(4, 0, [0], SEEK_CUR)            = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
fstat64(4, {st_mode=S_IFREG|0664, st_size=31892, ...}) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
readlink("/proc/self/exe", "/usr/local/nagios-3.0/bin/nagios", 4095) = 32
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 1935 detached


I'm wondering if anyone ran into this issue or has an idea on how to fix it?

Thanks,
Seb.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080319/1b610e3c/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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