[chef] Re: cmd not recognised-chef bootstrap


Chronological Thread 
  • From: Santhosh < >
  • To:
  • Subject: [chef] Re: cmd not recognised-chef bootstrap
  • Date: Fri, 11 Jul 2014 11:57:14 +0530

On 7/11/2014 11:32 AM, Indra k wrote:
" type="cite">
Hi,

           First i ve bootstrap and register my node and run chef-client at all. when iam running again chef-client from a same workstation it shows chef-client not recognised ,also in target machine also it showing a same.So i ve delete that node and bootstrap that machine but it showing a below error:


172.16.1.197 'cmd.exe' is not recognized as an internal or external command,
172.16.1.197 operable program or batch file.
172.16.1.197 'cmd.exe' is not recognized as an internal or external command,
172.16.1.197 operable program or batch file.
172.16.1.197 'cmd.exe' is not recognized as an internal or external command,
172.16.1.197 operable program or batch file.
172.16.1.197 'cmd.exe' is not recognized as an internal or external command,
172.16.1.197 operable program or batch file.
172.16.1.197 'cmd.exe' is not recognized as an internal or external command,
172.16.1.197 operable program or batch file.
172.16.1.197 'cmd.exe' is not recognized as an


Thanks,
indra
Doesn't appear like a chef error.
run 'where cmd' from your command prompt. your first output should be C:\Windows\System32\cmd.exe and then C:\opscode\chef\embedded\bin\cmd .

it's also possible you have autorun enabled. 'cmd \d ' will clear this up, if not try deleting the key from registry.

more details here. http://blogs.msdn.com/b/oldnewthing/archive/2007/11/21/6447771.aspx

Regards
Santhosh



Archive powered by MHonArc 2.6.16.

§