我一直在编辑我的Vagrant文件并努力自动安装LAMP和Wordpress,突然vagrant up
,vagrant destroy
只是挂起,没有任何反馈。片刻之前它运行良好,没有问题
我虽然可能搞砸了我的Vagrantfile,但是运行一个不同的文件有完全相同的问题
我通过
切换调试export VAGRANT_LOG="debug"
现在,当我运行vagrant up
时,我得到以下内容,即使我等了半个小时它也永远不会超越"配置成功加载,最终确定并返回"有人可以帮忙吗?我已经将Vagrant和VirtualBox升级到最新版本。我正在运行OSX 10.9.2
INFO global: Vagrant version: 1.6.2
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_EXECUTABLE="/Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.2/bin/vagrant"
INFO global: VAGRANT_LOG="debug"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_DETECTED_OS="Darwin"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
INFO global: Plugins:
INFO global: - addressable = 2.3.6
INFO global: - multipart-post = 2.0.0
INFO global: - faraday = 0.9.0
INFO global: - berkshelf-api-client = 1.2.0
INFO global: - buff-extensions = 0.5.0
INFO global: - hashie = 2.1.1
INFO global: - varia_model = 0.3.2
INFO global: - buff-config = 0.4.0
INFO global: - buff-ruby_engine = 0.1.0
INFO global: - buff-shell_out = 0.1.1
INFO global: - hitimes = 1.2.1
INFO global: - timers = 2.0.0
INFO global: - celluloid = 0.16.0.pre
INFO global: - nio4r = 1.0.0
INFO global: - celluloid-io = 0.16.0.pre
INFO global: - minitar = 0.5.4
INFO global: - sawyer = 0.5.4
INFO global: - octokit = 3.1.0
INFO global: - retryable = 1.3.5
INFO global: - buff-ignore = 1.1.1
INFO global: - erubis = 2.7.0
INFO global: - json = 1.8.1
INFO global: - mixlib-log = 1.6.0
INFO global: - mixlib-authentication = 1.3.0
INFO global: - net-http-persistent = 2.9.4
INFO global: - semverse = 1.1.0
INFO global: - ridley = 3.1.0
INFO global: - dep-selector-libgecode = 1.0.0
INFO global: - ffi = 1.9.3
INFO global: - dep_selector = 1.0.3
INFO global: - solve = 1.2.0
INFO global: - thor = 0.19.1
INFO global: - berkshelf = 3.1.1
INFO global: - bundler = 1.6.2
INFO global: - mime-types = 2.2
INFO global: - rest-client = 1.6.7
INFO global: - vagrant-berkshelf = 2.0.1
INFO global: - vagrant-hostmanager = 1.4.0
INFO global: - vagrant-login = 1.0.1
INFO global: - vagrant-omnibus = 1.4.1
INFO global: - vagrant-share = 1.0.1
...
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command []
DEBUG command: 'Up' each target VM...
INFO loader: Set :root = #<Pathname:/Users/dantagg/code/connected_wp/Vagrant-LAMP-Stack/Vagrantfile>
DEBUG loader: Populating proc cache for #<Pathname:/Users/dantagg/code/connected_wp/Vagrant-LAMP-Stack/Vagrantfile>
DEBUG loader: Load procs for pathname: /Users/dantagg/code/connected_wp/Vagrant-LAMP-Stack/Vagrantfile
INFO loader: Loading configuration in order: [:home, :root]
DEBUG loader: Loading from: root (evaluating)
DEBUG provisioner: Provisioner defined: hostmanager
DEBUG provisioner: Provisioner defined: chef_solo
DEBUG loader: Configuration loaded successfully, finalizing and returning
答案 0 :(得分:0)
这是一个锁定文件
Berksfile.lock
导致了这个问题。