NAGIOS NDO2DB: COULD NOT BIND SOCKET

1210阅读 0评论2014-05-06 我为鹤狂
分类:系统运维

NAGIOS NDO2DB: COULD NOT BIND SOCKET


When using the ndoutil in nagios (when you want nagios to connect to a mysql database) you’ll get an error when starting up following proces:

/usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg
Could not bind socket: Address already in use

This is because there is still a lock file of this process. Remove the ‘ndo.sock’ and restart the process.

rm /usr/local/nagios/var/ndo.sock
/usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg

The process will start normally.

上一篇:查看centos是32bit还是64bit
下一篇:SSH -o选项