Page 1 of 1

RE: [Nagios-devel] CVS compile failing to run

Posted: Thu May 23, 2002 12:59 pm
by Guest
Good day,

I am not sure if this helps you at all, but I've recently compiled a CVS
version on my RH 7.3 machine (Tuesday, I think) and I haven't had your
problems.

However:
- I used the .spec files to make RPMs.
- I didn't compile in MySQL support, although I probably should look
into that. =)

So, one might hypothesize that the problem is somehow related to the MySQL
support.

============================
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948


> -----Original Message-----
> From: Adams, Gavin [mailto:gadams@promisant.com]
> Sent: Thursday, May 23, 2002 1:12 PM
> To: nagios-devel@lists.sourceforge.net
> Subject: [Nagios-devel] CVS compile failing to run
>
>
> 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.
>
> 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]#
>
> Followed by this message in the log file:
>
> [1022180415] Finished daemonizing... (New PID=6666)
> [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=/usr/lib/mysql \
> --with-mysql-inc=/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
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-devel
>





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: Darren.Gamble@sjrb.ca