【发布时间】:2021-01-14 13:49:51
【问题描述】:
我已经运行 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 日志,但似乎没有任何用处...如果您需要,很乐意发布这些日志。
【问题讨论】:
标签: laravel vagrant virtualbox homestead