RedHat 7.3 - Nagios 1.2 - MySQL

Balestra, Roberto Roberto.Balestra at getronics.com
Thu Nov 11 11:04:51 CET 2004


I'm use mysql 3.23.58. I haven't experience with mysql4, I'm sorry.
Below the packages I got on my system
mod_auth_mysql-1.11-1
mysql-server-3.23.58-1.73
mysql-devel-3.23.58-1.73
php-mysql-4.1.2-7.3.6
libdbi-dbd-mysql-0.6.4-2
mysql-3.23.58-1.73

I hope may be useful.
Bye
	Roberto

> -----Original Message-----
> From: Tom Brown [mailto:tom.brown at goodtechnology.com]
> Sent: giovedì 11 novembre 2004 10.37
> To: Balestra, Roberto; nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL
> 
> 
> indeed - thats is what i did
> 
> There has been a suggestion that this is because i'm using MySQL 4.x
> 
> ----- Original Message ----- 
> From: "Balestra, Roberto" <Roberto.Balestra at getronics.com>
> To: <nagios-users at lists.sourceforge.net>
> Sent: Thursday, November 11, 2004 9:17 AM
> Subject: RE: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL
> 
> 
> if lib devel is install, please try "make clean" and than again 
> "./configure --your-parm"
> 
> > -----Original Message-----
> > From: Tom Brown [mailto:tom.brown at goodtechnology.com]
> > Sent: giovedì 11 novembre 2004 10.12
> > To: Balestra, Roberto; nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL
> >
> >
> > I have done that thinking the same but it has not made any 
> difference
> >
> > thanks
> >
> > ----- Original Message ----- 
> > From: "Balestra, Roberto" <Roberto.Balestra at getronics.com>
> > To: <nagios-users at lists.sourceforge.net>
> > Sent: Thursday, November 11, 2004 8:44 AM
> > Subject: RE: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL
> >
> >
> > Hi,
> > you have to install mysql-devel.
> > bie
> > Roberto
> >
> > > -----Original Message-----
> > > From: nagios-users-admin at lists.sourceforge.net
> > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of
> > > Tom Brown
> > > Sent: mercoledì 10 novembre 2004 22.10
> > > To: nagios-users at lists.sourceforge.net
> > > Subject: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL
> > >
> > >
> > > Hi,
> > >
> > > I'm trying to compile from source and have hit a wall - My
> > > configure (below)
> > > runs fine and seems to find all packages however when i run
> > > tha make all i
> > > end up with.....
> > >
> > > -- snip of lots of this --
> > >
> > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1107: undefined
> > > reference to
> > > `mysql_store_result'
> > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1116: undefined
> > > reference to
> > > `mysql_free_result'
> > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1146: undefined
> > > reference to
> > > `mysql_fetch_row'
> > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1149: undefined
> > > reference to
> > > `mysql_free_result'
> > > /tmp/cclaHXUI.o: In function `xdddb_read_service_downtime':
> > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1238: undefined
> > > reference to
> > > `mysql_store_result'
> > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1247: undefined
> > > reference to
> > > `mysql_free_result'
> > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1277: undefined
> > > reference to
> > > `mysql_fetch_row'
> > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1280: undefined
> > > reference to
> > > `mysql_free_result'
> > > collect2: ld returned 1 exit status
> > > make[1]: *** [nagios] Error 1
> > > make[1]: Leaving directory `/home/tom/nagios-1.2/base'
> > > make: *** [all] Error 2
> > >
> > > my configure is fine with......
> > >
> > > ./configure  --prefix=/opt/nagios-1.2
> > > --with-nagios-user=nagios --with-nagios-grp=nagios
> > >  --with-command-user=nagios --with-command-grp=nagios
> > > --with-init-dir=/etc/rc.d/init.d
> > >  --with-mysql-xdata --with-mysql-status --with-mysql-comments
> > > --with-mysql-extinfo
> > >  --with-mysql-retention--with-mysql-downtime
> > > --with-mysql-lib=/opt/mysql/lib
> > >  --with-mysql-inc=/opt/mysql/include
> > > --with-gd-lib=/opt/gd/lib --with-gd-inc=/opt/gd/include
> > >  --with-cgiurl=/cgi-bin --with-htmurl=/docroot
> > --enable-embedded-perl
> > >
> > > can anyone help me here as i can't seem to figure this one
> > > out and google is
> > > not helping me - I can compile if i choose to not use MySQL
> > > but i don't want
> > > to do that - I do not want to rely on an RPM for this.
> > >
> > > thanks
> > >
> > > Tom
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by:
> > > Sybase ASE Linux Express Edition - download now for FREE
> > > LinuxWorld Reader's Choice Award Winner for best database 
> on Linux.
> > > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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
> > >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by:
> > Sybase ASE Linux Express Edition - download now for FREE
> > LinuxWorld Reader's Choice Award Winner for best database on Linux.
> > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick
> > _______________________________________________
> > 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
> >
> >
> >
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick
> _______________________________________________
> 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
> 
> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&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