Page 1 of 1

Unable to start npcd service on nagios Xi

Posted: Sun Feb 14, 2021 2:13 pm
by IT-OPS-SYS
version 5.8.1
unable to start the npcd service. attached are the logs
systemctl status npcd.service
● npcd.service - LSB: pnp4nagios NPCD Daemon Version 0.6.26
Loaded: loaded (/etc/rc.d/init.d/npcd; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2021-02-14 14:10:46 EST; 6s ago
Docs: man:systemd-sysv-generator(8)
Process: 826 ExecStop=/etc/rc.d/init.d/npcd stop (code=exited, status=1/FAILURE)
Process: 26617 ExecStart=/etc/rc.d/init.d/npcd start (code=exited, status=1/FAILURE)
Main PID: 1920 (code=exited, status=0/SUCCESS)

Feb 14 14:10:46 cvrmnagiosxi001 systemd[1]: Starting LSB: pnp4nagios NPCD Daemon Version 0.6.26...
Feb 14 14:10:46 cvrmnagiosxi001 npcd[26617]: Configuration file /usr/local/pnp4nagios/etc/npcd.cfg not found. Exiting.
Feb 14 14:10:46 cvrmnagiosxi001 systemd[1]: npcd.service: control process exited, code=exited status=1
Feb 14 14:10:46 cvrmnagiosxi001 systemd[1]: Failed to start LSB: pnp4nagios NPCD Daemon Version 0.6.26.
Feb 14 14:10:46 cvrmnagiosxi001 systemd[1]: Unit npcd.service entered failed state.
Feb 14 14:10:46 cvrmnagiosxi001 systemd[1]: npcd.service failed.

Re: Unable to start npcd service on nagios Xi

Posted: Mon Feb 15, 2021 1:31 pm
by dchurch
What's the output from the following commands?

Code: Select all

grep = /etc/rc.d/init.d/npcd
ls -la /usr/local/nagios/etc/pnp/
ls -la /usr/local/pnp4nagios/etc/