Open avophile opened 9 years ago
The "Protocol error" suggests there might be an issue with the compatibility or configuration of VirtualBox Guest Additions.
Update VirtualBox Guest Additions sudo apt-get update sudo apt-get upgrade virtualbox-guest-additions-iso
Enable NFS (Network File System) as an Alternative Vagrant.configure("2") do |config| config.vm.synced_folder ".", "/vagrant", type: "nfs"
end
Make sure NFS is installed on your host machine. On Ubuntu, If not installed then run sudo apt-get install nfs-kernel-server
Now Check VirtualBox Guest Additions Version modinfo vboxguest | grep version
Reprovision Vagrant vagrant reload --provision
I could not Vagrant Up with the latest Vagrantfile. It failed while provisioning Chef with the following message:
==> default: Thank you for installing Chef! ==> default: Running provisioner: shell... default: Running: inline script ==> default: stdin: is not a tty ==> default: Running provisioner: shell... default: Running: inline script ==> default: stdin: is not a tty ==> default: /sbin/mount.vboxsf: mounting failed with the error ==> default: : Protocol error The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.