NPCD giving error while stopping

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rtsupport
Posts: 188
Joined: Mon Jan 08, 2018 4:30 am

NPCD giving error while stopping

Post by rtsupport »

Hi team,

After repairing the database when I tried to stop the services I got error for npcd . Please check and provide the solution.

-bash-4.2$ sudo systemctl stop npcd
Warning: npcd.service changed on disk. Run 'systemctl daemon-reload' to reload units.

I run ./repair_databases.sh to repair the DB and below is the output


===============
REPAIR COMPLETE
===============

=======================
nagios database repair succeeded
nagiosql database repair succeeded
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NPCD giving error while stopping

Post by lmiltchev »

Can you stop it after running the command below?

Code: Select all

systemctl daemon-reload
Do you see any errors in the npcd.log?

Code: Select all

tail -100 /usr/local/nagios/var/npcd.log
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked