LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-06-2008, 11:04 PM   #1
prakash.akumalla
Member
 
Registered: Jun 2008
Location: India
Posts: 109

Rep: Reputation: 15
Thumbs up Problem with ndoutils


Hi,
I have installed ndoutils in a 64-bit centOS-5.2 box. I just followed the steps which i used to follow while installing in 32-bit. In 32-bit box all worked fine.
But now, when I start the service ndoutils, The output is

[HTML]Starting ndo2db:Support for the specified database server is either not yet supported, or was not found on your system.
[/HTML]


What's wrong in that. The service ndoutils is not starting
 
Old 11-06-2008, 11:08 PM   #2
prakash.akumalla
Member
 
Registered: Jun 2008
Location: India
Posts: 109

Original Poster
Rep: Reputation: 15
I have given the command

./installdb -u nagios -p nagios -h localhost -d nagios

Then, the output is
Database installed successfully.

Please try to resolve this error.

Thanks,
Prakash.
 
Old 11-07-2008, 04:06 AM   #3
prakash.akumalla
Member
 
Registered: Jun 2008
Location: India
Posts: 109

Original Poster
Rep: Reputation: 15
Finally the problem is resolved. While working on a 64 bit OS, we should compile ndoutils as follows.

./configure --prefix=/monitoring/nagios/ --enable-mysql --with-mysql-lib=/usr/lib64/mysql

make

This solved my problem

Regards,
Prakash.
 
Old 10-03-2012, 09:43 AM   #4
atin.banerjee
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
NDOUtils MYSQL connection error

The error is because NDOUtils was not getting the required MYSQL libraries.

This is how I solved it in a 64 Bit Ubuntu 12 system.

The requisite MySQL client libraries can be installed by running:

apt-get install libmysqlclient15-dev
--> This installs the required 64bit MySQL libraries for client.

Then rerun the configuration file for building NDOUtils

In 64-Bit Ubuntu Linux System run it as:
./configure --prefix=$NAGIOS_HOME --enable-mysql --with-mysql-lib=/lib/x86_64-linux-gnu/

--> If nagios home directory is /usr/local/nagios, then set NAGIOS_HOME to it, or set it as per your environment.
--> In Ubuntu linux MySQL version 5.5.24, has the requisite libraries located at /lib/x86_64-linux-gnu
or else find out where it is in your system by running :
ldconfig -v | grep mysql

Then rebuild NDOUtils my rerunning make
 
Old 10-04-2012, 05:50 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,371

Rep: Reputation: 2379Reputation: 2379Reputation: 2379Reputation: 2379Reputation: 2379Reputation: 2379Reputation: 2379Reputation: 2379Reputation: 2379Reputation: 2379Reputation: 2379
Can I just point out that the thread is from 2008(!).
The current answer may be correct, but possibly not for the time it was asked ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM


All times are GMT -5. The time now is 02:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration