Page 1 of 1

[Nagios-devel] CVS compile failing to run

Posted: Thu May 23, 2002 11:12 am
by Guest
Hi,

I noticed that my compiles of the recent CVS code (last week or so)
compiles fine now, but fails to run as a daemon. The -v check runs fine,
but when I try to startup Nagios, I'm getting a SIGEGV fault.=20

What are some good debuggers that I could use to determine where in the
code Nagios is giving me the finger? Here's the particulars on the CVS
compile:


Running this command:
/usr/local/nagios/bin/nagios usr/local/nagios/etc/nagios.cfg

seems to generate the proper response, but still stops after reviewing
the schedules. However, if I try it as a daemon (-d), the last messages
I get are:

Completed circular path checks
Completed circular service dependency checks
Completed global event handler command checks
Completed obsessive compulsive service processor command check
[root@tempserver bin]#=20

Followed by this message in the log file:

[1022180415] Finished daemonizing... (New PID=3D6666)
[1022180415] Caught SIGSEGV, shutting down...

This is all on a RH 7.3 system, using the MySQL options. My configure
options look like this:

./configure --with-mysql-lib=3D/usr/lib/mysql \
--with-mysql-inc=3D/usr/include/mysql --with-mysql-xdata \
--with-template-objects --with-template-extinfo --enable-DEBUG1

The 1.0b1 code compiles, installs, and runs fine with the same set of
.cfg files.

Strangeness indeed. Is it possible there's been a schema change or some
database corruption that is causing problems (although I've dropped the
database and recreated)?

Regards,

--- Gavin





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: gadams@promisant.com