Cmd not recognised-chef bootstrap


#1

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


#2

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.


||
Regards
Santhosh
|


#3

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 santhoshsusbs@gmail.com
To: chef@lists.opscode.com
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


#4

OK, you are top posting.

what is the output of 'where cmd ’

On 7/11/2014 12:22 PM, Indra k wrote:

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 santhoshsusbs@gmail.com
To: chef@lists.opscode.com
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
|


#5

Hi,
its solved.its just a path issue, i set a path for that in a system environment variable thats it.
Thanks,
indra


From: Santhosh santhoshsusbs@gmail.com
To: chef@lists.opscode.com
Sent: Friday, 11 July 2014 12:31 PM
Subject: [chef] Re: Re: Re: cmd not recognised-chef bootstrap

OK, you are top posting.

what is the output of 'where cmd ’

On 7/11/2014 12:22 PM, Indra k wrote:

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 santhoshsusbs@gmail.com
To: chef@lists.opscode.com
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