[Bug 693372] Re: Error starting nagios3

Andy Jackson 693372 at bugs.launchpad.net
Thu Jan 6 10:43:46 UTC 2011


I'm getting this problem too. Here's the stacktrace to the SIGSEGV:


$ sudo gdb /usr/sbin/nagios3  /etc/nagios3/nagios.cfg 
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/nagios3...(no debugging symbols found)...done.
"/etc/nagios3/nagios.cfg" is not a core dump: File format not recognised
(gdb) where
No stack.
(gdb) run /etc/nagios3/nagios.cfg
Starting program: /usr/sbin/nagios3 /etc/nagios3/nagios.cfg
[Thread debugging using libthread_db enabled]

Nagios Core 3.2.1
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-09-2010
License: GPL

Website: http://www.nagios.org
Nagios 3.2.1 starting... (PID=32158)
Local time is Thu Jan 06 10:38:29 GMT 2011

Program received signal SIGSEGV, Segmentation fault.
0xb77d831a in _nss_wins_gethostbyname_r () from /lib/libnss_wins.so.2
(gdb) where
#0  0xb77d831a in _nss_wins_gethostbyname_r () from /lib/libnss_wins.so.2
#1  0xb77d861f in _nss_wins_gethostbyname2_r () from /lib/libnss_wins.so.2
#2  0xb7dc61a5 in gethostbyname2_r () from /lib/libc.so.6
#3  0xb7d8582c in ?? () from /lib/libc.so.6
#4  0xb7d873b5 in getaddrinfo () from /lib/libc.so.6
#5  0x001470a7 in my_tcp_connect ()
#6  0x0015087a in query_update_api ()
#7  0x00150ce5 in check_for_nagios_updates ()
#8  0x00121da5 in main ()

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios3 in ubuntu.
https://bugs.launchpad.net/bugs/693372

Title:
  Error starting nagios3



More information about the Ubuntu-server-bugs mailing list