Re: [Nagios-users] Segmentation fault Nagios 3.2.3

2011-05-18 Thread Andreas Ericsson
On 05/17/2011 08:09 PM, trm asn wrote:
> Dear List ,
> 
> I am getting the segmentation fault in nagios 3.2.3 while starting nagios.
> 

While starting or just after it's started?
Embedded perl *should* work nicely until it tries to run plugins
that misbehave in some way, although I suppose this could happen
if you're using a too old libperl as well.

The normal recommendation when experiencing troubles while
embedded perl is compiled in is to simply recompile without it
and hope for the best.

-- 
Andreas Ericsson   andreas.erics...@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.

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Segmentation fault Nagios 3.2.3

2011-05-18 Thread Andreas Ericsson
On 05/17/2011 10:25 PM, Paul M. Dubuc wrote:
> 
>>>
>>
>> Recompiled without "embedded-perl" option, now it's working fine .
>> Still I am not able to understand why it was happened.
>>
>>
>> /\
>> dE
> 
> These messages look suspicious:
> 
>   >access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or 
> directory)
>   >
> open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64/libperl.so",
>   >  O_RDONLY) = -1 ENOENT (No such file or directory)
>   >  stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64",
>   >  0x7fff00917240) = -1 ENOENT (No such file or directory)
>   >  
> open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/libperl.so",
>   >  O_RDONLY) = -1 ENOENT (No such file or directory)
>   >  stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls",
>   >  0x7fff00917240) = -1 ENOENT (No such file or directory)
>   >  
> open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64/libperl.so",
>   >  O_RDONLY) = -1 ENOENT (No such file or directory)
>   >  stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64",
>   >  0x7fff00917240) = -1 ENOENT (No such file or directory)
>   >  open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so",
> 
> Looks like you're running Nagios on a system that doesn't have (64-bit) perl
> libs installed.
> 

No they don't. The linker just tries a bunch of paths before
another bunch of paths and stops looking when it finds a
suitable file.

-- 
Andreas Ericsson   andreas.erics...@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.

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Segmentation fault Nagios 3.2.3

2011-05-17 Thread trm asn
On Wed, May 18, 2011 at 1:55 AM, Paul M. Dubuc  wrote:
>
>>>
>>
>> Recompiled without "embedded-perl" option, now it's working fine .
>> Still I am not able to understand why it was happened.
>>
>>
>> /\
>> dE
>
> These messages look suspicious:
>
>>access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
>> directory)
>>
>> open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64/libperl.so",
>> O_RDONLY) = -1 ENOENT (No such file or directory)
>> stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64",
>> 0x7fff00917240) = -1 ENOENT (No such file or directory)
>>
>> open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/libperl.so",
>> O_RDONLY) = -1 ENOENT (No such file or directory)
>> stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls",
>> 0x7fff00917240) = -1 ENOENT (No such file or directory)
>>
>> open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64/libperl.so",
>> O_RDONLY) = -1 ENOENT (No such file or directory)
>> stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64",
>> 0x7fff00917240) = -1 ENOENT (No such file or directory)
>> open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so",
>
> Looks like you're running Nagios on a system that doesn't have (64-bit) perl
> libs installed.
>
>

Below are the insrhe perl packages , which are installed.


perl.x86_64  4:5.8.8-32.el5_5.2installed
perl-Compress-Zlib.x86_641.42-1.fc6installed
perl-Crypt-DES.x86_642.05-3.2.el5.rf   installed
perl-DBD-MySQL.x86_643.0007-2.el5  installed
perl-DBI.x86_64  1.52-2.el5installed
perl-Digest-SHA1.x86_64  2.11-1.2.1installed
perl-Git.x86_64  1.7.4.5-1.w5  installed
perl-HTML-Parser.x86_64  3.55-1.fc6installed
perl-Net-DNS.x86_64  0.59-3.el5installed
perl-Net-IP.noarch   1.25-2.fc6installed
perl-Net-SMTP-SSL.noarch 1.01-1.el5.rf installed
perl-Net-SNMP.noarch 5.2.0-1.2.el5.rf  installed
perl-Net-SSLeay.x86_64   1.30-4.fc6installed
perl-Socket6.x86_64  0.19-3.fc6installed
perl-String-CRC32.x86_64 1.4-2.fc6 installed
perl-TermReadKey.x86_64  2.30-4.el5installed
perl-URI.noarch  1.35-3installed
perl-libwww-perl.noarch  5.805-1.1.1   installed
subversion-perl.x86_64   1.6.13-0.1.el5.rf installed


/\
dE

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Segmentation fault Nagios 3.2.3

2011-05-17 Thread Paul M. Dubuc

>>
>
> Recompiled without "embedded-perl" option, now it's working fine .
> Still I am not able to understand why it was happened.
>
>
> /\
> dE

These messages look suspicious:

 >access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or 
 >directory)
 > 
open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64/libperl.so",
 > O_RDONLY) = -1 ENOENT (No such file or directory)
 > stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64",
 > 0x7fff00917240) = -1 ENOENT (No such file or directory)
 > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/libperl.so",
 > O_RDONLY) = -1 ENOENT (No such file or directory)
 > stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls",
 > 0x7fff00917240) = -1 ENOENT (No such file or directory)
 > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64/libperl.so",
 > O_RDONLY) = -1 ENOENT (No such file or directory)
 > stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64",
 > 0x7fff00917240) = -1 ENOENT (No such file or directory)
 > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so",

Looks like you're running Nagios on a system that doesn't have (64-bit) perl 
libs installed.


--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Nagios-users mailing list
Nagios-users@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