[root@localhost /]# service ndo2b status
Redirecting to /bin/systemctl status ndo2b.service
Unit ndo2b.service could not be found.
[root@localhost /]# service ndo2b start
Redirecting to /bin/systemctl start ndo2b.service
Failed to start ndo2b.service: Unit not found.
I have attached an image. Please let me know on how to proceed with this.
Anoop.
You do not have the required permissions to view the files attached to this post.
service nagios stop
mv /usr/local/nagios/var/ndo2db.lock /usr/local/nagios/var/ndo2db.lock.bak
mv /usr/local/nagios/var/ndo.sock /usr/local/nagios/var/ndo.sock.bak
service nagios start
service ndo2db start
Does that fix the issue?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
@anoopjeev, Glad to hear! Well, it's hard to tell what exactly caused it without looking through your system log files. The most common reason is when people restart the VM or server without using a soft-restart command like shutdown -r. Or sometimes this happens after you upgrade the XI.
The reason why those two files need to be removed is that when ndo2db script starts it checks if they exist and if they do the script thinks that ndo2db daemon is already running... But if ndo2db was shutdown incorrectly or crashed that is obviously not the case. Hope that explains it.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.