Page 1 of 1

cp: cannot stat `command.cfg': No such file or directory

Posted: Sat Aug 13, 2016 12:13 pm
by kaushalshriyan
Hi,

I am facing the issue cp: cannot stat `command.cfg': No such file or directory when i run rpmbuild-ba nagios-plugins.spec -> http://sprunge.us/eiKe
cat nagios-plugins.spec -> http://sprunge.us/cTCG
cat /etc/redhat-release
CentOS release 6.7 (Final)
Nagios plugin version -> nagios-plugins-2.1.2.tar.gz

Any help will be highly appreciable.

Regards,

Kaushal

Re: cp: cannot stat `command.cfg': No such file or directory

Posted: Mon Aug 15, 2016 1:04 pm
by bwallace
This thread looks related:
https://support.nagios.com/forum/viewto ... 35&t=27761
Have you attempted to run through the steps mentioned there?

Re: cp: cannot stat `command.cfg': No such file or directory

Posted: Thu Aug 18, 2016 3:09 pm
by jfrickson
The file 'command.cfg' has not been in plugins since version 1.5 back in 2013.

I've fixed the spec file in the 'maint' branch. The fix will be in the next release.