Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/oop/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vagrant 漫游启动时出错:无法写入内存_Vagrant - Fatal编程技术网

Vagrant 漫游启动时出错:无法写入内存

Vagrant 漫游启动时出错:无法写入内存,vagrant,Vagrant,在尝试执行命令“vagrant up”时,我收到以下错误: 以下是控制台输出日志: 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 dat

在尝试执行命令“vagrant up”时,我收到以下错误:

以下是控制台输出日志:

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和virtual box

我也有同样的问题,希望很快会有一个bug修复

同时,我通过在VirtualBox IDE存储设置页面中附加.iso映像,而不是导致错误的“装载”对话框,成功地启动了安装过程


在VirtualBox UI中打开VM的设置,转到存储,单击IDE控制器列表中的“空”条目,然后选择屏幕右侧的磁盘图标。最后,选择“选择虚拟光盘文件”,并选择所选的.iso。然后启动虚拟机,它应该可以正常启动。

这种情况是否只发生在
绝对mysql
框或您尝试运行的所有框中?另外,请粘贴您的
vagrant文件
。试着用管理员权限运行
cmd.exe
,然后运行
vagrant up
我试着以管理员的身份运行,但没有什么不同。我还尝试创建一个测试流浪者框,每次执行“流浪者向上”命令时,我都会被蓝屏击中。可以在此处查看绝对框的文件:ThanksIt看起来该框已损坏或与您的硬件不兼容。您是否尝试升级VirtualBox?还是卸载并重新安装?此外,BIOS是否设置为启用虚拟化?
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