Hi list,<br>I've been planning to upgrade to Nagios3 lately and wanted to start using the ePN.<br>Compiling with or without ePN works fine. But if I try to run the perl enabled Nagios version it nicely segfaults at startup.<br>
(Of course the non ePN Nagios daemon works fine)<br><br>nagios@w:/usr/local/nagios-3.0/bin> ../bin/nagios  /usr/local/nagios-3.0/etc/nagios.cfg<br><br>Nagios 3.0<br>Copyright (c) 1999-2008 Ethan Galstad (<a href="http://www.nagios.org">http://www.nagios.org</a>)<br>
Last Modified: 03-13-2008<br>License: GPL<br><br>Nagios 3.0 starting... (PID=11943)<br>Local time is Wed Mar 19 11:16:23 GMT 2008<br>Segmentation fault<br>nagios@w:/usr/local/nagios-3.0/bin> <br><br>Enabling debugging in the config doesn't bring any details.<br>
Doing a strace gives this out (shortened for clarity):<br>.............<br>_llseek(0, 0, 0xbf97ed50, SEEK_CUR)     = -1 ESPIPE (Illegal seek)<br>ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>
_llseek(1, 0, 0xbf97ed50, SEEK_CUR)     = -1 ESPIPE (Illegal seek)<br>ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>_llseek(2, 0, 0xbf97ed50, SEEK_CUR)     = -1 ESPIPE (Illegal seek)<br>
open("/usr/local/nagios-3.0/bin/p1.pl", O_RDONLY|O_LARGEFILE) = 4<br>ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf97ee08) = -1 ENOTTY (Inappropriate ioctl for device)<br>_llseek(4, 0, [0], SEEK_CUR)            = 0<br>
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0<br>fstat64(4, {st_mode=S_IFREG|0664, st_size=31892, ...}) = 0<br>rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0<br>readlink("/proc/self/exe", "/usr/local/nagios-3.0/bin/nagios", 4095) = 32<br>
--- SIGSEGV (Segmentation fault) @ 0 (0) ---<br>+++ killed by SIGSEGV +++<br>Process 1935 detached<br><br><br>I'm wondering if anyone ran into this issue or has an idea on how to fix it?<br><br>Thanks,<br>Seb.<br>