ndo2db:Support for the specified database server is either
-
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: ndo2db:Support for the specified database server is eith
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.
-
- Posts: 20
- Joined: Mon Mar 02, 2015 5:06 am
Re: ndo2db:Support for the specified database server is eith
thanks,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.
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
Please post the output of the following:
Code: Select all
ls -l /usr/local/nagios/bin/*ndo*
ls -l /usr/local/nagios/etc/ndo*
-
- Posts: 20
- Joined: Mon Mar 02, 2015 5:06 am
Re: ndo2db:Support for the specified database server is eith
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
-
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: ndo2db:Support for the specified database server is eith
You actually need to look at /var/run/ndo.sock
that file needs rw for user nagios.
that file needs rw for user nagios.
Code: Select all
ls -l /var/run/
-
- Posts: 20
- Joined: Mon Mar 02, 2015 5:06 am
Re: ndo2db:Support for the specified database server is eith
fix the problem chaging to
thanks a lot
Code: Select all
socket_name=/usr/local/nagios/var/ndo.sock
-
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: ndo2db:Support for the specified database server is eith
OK to lock and mark solved?
-
- Posts: 20
- Joined: Mon Mar 02, 2015 5:06 am
Re: ndo2db:Support for the specified database server is eith
yes, thanks a lot