ndo2db:Support for the specified database server is either

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: ndo2db:Support for the specified database server is eith

Post by jdalrymple »

If it's a vanilla-ish system, you can just run configure without any extra args and the configure script will figure it all out. If you think you need to specify the args go ahead, and those args are fine.
gabrielsousa
Posts: 20
Joined: Mon Mar 02, 2015 5:06 am

Re: ndo2db:Support for the specified database server is eith

Post by gabrielsousa »

jdalrymple wrote:If it's a vanilla-ish system, you can just run configure without any extra args and the configure script will figure it all out. If you think you need to specify the args go ahead, and those args are fine.
thanks,

but now i have this problem

Code: Select all

Could not bind socket: Permission denied
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: ndo2db:Support for the specified database server is eith

Post by ssax »

Please post the output of the following:

Code: Select all

ls -l /usr/local/nagios/bin/*ndo*
ls -l /usr/local/nagios/etc/ndo*
gabrielsousa
Posts: 20
Joined: Mon Mar 02, 2015 5:06 am

Re: ndo2db:Support for the specified database server is eith

Post by gabrielsousa »

Code: Select all

[root@ns1 sysadmn.net]# ls -l /usr/local/nagios/bin/*ndo*
-rwxrwxr-- 1 nagios nagios  33907 2015-03-26 20:41 /usr/local/nagios/bin/log2ndo
-rwxr-xr-x 1 nagios nagios 222794 2015-03-26 20:41 /usr/local/nagios/bin/ndo2db
-rwxr-xr-x 1 nagios nagios 156509 2015-03-26 20:41 /usr/local/nagios/bin/ndomod.o
[root@ns1 sysadmn.net]# ls -l /usr/local/nagios/etc/ndo*
-rwxrwxr-x 1 nagios nagios 1464 2015-03-26 17:36 /usr/local/nagios/etc/ndo2db.cfg
-rwxrwxr-x 1 nagios nagios 1347 2015-03-26 16:23 /usr/local/nagios/etc/ndomod.cfg
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: ndo2db:Support for the specified database server is eith

Post by jdalrymple »

You actually need to look at /var/run/ndo.sock

that file needs rw for user nagios.

Code: Select all

ls -l /var/run/
gabrielsousa
Posts: 20
Joined: Mon Mar 02, 2015 5:06 am

Re: ndo2db:Support for the specified database server is eith

Post by gabrielsousa »

fix the problem chaging to

Code: Select all

socket_name=/usr/local/nagios/var/ndo.sock
thanks a lot
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: ndo2db:Support for the specified database server is eith

Post by jdalrymple »

OK to lock and mark solved?
gabrielsousa
Posts: 20
Joined: Mon Mar 02, 2015 5:06 am

Re: ndo2db:Support for the specified database server is eith

Post by gabrielsousa »

yes, thanks a lot
Locked