-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Arno Lehmann schrieb am 30.03.2006 21:25: > Hello, > > On 3/30/2006 7:08 PM, Werner Flamme wrote: > Hi all, > > for about 2 weeks we have problems with 2 monitored servers. Both are > running SuSE Linux Enterprise Server 9 x86_64 on AMD Opteron, both have > following components installed: > > - NRPE Version: 2.3 Last Modified: 01-23-2006 (I downloaded 2.4 ;-) > - nagios-plugins 1.4.2 > - nagios-plugins-sap-ccms-0.7.2-45 > - xinetd-2.3.13-39.11 > >> Which gcc version did you use? sapufp:~ # gcc -v Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/specs Configured with: ../configure --enable-threads=posix --prefix=/usr - --with-local-prefix=/usr/local --infodir=/usr/share/info - --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada - --disable-checking --libdir=/usr/lib64 --enable-libgcj - --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib64 - --with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux Thread model: posix gcc version 3.3.3 (SuSE Linux)
>> Are these _all_ your SLES/x86 machines, do you have similar software on >> 32-bit-systems, or other software (i.e. older/newer versions, different >> gcc versions, different libraries...) on similar hardware? Yes, I have only 2 x86_64 machines. Yes, I have nrpe 2.0 on 3 machines with SLES8 (using old gcc 2.95.3) and on 1 machine with SLES9 (gcc 3.3.3) in 32bit versions (i386). (On the x86_64 machines the errors startet with nrpe 2.0 and did not stop with 2.4). > > Each time the monitoring server sends a nrpe trap, I find > kernel: nrpe[8893]: segfault at 0000000000000030 rip 0000002a9568a911 rsp > 0000007fbfffb800 error 4 > in /var/log/messages. > >> So I assume it's nrpe crashing. So do I :-/ > >> Anyway, I'd recommend to try compiling nrpe on >> the x64 server without optimization, i.e. using -O0 (Oh-zero). In >> another project there are reports that gcc 4.x on 64-bit-architectures >> may generate faulty code. After a "make distclean I issued export CFLAGS=-O0 && export LIBDIR=/usr/lib64 && ./configure --without-ldap then "make all", and copied the new nrpe over the old one - but still segfaults. The only difference is "rsp 0000007fbfffb7d0" instead of "rsp 0000007fbfffb800" before :-( > What did I do till now? Well, first I tried the rpms delivered with SLES9. > Then I removed them and compiled nrpe 2.0 (and later nrpe 2.4) on the > machines. > >> File a bug report at SuSE / Novell and let theyr support crew work on >> the problem. After all, that's one of the differences between SLES and >> SL without ES. :-) "SL without ES" comes along with nrpe, SL with ES does not... I always wondered... :-> > > No changes - the error appears, nagios shows "good" results. Then > I commented out all the commands in /etc/sapmon/nrpe.cfg. The error is > still there, now nagios shows (correctly) that the service is not defined. > > Can someone please put me on the way to get rid of those error lines? > > Google and alltheweb.com only told me that there was an issue with nrpe > segfaulting when the config was faulty - but this was 3 years ago... BTW, I > did not find something like "nrpe -v -c /etc/sapmon/nrpe.cfg" or something > similar to have nrpe check its config file. Is it planned to support this > check in the future? > >> I don't think this is a configuration issue. Well, I did not really think so too, but what can I do? 3 years ago nrpe *did* segfault on faulty configs... > >> Arno > Werner - -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEMOusk33Krq8b42MRAg8rAJ47qSY+OFS4rMm+dt/UnbsVSoBdQgCfVCG3 bhw0fRRbEKWVcNb4hXFYXtw= =e8a3 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ 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