当我尝试执行“vagrant up”命令时,出现以下错误:
---------------------------
VBoxHeadless.exe - Application Error
---------------------------
The instruction at 0x00007FFDEFEACD38 referenced memory at 0x0000000000003CB0. The memory could not be read.
Click on OK to terminate the program
---------------------------
OK
---------------------------
这是控制台输出日志:
vagrant up
Bringing machine 'absolute-mysql' up with 'virtualbox' provider...
Bringing machine 'absolute' up with 'virtualbox' provider...
==> absolute-mysql: Checking if box 'ubuntu/trusty64' is up to date...
==> absolute-mysql: A newer version of the box 'ubuntu/trusty64' is available! You currently
==> absolute-mysql: have version '20171019.0.0'. The latest is version '20171205.0.1'. Run
==> absolute-mysql: `vagrant box update` to update.
==> absolute-mysql: Clearing any previously set forwarded ports...
==> absolute-mysql: Clearing any previously set network interfaces...
==> absolute-mysql: Preparing network interfaces based on configuration...
absolute-mysql: Adapter 1: nat
absolute-mysql: Adapter 2: hostonly
==> absolute-mysql: Forwarding ports...
absolute-mysql: 3306 (guest) => 3306 (host) (adapter 1)
absolute-mysql: 22 (guest) => 8022 (host) (adapter 1)
absolute-mysql: 22 (guest) => 2222 (host) (adapter 1)
==> absolute-mysql: Running 'pre-boot' VM customizations...
==> absolute-mysql: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "de3601aa-69df-49cb-abdf-698a1bbb91c7", "--type", "headless"]
Stderr: VBoxManage.exe: error: The VM session was aborted
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component SessionMachine, interface ISession
请告诉我是否需要提供更多信息。我在Windows 10上运行64位版本的Vagrant和VirtualBox。
absolute-mysql
盒子上还是所有你尝试运行的盒子上?另外请粘贴你的Vagrantfile
。试试以管理员权限运行cmd.exe
,然后运行vagrant up
。 - DevDio