Hello,<br><div class="gmail_quote"><br><div class="gmail_quote"><div class="im">On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi <span dir="ltr"><<a href="mailto:naloi@experisdatacenters.com" target="_blank">naloi@experisdatacenters.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff"><div><font face="Verdana" size="2"></font></div>
<div><font face="Verdana" size="2">Hi I am having trouble getting ndoutils to work </font></div>
<div><font size="2">during my install I found this information logged:</font></div>
<div> </div>
<div>*** MySQL library could not be located... **************************<br>You chose to compile NDBXT with MySQL support, but I was unable to<br>locate the MySQL library on your system. If the library is<br>installed, use the --with-mysql-lib argument to specify the<br>
location of the MySQL library.<br>NOTE: After you install the necessary libraries on your system:<br> 1. Make sure /etc/ld.so.conf has an entry for the directory in<br> which the MySQL libraries are installed.<br>
2. Run 'ldconfig' to update the run-time linker options.<br> 3. Run 'make devclean' in the NDBXT distribution to clean out<br> any old references to your previous compile.<br> 4. Rerun the configure script.<br>
TIP: Try the following....<br> ./configure --with-mysql-lib=/usr/lib/mysql<br><font size="2">I have a question about step 1. When I more the file all it has in it is this information:</font></div>
<div> </div>
<div>[root@nagios etc]# more ld.so.conf<br>include ld.so.conf.d/*.conf<br><font size="2"> </font></div>
<div><font size="2">My question is what is the syntax of the libraries I have no idea what to add into this file.</font></div>
<div><font size="2">Do I just add "/usr/lib/mysql" ?</font></div></div></blockquote></div><div><br>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.<br>
<br>Cheers,<br>Guy.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5"><div bgcolor="#ffffff"><div><font size="2"></font></div>
<div><font size="2"></font> </div>
<div><font size="2">I am running Fedora 9</font></div>
<div><font size="2">mysql has been installed (see below:)</font></div>
<div>[root@nagios etc]# rpm -qa | grep mysql<br>qt-mysql-4.5.0-14.fc9.i386<br>mysql-administrator-5.0r12-8.fc9.i386<br>mysql-server-5.0.77-1.fc9.i386<br>mysql-devel-5.0.77-1.fc9.i386<br>mysql-connector-odbc-3.51.24r1071-1.fc9.i386<br>
mysql-connector-java-3.1.12-5.fc9.i386<br>php-mysql-5.2.6-2.fc9.i386<br>mysql-5.0.77-1.fc9.i386<br>libdbi-dbd-mysql-0.8.3-2.fc9.i386<br>mysql-libs-5.0.77-1.fc9.i386<br>nagios-plugins-mysql-1.4.13-9.fc9.i386<br>mysql-gui-common-5.0r12-8.fc9.i386</div>
<div>below is infor from mysql for nagios db for ndoutils....<br>mysql> use nagios<br>Reading table information for completion of table and column names<br>You can turn off this feature to get a quicker startup with -A<br>
Database changed<br>mysql> show tables;<br>+-------------------------------------+<br>| Tables_in_nagios |<br>+-------------------------------------+<br>| ndo_acknowledgements |<br>| ndo_commands |<br>
| ndo_commenthistory |<br>| ndo_comments |<br>| ndo_configfiles |<br>| ndo_configfilevariables |<br>| ndo_conninfo |<br>| ndo_contact_addresses |<br>
| ndo_contact_notificationcommands |<br>| ndo_contactgroup_members |<br>| ndo_contactgroups |<br>| ndo_contactnotificationmethods |<br>| ndo_contactnotifications |<br>| ndo_contacts |<br>
| ndo_customobjectvariables |<br>| ndo_downtimehistory |<br>| ndo_eventhandlers |<br>| ndo_externalcommands |<br>| ndo_flappinghistory |<br>| ndo_host_contactgroups |<br>
| ndo_host_parenthosts |<br>| ndo_hostchecks |<br>| ndo_hostdependencies |<br>| ndo_hostescalation_contactgroups |<br>| ndo_hostescalations |<br>| ndo_hostextinfo |<br>
| ndo_hostgroup_members |<br>| ndo_hostgroups |<br>| ndo_hosts |<br>| ndo_hoststatus |<br>| ndo_instances |<br>| ndo_logentries |<br>
| ndo_notifications |<br>| ndo_objects |<br>| ndo_processevents |<br>| ndo_programstatus |<br>| ndo_runtimevariables |<br>| ndo_scheduleddowntime |<br>
| ndo_service_contactgroups |<br>| ndo_servicechecks |<br>| ndo_servicedependencies |<br>| ndo_serviceescalation_contactgroups |<br>| ndo_serviceescalations |<br>| ndo_serviceextinfo |<br>
| ndo_servicegroup_members |<br>| ndo_servicegroups |<br>| ndo_services |<br>| ndo_servicestatus |<br>| ndo_statehistory |<br>| ndo_systemcommands |<br>
| ndo_timedeventqueue |<br>| ndo_timedevents |<br>| ndo_timeperiod_timeranges |<br>| ndo_timeperiods |<br>+-------------------------------------+<br>54 rows in set (0.00 sec)<br>
mysql></div>
<div> </div>Network Operations Center Manager <br>Experis Data Center LLC <br>8209 Valley Pike <br>PO Box 535 <br>Middletown,VA 22645 <br>phone:540-869-8702 <br>cell:240-988-3267 <br>fax:540-869-8710 <br><a href="mailto:e-mail%3Analoi@experisdatacenters.com" target="_blank">e-mail:naloi@experisdatacenters.com</a></div>
<br></div></div>------------------------------------------------------------------------------<br>
<br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>
</div><br>