不能运行 vagrant up on laravel homestead all suddenly
Can't run vagrant up on laravel homestead all of a sudden
我已经 运行 laravel 并且使用 vagrant 有一段时间了。我最近做了 vagrant destroy
从全新安装重新加载,现在我根本无法加载该框。我试过从头开始卸载和重新安装 Virtualbox、vagrant 和 homestead(我正在使用 composer 来安装它以进行特定于项目的安装)。我已确保在 Mac 的安全设置中启用 Oracle。我完全不知所措,因为错误消息非常无用,而且我在网上什么也找不到。
所有版本:
- Mac OS 大苏尔:11.1
- 流浪汉:2.2.14
- 盒子版本:laravel/homestead(virtualbox,9.7.2)
- 虚拟盒子:6.1.16
运行vagrant up
的结果
❯ vagrant up
Bringing machine 'tools-ui' up with 'virtualbox' provider...
==> tools-ui: Importing base box 'laravel/homestead'...
==> tools-ui: Matching MAC address for NAT networking...
==> tools-ui: Checking if box 'laravel/homestead' version '9.7.2' is up to date...
==> tools-ui: Setting the name of the VM: tools-ui
==> tools-ui: Clearing any previously set network interfaces...
==> tools-ui: Preparing network interfaces based on configuration...
tools-ui: Adapter 1: nat
tools-ui: Adapter 2: hostonly
==> tools-ui: Forwarding ports...
tools-ui: 80 (guest) => 8000 (host) (adapter 1)
tools-ui: 443 (guest) => 44300 (host) (adapter 1)
tools-ui: 3306 (guest) => 33060 (host) (adapter 1)
tools-ui: 4040 (guest) => 4040 (host) (adapter 1)
tools-ui: 5432 (guest) => 54320 (host) (adapter 1)
tools-ui: 8025 (guest) => 8025 (host) (adapter 1)
tools-ui: 9600 (guest) => 9600 (host) (adapter 1)
tools-ui: 27017 (guest) => 27017 (host) (adapter 1)
tools-ui: 9200 (guest) => 9200 (host) (adapter 1)
tools-ui: 22 (guest) => 2222 (host) (adapter 1)
==> tools-ui: Running 'pre-boot' VM customizations...
==> tools-ui: Booting VM...
==> tools-ui: Waiting for machine to boot. This may take a few minutes...
tools-ui: SSH address: 127.0.0.1:2222
tools-ui: SSH username: vagrant
tools-ui: SSH auth method: private key
tools-ui: Warning: Connection reset. Retrying...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'aborted' state. Please verify everything is configured
properly and try again.
If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.
The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue.
我查看了 VirtualBox 日志,但似乎没有任何用处...很高兴 post 如果您需要它们。
原来,这是由我最近安装的 Intel Power Gadget (https://software.intel.com/content/www/us/en/develop/articles/intel-power-gadget.html) 引起的。卸载并重新启动解决了问题。
我已经 运行 laravel 并且使用 vagrant 有一段时间了。我最近做了 vagrant destroy
从全新安装重新加载,现在我根本无法加载该框。我试过从头开始卸载和重新安装 Virtualbox、vagrant 和 homestead(我正在使用 composer 来安装它以进行特定于项目的安装)。我已确保在 Mac 的安全设置中启用 Oracle。我完全不知所措,因为错误消息非常无用,而且我在网上什么也找不到。
所有版本:
- Mac OS 大苏尔:11.1
- 流浪汉:2.2.14
- 盒子版本:laravel/homestead(virtualbox,9.7.2)
- 虚拟盒子:6.1.16
运行vagrant up
❯ vagrant up
Bringing machine 'tools-ui' up with 'virtualbox' provider...
==> tools-ui: Importing base box 'laravel/homestead'...
==> tools-ui: Matching MAC address for NAT networking...
==> tools-ui: Checking if box 'laravel/homestead' version '9.7.2' is up to date...
==> tools-ui: Setting the name of the VM: tools-ui
==> tools-ui: Clearing any previously set network interfaces...
==> tools-ui: Preparing network interfaces based on configuration...
tools-ui: Adapter 1: nat
tools-ui: Adapter 2: hostonly
==> tools-ui: Forwarding ports...
tools-ui: 80 (guest) => 8000 (host) (adapter 1)
tools-ui: 443 (guest) => 44300 (host) (adapter 1)
tools-ui: 3306 (guest) => 33060 (host) (adapter 1)
tools-ui: 4040 (guest) => 4040 (host) (adapter 1)
tools-ui: 5432 (guest) => 54320 (host) (adapter 1)
tools-ui: 8025 (guest) => 8025 (host) (adapter 1)
tools-ui: 9600 (guest) => 9600 (host) (adapter 1)
tools-ui: 27017 (guest) => 27017 (host) (adapter 1)
tools-ui: 9200 (guest) => 9200 (host) (adapter 1)
tools-ui: 22 (guest) => 2222 (host) (adapter 1)
==> tools-ui: Running 'pre-boot' VM customizations...
==> tools-ui: Booting VM...
==> tools-ui: Waiting for machine to boot. This may take a few minutes...
tools-ui: SSH address: 127.0.0.1:2222
tools-ui: SSH username: vagrant
tools-ui: SSH auth method: private key
tools-ui: Warning: Connection reset. Retrying...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'aborted' state. Please verify everything is configured
properly and try again.
If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.
The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue.
我查看了 VirtualBox 日志,但似乎没有任何用处...很高兴 post 如果您需要它们。
原来,这是由我最近安装的 Intel Power Gadget (https://software.intel.com/content/www/us/en/develop/articles/intel-power-gadget.html) 引起的。卸载并重新启动解决了问题。