Page 1 of 1

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

PostPosted: Thu May 23, 2002 1:07 pm
by Guest
Hi Darren,

Yup, it was your announcement that you have RPMs of the code that made
me look into this. I thought it was (and still might be) that Ethan was
working on that portion of the code.

Coming from the land of IDE debuggers, I haven't a clue as to how I
could determine where the problem occurs. I'll take a look at building
SRPMS and see if that makes any difference.

After scripting some SQL queries on even the current data Nagios places
in the database, there's no way I'm going back to text files! :>

Cheers,

--- Gavin

> -----Original Message-----
> From: Darren Gamble [mailto:Darren.Gamble@sjrb.ca]
> Sent: Thursday, May 23, 2002 3:23 PM
> To: Adams, Gavin; nagios-devel@lists.sourceforge.net
> Subject: RE: [Nagios-devel] CVS compile failing to run
>=20
> Good day,
>=20
> 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.
>=20
> However:
> - I used the .spec files to make RPMs.
> - I didn't compile in MySQL support, although I probably should
look
> into that. =3D)
>=20
> So, one might hypothesize that the problem is somehow related to the
MySQL
> support.
>=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> Darren Gamble
> Planner, Regional Services
> Shaw Cablesystems GP
> 630 - 3rd Avenue SW
> Calgary, Alberta, Canada
> T2P 4L4
> (403) 781-4948
>=20
>=20
> > -----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=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
> >
> > _______________________________________________________________
> >
> > 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/listinfo/nagios-devel
> >





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