Nagios SIGSEGV problem - FIXED!

Greg Vickers g.vickers at qut.edu.au
Wed Feb 16 06:06:34 CET 2005


Never mind - the problem was with the user :p i.e. me

Greg Vickers wrote:
> Hi all,
> 
> (Started a new thread) I'm running Nagios 1.2 and plugins 1.3.1 on RH 
> EL3 and Nagios is throwing up SIGSEGV faults two minutes and twenty four 
> second after it starts. (ran Nagios with 'time')
> 
> I ran gdb on Nagios and got the attached output. I think the relevant 
> stuff is at the end:
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1218551680 (LWP 13742)]
> 0x00c4e722 in strncpy () from /lib/tls/libc.so.6
> (gdb) c
> Continuing.
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00c4e722 in strncpy () from /lib/tls/libc.so.6
> (gdb) c
> Continuing.
> 
> Program exited with code 0376.
> 
> Does anyone have any ideas about what is wrong?
> 
> Thanks,
> 
> 
> ------------------------------------------------------------------------
> 
> # gdb nagios 13742
> GNU gdb Red Hat Linux (6.1post-1.20040607.52rh)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-redhat-linux-gnu"...(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".
> 
> Attaching to program: /usr/bin/nagios, process 13742
> Reading symbols from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
> Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
> Loaded symbols for /lib/libnsl.so.1
> Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
> Loaded symbols for /lib/libdl.so.2
> Reading symbols from /lib/tls/libm.so.6...(no debugging symbols found)...done.
> Loaded symbols for /lib/tls/libm.so.6
> Reading symbols from /lib/tls/libpthread.so.0...(no debugging symbols found)...done.
> [Thread debugging using libthread_db enabled]
> [New Thread -1218551680 (LWP 13742)]
> Loaded symbols for /lib/tls/libpthread.so.0
> Reading symbols from /lib/tls/libc.so.6...(no debugging symbols found)...done.
> Loaded symbols for /lib/tls/libc.so.6
> Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
> Loaded symbols for /lib/libcrypt.so.1
> Reading symbols from /lib/libutil.so.1...(no debugging symbols found)...done.
> Loaded symbols for /lib/libutil.so.1
> Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
> Loaded symbols for /lib/ld-linux.so.2
> Reading symbols from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/IO/IO.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/IO/IO.so
> Reading symbols from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Fcntl/Fcntl.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Fcntl/Fcntl.so
> Reading symbols from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Cwd/Cwd.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Cwd/Cwd.so
> Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
> Loaded symbols for /lib/libnss_files.so.2
> 0x00c7f8bb in __nanosleep_nocancel () from /lib/tls/libc.so.6
> (gdb) c
> Continuing.
> Detaching after fork from child process 13748.
> Detaching after fork from child process 13754.
> Detaching after fork from child process 13758.
> Detaching after fork from child process 13762.
> Detaching after fork from child process 13767.
> Detaching after fork from child process 13770.
> Detaching after fork from child process 13774.
> Detaching after fork from child process 13777.
> Detaching after fork from child process 13782.
> Detaching after fork from child process 13784.
> Detaching after fork from child process 13787.
> Detaching after fork from child process 13791.
> Detaching after fork from child process 13796.
> Detaching after fork from child process 13798.
> Detaching after fork from child process 13801.
> Detaching after fork from child process 13804.
> Detaching after fork from child process 13807.
> Detaching after fork from child process 13812.
> Detaching after fork from child process 13814.
> Detaching after fork from child process 13819.
> Detaching after fork from child process 13821.
> Detaching after fork from child process 13824.
> Detaching after fork from child process 13829.
> Detaching after fork from child process 13831.
> Detaching after fork from child process 13835.
> Detaching after fork from child process 13838.
> Detaching after fork from child process 13845.
> Detaching after fork from child process 13848.
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1218551680 (LWP 13742)]
> 0x00c4e722 in strncpy () from /lib/tls/libc.so.6
> (gdb) c
> Continuing.
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00c4e722 in strncpy () from /lib/tls/libc.so.6
> (gdb) c
> Continuing.
> 
> Program exited with code 0376.
> (gdb) 

-- 
Greg Vickers
Lab Monitor Project Manager
Teaching and Learning Support Services
Information Technology Services
Queensland University of Technology

email: g.vickers at qut.edu.au
phone: (07) 3864 8276
mobile: 0416 001 674, SD #6 6147

CIROS code: 00213J


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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