Page 1 of 1

NDOUtils Install Issue,

Posted: Tue Apr 12, 2016 5:39 am
by nathanplatt
/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
Support for the specified database server is either not yet supported, or was not found on your system.

I'm running on Centos 7, Nagios 4.11

[nagios@nagios ~]$ getenforce
Disabled

Re: NDOUtils Install Issue,

Posted: Tue Apr 12, 2016 6:05 am
by nathanplatt
I've read thru https://support.nagios.com/forum/viewto ... 00&start=0

and Tried installing mysql-devel then i ./configure and make and still have the same issue, my my.cnf file is in the default location and tried changing the cfg to be 127.0.0.1 but no difference

Re: NDOUtils Install Issue,

Posted: Tue Apr 12, 2016 8:20 am
by nozlaf
are you passing any options when you do your ./configure ? do you have your config.log from when you configured it ?

Re: NDOUtils Install Issue,

Posted: Tue Apr 12, 2016 8:35 am
by nathanplatt
Didn't pass any variables

Re: NDOUtils Install Issue,

Posted: Tue Apr 12, 2016 2:17 pm
by bheden
Looks like you're missing a few dependencies.

Code: Select all

yum groupinstall "Development Tools" -y
Should take care of most of that, then give it a try again. If it fails again, upload the configure log again please. What version of NDO are you compiling? Where did you get the source files?

Re: NDOUtils Install Issue,

Posted: Fri Apr 15, 2016 3:39 am
by nathanplatt
HI,

Finally got round to installing this again, I'm getting the same issue. I downloaded it from here https://exchange.nagios.org/directory/A ... ls/details

Log attached

Nathan

Re: NDOUtils Install Issue,

Posted: Fri Apr 15, 2016 8:03 am
by nathanplatt
Realised I've been a muppet and forgot to copy over the newly complied ndo2db-4x file after the devel was installed, did this and ran the -c command, now no errors! Please close the case.

Re: NDOUtils Install Issue,

Posted: Fri Apr 15, 2016 12:13 pm
by bwallace
No worries and thanks for the update, glad its resolved. Closing this one out now....