Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is the error code I'm receiving:

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef-1/chef-solo-1/cookbooks

and this is what my Vagrantfile looks like: do |config| = "ubuntu-lucid-32"

  config.vm.forward_port 80, 8080

  config.vm.share_folder "", "/var/www/", "../data"

  config.vm.provision :chef_solo do |chef|
    chef.cookbooks_path = "/cookbooks"
    chef.add_recipe "apache2"
    chef.add_recipe "php"
    chef.add_recipe "mysql"
    chef.add_recipe "vim"
    chef.add_recipe "git"
    chef.add_recipe "openssl"
    chef.json = { :mysql_password => "whatever" }

Extra info: I'm using OS X Lion as my host machine.

share|improve this question
i have exactly the same problem but only with a CentOS 5.7 – rkmax Nov 29 '12 at 19:22

I was having the same problem and it turned out my chef.cookbooks_path didn't exist. In your case does a directory called '/cookbooks' exist on your host machine? Do you mean to set the path to a root level directory?

If you have a sub-directory called 'cookbooks' within the directory you're executing vagrant from, you should use this value instead (without leading slash):

chef.cookbooks_path = "cookbooks"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.