hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.23k stars 4.43k forks source link

Unable run vagrant after install plugin vbguest and bindfs #8978

Closed ghost closed 6 years ago

ghost commented 7 years ago

Vagrant version

Vagrant 1.9.8

Virtualbox version

Virtualbox 5.1.28

Host operating system

Windows 10 64 Bit

Guest operating system

Ubuntu and Centos

Vagrantfile

Vagrant.configure("2") do |config|

  config.vm.box = "centos/7"
  config.vm.hostname = "cetitbase"

  config.vm.network :private_network, ip: "192.168.10.102"
  config.vm.network :public_network, ip: "192.168.1.102", bridge: nil
  config.vm.network "forwarded_port", guest: 80, host: 8000, auto_correct: true
  config.vm.network "forwarded_port", guest: 443, host: 44300, auto_correct: true
  config.vm.network "forwarded_port", guest: 3306, host: 33060, auto_correct: true
  config.vm.network "forwarded_port", guest: 5432, host: 54320, auto_correct: true

  config.vm.provider "virtualbox" do |vb|
    vb.name = "cetitbase"
    vb.customize ["modifyvm", :id, "--memory", "1024"]
    vb.customize ["modifyvm", :id, "--cpus", "1"]
    vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
    vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
    vb.customize ["modifyvm", :id, "--ostype", "Ubuntu_64"]
  end

  config.vm.synced_folder "../www", "/home/vagrant/www"

end

Debug output


 INFO global: Vagrant version: 1.9.8
 INFO global: Ruby version: 2.3.4
 INFO global: RubyGems version: 2.5.2
 INFO global: VAGRANT_DETECTED_ARCH="64"
 INFO global: VAGRANT_DETECTED_OS="msys"
 INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-1.9.8\\bin\\vagrant"
 INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\Vagrant\\embedded"
 INFO global: VAGRANT_INSTALLER_ENV="1"
 INFO global: VAGRANT_INSTALLER_VERSION="2"
 INFO global: VAGRANT_LOG="debug"
 INFO global: VAGRANT_OLD_ENV_="::=::\\"
 INFO global: VAGRANT_OLD_ENV_ACLOCAL_PATH="C:\\Program Files\\Git\\mingw64\\share\\aclocal;C:\\Program Files\\Git\\usr\\share\\aclocal"
 INFO global: VAGRANT_OLD_ENV_ALLUSERSPROFILE="C:\\ProgramData"
 INFO global: VAGRANT_OLD_ENV_ANDROID_HOME="D:\\Android\\sdk"
 INFO global: VAGRANT_OLD_ENV_APPDATA="C:\\Users\\votha\\AppData\\Roaming"
 INFO global: VAGRANT_OLD_ENV_COMMONPROGRAMFILES="C:\\Program Files\\Common Files"
 INFO global: VAGRANT_OLD_ENV_CommonProgramFiles(x86)="C:\\Program Files (x86)\\Common Files"
 INFO global: VAGRANT_OLD_ENV_CommonProgramW6432="C:\\Program Files\\Common Files"
 INFO global: VAGRANT_OLD_ENV_COMPUTERNAME="DESKTOP-H9HT61G"
 INFO global: VAGRANT_OLD_ENV_COMSPEC="C:\\Windows\\system32\\cmd.exe"
 INFO global: VAGRANT_OLD_ENV_CONFIG_SITE="C:/Program Files/Git/mingw64/etc/config.site"
 INFO global: VAGRANT_OLD_ENV_DISPLAY="needs-to-be-defined"
 INFO global: VAGRANT_OLD_ENV_EXEPATH="C:\\Program Files\\Git"
 INFO global: VAGRANT_OLD_ENV_FPS_BROWSER_APP_PROFILE_STRING="Internet Explorer"
 INFO global: VAGRANT_OLD_ENV_FPS_BROWSER_USER_PROFILE_STRING="Default"
 INFO global: VAGRANT_OLD_ENV_HOME="C:\\Users\\votha"
 INFO global: VAGRANT_OLD_ENV_HOMEDRIVE="C:"
 INFO global: VAGRANT_OLD_ENV_HOMEPATH="\\Users\\votha"
 INFO global: VAGRANT_OLD_ENV_HOSTNAME="DESKTOP-H9HT61G"
 INFO global: VAGRANT_OLD_ENV_INFOPATH="C:\\Program Files\\Git\\usr\\local\\info;C:\\Program Files\\Git\\usr\\share\\info;C:\\Program Files\\Git\\usr\\info;C:\\Program Files\\Git\\share\\info"
 INFO global: VAGRANT_OLD_ENV_JAVA_HOME="C:\\Program Files\\Java\\jdk1.8.0_144"
 INFO global: VAGRANT_OLD_ENV_LANG="en_US.UTF-8"
 INFO global: VAGRANT_OLD_ENV_LOCALAPPDATA="C:\\Users\\votha\\AppData\\Local"
 INFO global: VAGRANT_OLD_ENV_LOGONSERVER="\\\\DESKTOP-H9HT61G"
 INFO global: VAGRANT_OLD_ENV_MANPATH="C:\\Program Files\\Git\\mingw64\\share\\man;C:\\Program Files\\Git\\usr\\local\\man;C:\\Program Files\\Git\\usr\\share\\man;C:\\Program Files\\Git\\usr\\man;C:\\Program Files\\Git\\share\\man"
 INFO global: VAGRANT_OLD_ENV_MINGW_CHOST="x86_64-w64-mingw32"
 INFO global: VAGRANT_OLD_ENV_MINGW_PACKAGE_PREFIX="mingw-w64-x86_64"
 INFO global: VAGRANT_OLD_ENV_MINGW_PREFIX="C:/Program Files/Git/mingw64"
 INFO global: VAGRANT_OLD_ENV_MOZ_PLUGIN_PATH="C:\\Program Files (x86)\\Foxit Software\\Foxit Reader\\plugins\\"
 INFO global: VAGRANT_OLD_ENV_MSYSTEM="MINGW64"
 INFO global: VAGRANT_OLD_ENV_MSYSTEM_CARCH="x86_64"
 INFO global: VAGRANT_OLD_ENV_MSYSTEM_CHOST="x86_64-w64-mingw32"
 INFO global: VAGRANT_OLD_ENV_MSYSTEM_PREFIX="C:/Program Files/Git/mingw64"
 INFO global: VAGRANT_OLD_ENV_NUMBER_OF_PROCESSORS="4"
 INFO global: VAGRANT_OLD_ENV_OLDPWD="C:/Users/votha"
 INFO global: VAGRANT_OLD_ENV_OneDrive="C:\\Users\\votha\\OneDrive"
 INFO global: VAGRANT_OLD_ENV_ORIGINAL_PATH="C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\votha\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\Intel\\iCLS Client;C:\\Program Files\\Intel\\iCLS Client;C:\\Program Files (x86)\\Razer Chroma SDK\\bin;C:\\Program Files\\Razer Chroma SDK\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Users\\votha\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\VisualSVN Server\\bin;C:\\Program Files (x86)\\Skype\\Phone;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\nodejs;$JAVA_HOME$\\bin;C:\\HashiCorp\\Vagrant\\bin;C:\\Users\\votha\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\votha\\AppData\\Roaming\\npm;C:\\Users\\votha\\AppData\\Local\\atom\\bin"
 INFO global: VAGRANT_OLD_ENV_ORIGINAL_TEMP="C:/Users/votha/AppData/Local/Temp"
 INFO global: VAGRANT_OLD_ENV_ORIGINAL_TMP="C:/Users/votha/AppData/Local/Temp"
 INFO global: VAGRANT_OLD_ENV_OS="Windows_NT"
 INFO global: VAGRANT_OLD_ENV_PATH="C:\\Users\\votha\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\local\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\votha\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\Intel\\iCLS Client;C:\\Program Files\\Intel\\iCLS Client;C:\\Program Files (x86)\\Razer Chroma SDK\\bin;C:\\Program Files\\Razer Chroma SDK\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Users\\votha\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\VisualSVN Server\\bin;C:\\Program Files (x86)\\Skype\\Phone;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\nodejs;$JAVA_HOME$\\bin;C:\\HashiCorp\\Vagrant\\bin;C:\\Users\\votha\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\votha\\AppData\\Roaming\\npm;C:\\Users\\votha\\AppData\\Local\\atom\\bin;C:\\Program Files\\Git\\usr\\bin\\vendor_perl;C:\\Program Files\\Git\\usr\\bin\\core_perl"
 INFO global: VAGRANT_OLD_ENV_PATHEXT=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
 INFO global: VAGRANT_OLD_ENV_PKG_CONFIG_PATH="C:\\Program Files\\Git\\mingw64\\lib\\pkgconfig;C:\\Program Files\\Git\\mingw64\\share\\pkgconfig"
 INFO global: VAGRANT_OLD_ENV_PLINK_PROTOCOL="ssh"
 INFO global: VAGRANT_OLD_ENV_PROCESSOR_ARCHITECTURE="AMD64"
 INFO global: VAGRANT_OLD_ENV_PROCESSOR_IDENTIFIER="Intel64 Family 6 Model 158 Stepping 9, GenuineIntel"
 INFO global: VAGRANT_OLD_ENV_PROCESSOR_LEVEL="6"
 INFO global: VAGRANT_OLD_ENV_PROCESSOR_REVISION="9e09"
 INFO global: VAGRANT_OLD_ENV_ProgramData="C:\\ProgramData"
 INFO global: VAGRANT_OLD_ENV_PROGRAMFILES="C:\\Program Files"
 INFO global: VAGRANT_OLD_ENV_ProgramFiles(x86)="C:\\Program Files (x86)"
 INFO global: VAGRANT_OLD_ENV_ProgramW6432="C:\\Program Files"
 INFO global: VAGRANT_OLD_ENV_PS1="\\[\\033]0;$TITLEPREFIX:${PWD//[^[:ascii:]]/?}\\007\\]\\n\\[\\033[32m\\]\\u@\\h \\[\\033[35m\\]$MSYSTEM \\[\\033[33m\\]\\w\\[\\033[36m\\]`__git_ps1`\\[\\033[0m\\]\\n$ "
 INFO global: VAGRANT_OLD_ENV_PSModulePath="C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules;C:\\Program Files\\VisualSVN Server\\PowerShellModules"
 INFO global: VAGRANT_OLD_ENV_PUBLIC="C:\\Users\\Public"
 INFO global: VAGRANT_OLD_ENV_PWD="D:/vagrant"
 INFO global: VAGRANT_OLD_ENV_SESSIONNAME="Console"
 INFO global: VAGRANT_OLD_ENV_SHELL="C:\\Program Files\\Git\\usr\\bin\\bash.exe"
 INFO global: VAGRANT_OLD_ENV_SHLVL="1"
 INFO global: VAGRANT_OLD_ENV_SSH_ASKPASS="C:/Program Files/Git/mingw64/libexec/git-core/git-gui--askpass"
 INFO global: VAGRANT_OLD_ENV_SYSTEMDRIVE="C:"
 INFO global: VAGRANT_OLD_ENV_SYSTEMROOT="C:\\Windows"
 INFO global: VAGRANT_OLD_ENV_TEMP="C:\\Users\\votha\\AppData\\Local\\Temp"
 INFO global: VAGRANT_OLD_ENV_TERM="xterm"
 INFO global: VAGRANT_OLD_ENV_TMP="C:\\Users\\votha\\AppData\\Local\\Temp"
 INFO global: VAGRANT_OLD_ENV_TMPDIR="C:\\Users\\votha\\AppData\\Local\\Temp"
 INFO global: VAGRANT_OLD_ENV_USERDOMAIN="DESKTOP-H9HT61G"
 INFO global: VAGRANT_OLD_ENV_USERDOMAIN_ROAMINGPROFILE="DESKTOP-H9HT61G"
 INFO global: VAGRANT_OLD_ENV_USERNAME="votha"
 INFO global: VAGRANT_OLD_ENV_USERPROFILE="C:\\Users\\votha"
 INFO global: VAGRANT_OLD_ENV_VBOX_MSI_INSTALL_PATH="C:\\Program Files\\Oracle\\VirtualBox\\"
 INFO global: VAGRANT_OLD_ENV_VISUALSVN_SERVER="C:\\Program Files\\VisualSVN Server\\"
 INFO global: VAGRANT_OLD_ENV_WINDIR="C:\\Windows"
 INFO global: VAGRANT_OLD_ENV__="C:/HashiCorp/Vagrant/bin/vagrant"
 INFO global: Plugins:
 INFO global:   - vagrant-bindfs = [installed: 1.0.9 constraint: > 0]
 INFO global:   - vagrant-share = [installed: 1.1.9 constraint: > 0]
 INFO global:   - vagrant-vbguest = [installed: 0.14.2 constraint: > 0]
DEBUG bundler: Current generated plugin dependency list: [<Gem::Dependency type=:runtime name="vagrant-bindfs" requirements="> 0">, <Gem::Dependency type=:runtime name="vagrant-share" requirements="> 0">, <Gem::Dependency type=:runtime name="vagrant-vbguest" requirements="> 0">]
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: Activating solution set: ["vagrant-bindfs-1.0.9", "ruby_dep-1.3.1", "erubis-2.7.0", "builder-3.2.3", "gyoku-1.3.1", "nori-2.6.0", "multi_json-1.12.1", "little-plugger-1.1.4", "logging-2.2.2", "rubyntlm-0.6.2", "httpclient-2.8.3", "ffi-1.9.18", "gssapi-1.2.0", "winrm-2.2.3", "rubyzip-1.2.1", "winrm-fs-1.0.1", "winrm-elevated-1.1.0", "wdm-0.1.1", "netrc-0.11.0", "mime-types-data-3.2016.0521", "mime-types-3.1", "unf_ext-0.0.7.4", "unf-0.1.4", "domain_name-0.5.20170404", "http-cookie-1.0.3", "rest-client-2.0.2", "rb-kqueue-0.2.5", "net-ssh-4.1.0", "net-scp-1.2.1", "net-sftp-2.1.2", "log4r-1.1.10", "hashicorp-checkpoint-0.1.4", "rb-inotify-0.9.10", "rb-fsevent-0.10.2", "listen-3.1.5", "i18n-0.8.0", "childprocess-0.6.3", "vagrant-1.9.8", "vagrant-share-1.1.9", "micromachine-2.0.0", "vagrant-vbguest-0.14.2"]
DEBUG bundler: Activating gem vagrant-bindfs-1.0.9
DEBUG bundler: Activating gem vagrant-share-1.1.9
DEBUG bundler: Activating gem micromachine-2.0.0
DEBUG bundler: Activating gem vagrant-vbguest-0.14.2
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/box/plugin.rb
 INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/cap/plugin.rb
 INFO manager: Registered plugin: cap command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/destroy/plugin.rb
 INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/global-status/plugin.rb
 INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/halt/plugin.rb
 INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/help/plugin.rb
 INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/init/plugin.rb
 INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/list-commands/plugin.rb
 INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/login/plugin.rb
 INFO manager: Registered plugin: vagrant-login
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/package/plugin.rb
 INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/plugin/plugin.rb
 INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/port/plugin.rb
 INFO manager: Registered plugin: port command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/powershell/plugin.rb
 INFO manager: Registered plugin: powershell command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/provider/plugin.rb
 INFO manager: Registered plugin: provider command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/provision/plugin.rb
 INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/push/plugin.rb
 INFO manager: Registered plugin: push command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/rdp/plugin.rb
 INFO manager: Registered plugin: rdp command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/reload/plugin.rb
 INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/resume/plugin.rb
 INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/snapshot/plugin.rb
 INFO manager: Registered plugin: snapshot command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/ssh/plugin.rb
 INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/ssh_config/plugin.rb
 INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/status/plugin.rb
 INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/suspend/plugin.rb
 INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/up/plugin.rb
 INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/validate/plugin.rb
 INFO manager: Registered plugin: validate command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/version/plugin.rb
 INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/communicators/ssh/plugin.rb
 INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/communicators/winrm/plugin.rb
 INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/communicators/winssh/plugin.rb
 INFO manager: Registered plugin: windows ssh communicator
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/amazon/plugin.rb
 INFO manager: Registered plugin: Amazon Linux guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/arch/plugin.rb
 INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/atomic/plugin.rb
 INFO manager: Registered plugin: Atomic Host guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/bsd/plugin.rb
 INFO manager: Registered plugin: BSD-based guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/coreos/plugin.rb
 INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/darwin/plugin.rb
 INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/debian/plugin.rb
 INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/dragonflybsd/plugin.rb
 INFO manager: Registered plugin: DragonFly BSD guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/elementary/plugin.rb
 INFO manager: Registered plugin: Elementary guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/esxi/plugin.rb
 INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/fedora/plugin.rb
 INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/funtoo/plugin.rb
 INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/kali/plugin.rb
 INFO manager: Registered plugin: Kali guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/linux/plugin.rb
 INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/mint/plugin.rb
 INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/netbsd/plugin.rb
 INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/nixos/plugin.rb
 INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/omnios/plugin.rb
 INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/openbsd/plugin.rb
 INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/photon/plugin.rb
 INFO manager: Registered plugin: VMware Photon guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/pld/plugin.rb
 INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat Enterprise Linux guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/smartos/plugin.rb
 INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/solaris/plugin.rb
 INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/solaris11/plugin.rb
 INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/suse/plugin.rb
 INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/tinycore/plugin.rb
 INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/trisquel/plugin.rb
 INFO manager: Registered plugin: Trisquel guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/ubuntu/plugin.rb
 INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/guests/windows/plugin.rb
 INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/hosts/arch/plugin.rb
 INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/hosts/bsd/plugin.rb
 INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/hosts/darwin/plugin.rb
 INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/hosts/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/hosts/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/hosts/linux/plugin.rb
 INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/hosts/null/plugin.rb
 INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/hosts/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat Enterprise Linux host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/hosts/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/hosts/suse/plugin.rb
 INFO manager: Registered plugin: SUSE host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/hosts/windows/plugin.rb
 INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/kernel_v1/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/kernel_v2/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/providers/docker/plugin.rb
 INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/providers/hyperv/plugin.rb
 INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/providers/virtualbox/plugin.rb
 INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/provisioners/ansible/plugin.rb
 INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/provisioners/cfengine/plugin.rb
 INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/provisioners/chef/plugin.rb
 INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/provisioners/docker/plugin.rb
 INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/provisioners/file/plugin.rb
 INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/provisioners/puppet/plugin.rb
 INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/provisioners/salt/plugin.rb
 INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/provisioners/shell/plugin.rb
 INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/pushes/atlas/plugin.rb
 INFO manager: Registered plugin: atlas
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/pushes/ftp/plugin.rb
 INFO manager: Registered plugin: ftp
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/pushes/heroku/plugin.rb
 INFO manager: Registered plugin: heroku
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/pushes/local-exec/plugin.rb
 INFO manager: Registered plugin: local-exec
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/pushes/noop/plugin.rb
 INFO manager: Registered plugin: noop
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/synced_folders/nfs/plugin.rb
 INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/synced_folders/rsync/plugin.rb
 INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/synced_folders/smb/plugin.rb
 INFO manager: Registered plugin: SMB synced folders
 INFO global: Loading plugins!
DEBUG global: Loading plugin `vagrant-bindfs` with default require: `vagrant-bindfs`
 INFO manager: Registered plugin: bindfs
DEBUG global: Successfully loaded plugin `vagrant-bindfs`.
DEBUG global: Loading plugin `vagrant-share` with default require: `vagrant-share`
Unable to load a protected HashiCorp script! This usually happens if
you have a broken installation of Vagrant or are attempting to run
Vagrant outside of the installer. Please install Vagrant properly and
try again. If the problem persists, then contact support.
ERROR global: Plugin loading error: SystemExit - exit
DEBUG global: C:/Users/votha/.vagrant.d/gems/2.3.4/gems/vagrant-share-1.1.9/lib/vagrant-share.rb:15:in `exit'
DEBUG global: C:/Users/votha/.vagrant.d/gems/2.3.4/gems/vagrant-share-1.1.9/lib/vagrant-share.rb:15:in `<top (required)>'
DEBUG global: C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
DEBUG global: C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
DEBUG global: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant.rb:314:in `block in <top (required)>'
DEBUG global: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant.rb:310:in `each'
DEBUG global: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant.rb:310:in `<top (required)>'
DEBUG global: C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require'
DEBUG global: C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `rescue in require'
DEBUG global: C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require'
DEBUG global: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/bin/vagrant:62:in `<main>'
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<Vagrant::Errors::PluginLoadError: The plugins failed to load properly. The error message given is
shown below.

exit>
ERROR vagrant: The plugins failed to load properly. The error message given is
shown below.

exit
ERROR vagrant: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant.rb:342:in `rescue in <top (required)>'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant.rb:308:in `<top (required)>'
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require'
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `rescue in require'
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/bin/vagrant:62:in `<main>'
Vagrant failed to initialize at a very early stage:

The plugins failed to load properly. The error message given is
shown below.

exit
votha@DESKTOP-H9HT61G MINGW64 /d/vagrant
$ vagrant
Unable to load a protected HashiCorp script! This usually happens if
you have a broken installation of Vagrant or are attempting to run
Vagrant outside of the installer. Please install Vagrant properly and
try again. If the problem persists, then contact support.
Vagrant failed to initialize at a very early stage:

The plugins failed to load properly. The error message given is
shown below.

exit

Expected behavior

I Just wanna install 2 plugin vbguest and bindfs. Becasue I have a problem when up and sync folder in virtual machine centos/7

Actual behavior

After install 2 plugin: vagrant-vbguest and vagrant-bindfs I cant run command vagrant up and it show error as above

Steps to reproduce

  1. Install vagrant and virtualbox
  2. Run command: vagrant init
  3. Install plugin vbguest and bindfs
  4. Run command: vagrant up or vagrant

Temp resolution

If I uninstall 2 plugin vbguest and bindfs, after that I run vagrant plugin expunge then I can run vagrant command

gael-ian commented 7 years ago

Hi @vothanhlien1994it

INFO global: Plugins:
INFO global: - vagrant-bindfs = [installed: 1.0.9 constraint: > 0]
INFO global: - vagrant-share = [installed: 1.1.9 constraint: > 0]
INFO global: - vagrant-vbguest = [installed: 0.14.2 constraint: > 0]
DEBUG global: Loading plugin `vagrant-share` with default require: `vagrant-share`
Unable to load a protected HashiCorp script! This usually happens if you have a broken installation of Vagrant or are attempting to run Vagrant outside of the installer. Please install Vagrant properly and try again. If the problem persists, then contact support.
ERROR global: Plugin loading error: SystemExit - exit
DEBUG global: C:/Users/votha/.vagrant.d/gems/2.3.4/gems/vagrant-share-1.1.9/lib/vagrant-share.rb:15:in `exit'
DEBUG global: C:/Users/votha/.vagrant.d/gems/2.3.4/gems/vagrant-share-1.1.9/lib/vagrant-share.rb:15:in `<top (required)>' 

Another user of vagrant-bindfs faces an issue with Vagrant 2.0.0 that can ne related to this one: vagrant-bindfs/#76

I couldn't find a lot of information about vagrant-share, except it's a private HashiCorp plugin that doesn't seem to have been updated for a long time.

Did you try to reinstall Vagrant or just the plugins? Do you face the same problem with only one of the two plugins?

I'll dig deeper as soon as I can to be sure the problem doesn't come from vagrant-bindfs.

Thanks

ghost commented 7 years ago

First. I install vagrant 2.0.0. I face a problem as above. After that, I uninstall vagrant 2.0.0, and install 1.9.8, this problem still occurs. Today I uninstall vagrant 1.9.8. Delete folder ~/.vagrant.d/ Then I re-install 2.0.0 I install plugin vbguest and run vagrant up. It's running. I continue install bindfs. and run vagrant reload. No-error happen. What's happen?

Artistan commented 6 years ago

reinstall did not help me.

This may help figure out the issues... https://gist.github.com/Artistan/199c8b6c988ad9c20fbeda5dc8218b24

chrisroberts commented 6 years ago

The origin of this error (loading of the vagrant-share plugin) should be resolved in the latest release of Vagrant (2.0.3).

Cheers!

github-actions[bot] commented 3 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.