Page 1 of 1

NPCD giving error while stopping

Posted: Tue Jul 30, 2019 1:28 am
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

Re: NPCD giving error while stopping

Posted: Tue Jul 30, 2019 8:38 am
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