[Nagios-users] FW: Problem with NDOUtils 1.4b6 and MySQL
-Original Message- From: [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 02 October 2007 14:17 > I have been trying this for a day now and it is time to ask for some help. I have included the full > output of the configure, as well as RPM output and directory listings. Any help would be greatly > appreciated. It seems that NDO cannot find what it is looking for in regards to mysql yet AFAIK > everything is there. Please advise if something is missing, or if I should compile mysql from source, or > any other fix. Here is all the relevant information I can think of this morning: > > ~/ndoutils-1.4b6 # ./configure --with-mysql-lib=/usr/lib/mysql Use the following make command: ./configure --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql --disable-pgsql Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@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
[Nagios-users] FW: Problem with NDOUtils 1.4b6 and MySQL
-Original Message- > From: [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: 02 October 2007 14:52 > > Thank you Mr Wheeler and Hugo for your advice. I have snipped the output of the suggested command from > Mr. Wheeler. > > checking for mysql_store_result in -lmysqlclient... no > > *** MySQL library could not be located... ** Do you have the mysql-devel RPM installed ? This RPM contains the /usr/include/mysql files and would be required by the build. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] FW: Problem with NDOUtils 1.4b6 and MySQL
> > Use the following make command: > > ./configure --with-mysql-lib=/usr/lib/mysql > --with-mysql-inc=/usr/include/mysql --disable-pgsql > > Jonathan Wheeler > e-Science Centre > Rutherford Appleton Laboratory > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/[attachment > "ATT4488962.txt" deleted by Mark Potter/IS/Academy] > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Nagios-users mailing list > Nagios-users@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 Thank you Mr Wheeler and Hugo for your advice. I have snipped the output of the suggested command from Mr. Wheeler. checking for mysql_store_result in -lmysqlclient... no *** MySQL library could not be located... ** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following ./configure --with-mysql-lib=/usr/lib/mysql checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h config.status: include/config.h is unchanged *** ndoutils 1.4b6 09-27-2007 *** Type 'make' to compile the NDO utilities. That is running : ndoutils-1.4b6 # ./configure --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql --disable-pgsql I should have been a little more clear. I spent yesterday going over the archives in depth and trying solutions for issues that seemed to be the same or similar. Thanks to everyone for such quick responses! I noticed I had not specified my actual distro, although it could have been derived from the RPM output, I am running SLES9 with full updates, upgraded MySQL (as shown in my first email), and while it doesn't matter just yet Nagios 2.9.- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] FW: Problem with NDOUtils 1.4b6 and MySQL
I have found the issue. The RPMs from mysql do not contain the proper shared objects. Installing MySQL from source solved the issue. I now have NDOUtils, NagVis, and various other customizations running flawlessly. Thank you all for the suggestions. [EMAIL PROTECTED] wrote on 10/02/2007 08:27:02 AM: > -Original Message- > From: [EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: 02 October 2007 14:17 > > > I have been trying this for a day now and it is time to ask for some > help. I have included the full > > output of the configure, as well as RPM output and directory listings. > Any help would be greatly > > appreciated. It seems that NDO cannot find what it is looking for in > regards to mysql yet AFAIK > > everything is there. Please advise if something is missing, or if I > should compile mysql from source, or > > any other fix. Here is all the relevant information I can think of > this morning: > > > > ~/ndoutils-1.4b6 # ./configure --with-mysql-lib=/usr/lib/mysql > > Use the following make command: > > ./configure --with-mysql-lib=/usr/lib/mysql > --with-mysql-inc=/usr/include/mysql --disable-pgsql > > Jonathan Wheeler > e-Science Centre > Rutherford Appleton Laboratory > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/[attachment > "ATT4488962.txt" deleted by Mark Potter/IS/Academy] > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Nagios-users mailing list > Nagios-users@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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] FW: Problem with NDOUtils 1.4b6 and MySQL
Bizarrely, I used ./configure --with-mysql-lib=/usr/lib and everything worked fine. Mark Law Thomson Global Technology Infrastructure (TGTI) (734) 913-3775 Phone (734) 260-5740 Cell (734) 913- 3500 Fax [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, October 03, 2007 9:08 AM To: Wheeler, JF (Jonathan) Cc: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] FW: Problem with NDOUtils 1.4b6 and MySQL I have found the issue. The RPMs from mysql do not contain the proper shared objects. Installing MySQL from source solved the issue. I now have NDOUtils, NagVis, and various other customizations running flawlessly. Thank you all for the suggestions. [EMAIL PROTECTED] wrote on 10/02/2007 08:27:02 AM: > -Original Message- > From: [EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: 02 October 2007 14:17 > > > I have been trying this for a day now and it is time to ask for some > help. I have included the full > > output of the configure, as well as RPM output and directory listings. > Any help would be greatly > > appreciated. It seems that NDO cannot find what it is looking for in > regards to mysql yet AFAIK > > everything is there. Please advise if something is missing, or if I > should compile mysql from source, or > > any other fix. Here is all the relevant information I can think of > this morning: > > > > ~/ndoutils-1.4b6 # ./configure --with-mysql-lib=/usr/lib/mysql > > Use the following make command: > > ./configure --with-mysql-lib=/usr/lib/mysql > --with-mysql-inc=/usr/include/mysql --disable-pgsql > > Jonathan Wheeler > e-Science Centre > Rutherford Appleton Laboratory > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ <http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/> [attachment > "ATT4488962.txt" deleted by Mark Potter/IS/Academy] > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ <http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/> > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users <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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ Nagios-users mailing list Nagios-users@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