title: Running a chef client from a workstation
body: <p>I have already setup a chef server on one of my ubuntu 12.04 OS. The second ubuntu machine has a chef client running which I use as a workstation to manage other nodes.</p>
  
  <p>So lets decide the nomenclature as follows:
  Chef Server : S
  Workstation : W
  Chef Nodes N1, N2 ...</p>
  
  <p>I have bootstrapped the chef node N1 from the workstaion W using chef bootstrap as given here <a href="http://wiki.opscode.com/display/chef/Client+Bootstrap+Fast+Start+Guide" rel="nofollow">http://wiki.opscode.com/display/chef/Client+Bootstrap+Fast+Start+Guide</a></p>
  
  <p>After this I am trying to run the chef-client command on N1 from my workstation W.
  I am using the following command:</p>
  
  <pre><code>knife ssh name:chefNode -x ubuntu -P password "sudo chef-client"
  </code></pre>
  
  <p>This throws me the following error:
      ERROR: Server returned error for <a href="http://ec2-XX-XX-XX-XXX.compute-1.amazonaws.com:4000/search/node?=name:chefNode&amp;sort=X_CHEF_id_CHEF_X%20asc&amp;start=0" rel="nofollow">http://ec2-XX-XX-XX-XXX.compute-1.amazonaws.com:4000/search/node?=name:chefNode&amp;sort=X_CHEF_id_CHEF_X%20asc&amp;start=0</a> &amp;rows=1000, retrying 5/5 in 58s
  ERROR: internal server error</p>
  
  <p>Any help or clue is appreciated. Please answer</p>