Page 2 of 2
Re: ndo2db:Support for the specified database server is eith
Posted: Thu Mar 26, 2015 3:38 pm
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.
Re: ndo2db:Support for the specified database server is eith
Posted: Thu Mar 26, 2015 3:42 pm
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
Re: ndo2db:Support for the specified database server is eith
Posted: Thu Mar 26, 2015 3:48 pm
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*
Re: ndo2db:Support for the specified database server is eith
Posted: Thu Mar 26, 2015 3:49 pm
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
Re: ndo2db:Support for the specified database server is eith
Posted: Thu Mar 26, 2015 3:50 pm
by jdalrymple
You actually need to look at /var/run/ndo.sock
that file needs rw for user nagios.
Re: ndo2db:Support for the specified database server is eith
Posted: Thu Mar 26, 2015 4:10 pm
by gabrielsousa
fix the problem chaging to
Code: Select all
socket_name=/usr/local/nagios/var/ndo.sock
thanks a lot
Re: ndo2db:Support for the specified database server is eith
Posted: Thu Mar 26, 2015 4:11 pm
by jdalrymple
OK to lock and mark solved?
Re: ndo2db:Support for the specified database server is eith
Posted: Thu Mar 26, 2015 4:18 pm
by gabrielsousa
yes, thanks a lot