Segmentation fault under 3.2.3 on CentOS release 5.7

Andreas Ericsson ae at op5.se
Tue Jan 17 17:21:43 CET 2012


On 01/17/2012 03:26 PM, Tom wrote:
> On 17/01/12 14:13, Tom wrote:
>>
>> Hi,
>>
>> I upgraded my nagios to the 3.2.3 base rpm from rpmforge and I'm
>> seeing seg faults...
> 
> 
> This is the strace of "strace /usr/bin/nagios  /etc/nagios/nagios.cfg"
> 
> 
> stat("/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi",
> 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory)

Disable embedded perl. I'm 99.99999999999999991% certain that's what
causing this problem. enable_embedded_perl=0 in nagios.cfg

> stat("/usr/lib/perl5/site_perl/5.8.7", 0x7fff3eaa72a0) = -1 ENOENT (No
> such file or directory)
> stat("/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi",
> 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory)
> stat("/usr/lib/perl5/site_perl/5.8.6", 0x7fff3eaa72a0) = -1 ENOENT (No
> such file or directory)
> stat("/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi",
> 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory)
> stat("/usr/lib/perl5/site_perl/5.8.5", 0x7fff3eaa72a0) = -1 ENOENT (No
> such file or directory)
> stat("/usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi",
> 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory)
> stat("/usr/lib/perl5/vendor_perl/5.8.7", 0x7fff3eaa72a0) = -1 ENOENT (No
> such file or directory)
> stat("/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi",
> 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory)
> stat("/usr/lib/perl5/vendor_perl/5.8.6", 0x7fff3eaa72a0) = -1 ENOENT (No
> such file or directory)
> stat("/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi",
> 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory)
> stat("/usr/lib/perl5/vendor_perl/5.8.5", 0x7fff3eaa72a0) = -1 ENOENT (No
> such file or directory)
> ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
> ...}) = 0
> lseek(0, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
> ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
> ...}) = 0
> lseek(1, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
> ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
> ...}) = 0
> lseek(2, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
> open("/usr/bin/p1.pl", O_RDONLY)        = 4
> ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff3eaa7170) = -1 ENOTTY
> (Inappropriate ioctl for device)
> lseek(4, 0, SEEK_CUR)                   = 0
> fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
> fstat(4, {st_mode=S_IFREG|0664, st_size=31878, ...}) = 0
> rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
> readlink("/proc/self/exe", "/usr/bin/nagios"..., 4095) = 15
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
> 
> 
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> 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


-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
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