Fwd: NDOUtils and Mysql libraries assistance needed

Guy Waugh guidosh at gmail.com
Thu Jun 25 15:08:42 CEST 2009


Hello,

On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi
<naloi at experisdatacenters.com>wrote:

>  Hi I am having trouble getting ndoutils to work
> during my install I found this information logged:
>
> *** 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
> I have a question about step 1. When I more the file all it has in it is
> this information:
>
> [root at nagios etc]# more ld.so.conf
> include ld.so.conf.d/*.conf
>
> My question is what is the syntax of the libraries I have no idea what to
> add into this file.
> Do I just add "/usr/lib/mysql" ?
>

The best thing to do would be to create a file in '/etc/ld.so.conf.d' called
'mysql.conf' that contains, as you suggest, one line thus: '/usr/lib/mysql'
(without the quotes). Then, proceed with steps 2, 3 and 4 above.

Cheers,
Guy.


>
> I am running Fedora 9
> mysql has been installed (see below:)
> [root at nagios etc]# rpm -qa | grep mysql
> qt-mysql-4.5.0-14.fc9.i386
> mysql-administrator-5.0r12-8.fc9.i386
> mysql-server-5.0.77-1.fc9.i386
> mysql-devel-5.0.77-1.fc9.i386
> mysql-connector-odbc-3.51.24r1071-1.fc9.i386
> mysql-connector-java-3.1.12-5.fc9.i386
> php-mysql-5.2.6-2.fc9.i386
> mysql-5.0.77-1.fc9.i386
> libdbi-dbd-mysql-0.8.3-2.fc9.i386
> mysql-libs-5.0.77-1.fc9.i386
> nagios-plugins-mysql-1.4.13-9.fc9.i386
> mysql-gui-common-5.0r12-8.fc9.i386
> below is infor from mysql for nagios db for ndoutils....
> mysql> use nagios
> Reading table information for completion of table and column names
> You can turn off this feature to get a quicker startup with -A
> Database changed
> mysql> show tables;
> +-------------------------------------+
> | Tables_in_nagios                    |
> +-------------------------------------+
> | ndo_acknowledgements                |
> | ndo_commands                        |
> | ndo_commenthistory                  |
> | ndo_comments                        |
> | ndo_configfiles                     |
> | ndo_configfilevariables             |
> | ndo_conninfo                        |
> | ndo_contact_addresses               |
> | ndo_contact_notificationcommands    |
> | ndo_contactgroup_members            |
> | ndo_contactgroups                   |
> | ndo_contactnotificationmethods      |
> | ndo_contactnotifications            |
> | ndo_contacts                        |
> | ndo_customobjectvariables           |
> | ndo_downtimehistory                 |
> | ndo_eventhandlers                   |
> | ndo_externalcommands                |
> | ndo_flappinghistory                 |
> | ndo_host_contactgroups              |
> | ndo_host_parenthosts                |
> | ndo_hostchecks                      |
> | ndo_hostdependencies                |
> | ndo_hostescalation_contactgroups    |
> | ndo_hostescalations                 |
> | ndo_hostextinfo                     |
> | ndo_hostgroup_members               |
> | ndo_hostgroups                      |
> | ndo_hosts                           |
> | ndo_hoststatus                      |
> | ndo_instances                       |
> | ndo_logentries                      |
> | ndo_notifications                   |
> | ndo_objects                         |
> | ndo_processevents                   |
> | ndo_programstatus                   |
> | ndo_runtimevariables                |
> | ndo_scheduleddowntime               |
> | ndo_service_contactgroups           |
> | ndo_servicechecks                   |
> | ndo_servicedependencies             |
> | ndo_serviceescalation_contactgroups |
> | ndo_serviceescalations              |
> | ndo_serviceextinfo                  |
> | ndo_servicegroup_members            |
> | ndo_servicegroups                   |
> | ndo_services                        |
> | ndo_servicestatus                   |
> | ndo_statehistory                    |
> | ndo_systemcommands                  |
> | ndo_timedeventqueue                 |
> | ndo_timedevents                     |
> | ndo_timeperiod_timeranges           |
> | ndo_timeperiods                     |
> +-------------------------------------+
> 54 rows in set (0.00 sec)
> mysql>
>
> Network Operations Center Manager
> Experis Data Center LLC
> 8209 Valley Pike
> PO Box 535
> Middletown,VA 22645
> phone:540-869-8702
> cell:240-988-3267
> fax:540-869-8710
> e-mail:naloi at experisdatacenters.com<e-mail%3Analoi at experisdatacenters.com>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090625/722a1b6e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
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