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 |
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. |
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. |
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 |
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 ... |
All times are GMT -5. The time now is 04:01 PM. |