[chef] Re: Re: cmd not recognised-chef bootstrap


Chronological Thread 
  • From: Indra k < >
  • To: " " < >
  • Subject: [chef] Re: Re: cmd not recognised-chef bootstrap
  • Date: Fri, 11 Jul 2014 14:52:52 +0800

hi ,
       there is no such autorun,also i tried cmd /d  in the cmd.exe path of command prompt.Need to set path for that cmd.exe ah

Thanks & regards,
indra


From: Santhosh < >
To:
Sent: Friday, 11 July 2014 11:57 AM
Subject: [chef] Re: cmd not recognised-chef bootstrap



On 7/11/2014 11:32 AM, Indra k wrote:
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.

§