PCD: ERROR: Executed command exits with return code '7'
Re: PCD: ERROR: Executed command exits with return code '7'
found one error on "perfdata.log" in old history log
You do not have the required permissions to view the files attached to this post.
Re: PCD: ERROR: Executed command exits with return code '7'
There seems to be 2 copies of the npcd daemon running and the duplicated copy needs to be stopped.
Run the following as root to kill off the process and start it up again.
Then check the npcd.log file and hopefully you will not see these messages anymore which shows that there are 2 processes running,
Run the following as root to kill off the process and start it up again.
Code: Select all
service npcd stop
kill -9 npcd
service npcd startis an already in process PNP file. Leaving it untouched.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: PCD: ERROR: Executed command exits with return code '7'
Yes, two copies of ncpd are running. and killed all ncpd process . started one ncpd process.
Let me keep eye on graphs for few days.
Let me keep eye on graphs for few days.
Re: PCD: ERROR: Executed command exits with return code '7'
OK, we'll leave the post open is you have any more issues. Thanks for reporting back.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: PCD: ERROR: Executed command exits with return code '7'
Hi
Again error started ,
Again error started ,
Code: Select all
[10-26-2018 22:49:50] NPCD: ERROR: Executed command exits with return code '7'
[10-26-2018 22:49:50] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1540552346.perfdata.service'
[10-26-2018 22:49:52] NPCD: ERROR: Executed command exits with return code '7'
[10-26-2018 22:49:52] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1540552325.perfdata.service'
[10-26-2018 22:49:53] NPCD: ERROR: Executed command exits with return code '7'
[10-26-2018 22:49:53] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1540552316.perfdata.service'
[10-26-2018 22:49:53] NPCD: Processing file '1540552356.perfdata.host'
[10-26-2018 22:49:53] NPCD: Processing file '1540552387.perfdata.host'
[10-26-2018 22:49:53] NPCD: Processing file '1540552356.perfdata.service'
[10-26-2018 22:49:53] NPCD: Processing file '1540552373.perfdata.host'
[10-26-2018 22:49:53] NPCD: Processing file '1540552373.perfdata.service'Re: PCD: ERROR: Executed command exits with return code '7'
Lets increase the timeout setting. Edit this file
find the Timeout setting and double the current value.
Save the file
Save out the file and restart these services by running
Also, are there 2 copies of the npcd process running?
Code: Select all
/usr/local/nagios/etc/pnp/process_perfdata.cfgCode: Select all
TIMEOUT = Save out the file and restart these services by running
Code: Select all
service npcd restart
service nagios restartBe sure to check out our Knowledgebase for helpful articles and solutions!