hi,
fresh install. have been importing all my old nagios configs, etc... noticed this red on system status. I cannot get it to start. I have tried everything from this thread with no luck. I have since reverted to a vm snapshot prior to these changes so I can start troubleshooting fresh.
System:
Nagios XI Version : 5.4.2
nagiosxi.na.hasbro.com 3.10.0-514.10.2.el7.x86_64 x86_64
Red Hat Enterprise Linux Server release 7.3 (Maipo)
[[email protected] ~]$ sudo /usr/local/nagiosxi/scripts/manage_services.sh status ndo2db
● ndo2db.service - Nagios Data Out Daemon
Loaded: loaded (/usr/lib/systemd/system/ndo2db.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2017-03-21 16:33:34 EDT; 3min 27s ago
Docs: http://www.nagios.org/documentation
Process: 2678 ExecStopPost=/bin/rm -f /usr/local/nagios/var/ndo2db.pid (code=exited, status=0/SUCCESS)
Process: 2672 ExecStart=/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -f (code=exited, status=1/FAILURE)
Main PID: 2672 (code=exited, status=1/FAILURE)
Mar 21 16:33:34 nagiosxi.na.hasbro.com systemd[1]: Started Nagios Data Out Daemon.
Mar 21 16:33:34 nagiosxi.na.hasbro.com systemd[1]: Starting Nagios Data Out Daemon...
Mar 21 16:33:34 nagiosxi.na.hasbro.com ndo2db[2672]: Could not bind socket: Address already in use
Mar 21 16:33:34 nagiosxi.na.hasbro.com systemd[1]: ndo2db.service: main process exited, code=exited, status=1/FAILURE
Mar 21 16:33:34 nagiosxi.na.hasbro.com systemd[1]: Unit ndo2db.service entered failed state.
Mar 21 16:33:34 nagiosxi.na.hasbro.com systemd[1]: ndo2db.service failed
ndo2db not starting
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: ndo2db not starting
Please try the following commands and report your result:
Code: Select all
service nagios stop
service ndo2db stop
rm -f /usr/local/nagios/var/ndo2db.lock /usr/local/nagios/var/ndo.sock
service ndo2db start
service nagios startPrevious Nagios employee
Re: ndo2db not starting
ok, that fixed it
what was the issue?
what was the issue?
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: ndo2db not starting
The answer to your question is as follows:
One thing I'm interested in if you wanted to dig a bit deeper is
We'd also want to look at your install.log, but unless you keep having these issues, there's no real reason to be concerned if it happens once.
The more interesting question is what caused it. The answer there is multiple services running, but that of course leads us down the cause rabbit hole.Mar 21 16:33:34 nagiosxi.na.hasbro.com ndo2db[2672]: Could not bind socket: Address already in use
One thing I'm interested in if you wanted to dig a bit deeper is
Did you mean to leave a link?I have tried everything from this thread with no luck.
We'd also want to look at your install.log, but unless you keep having these issues, there's no real reason to be concerned if it happens once.
Re: ndo2db not starting
ha sorry
https://support.nagios.com/forum/viewto ... 1&start=10
yes it only happened once. I will keep my eye on it though.
https://support.nagios.com/forum/viewto ... 1&start=10
yes it only happened once. I will keep my eye on it though.
Re: ndo2db not starting
Is it okay then if we close the thread for the time being? If it occurs again you can request to reopen it by PMing me.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: ndo2db not starting
yes you can close, thank you