Debug output

  1. $ $ vagrant.exe up
  2. ==> default: Checking if box 'janihur/ubuntu-1404-desktop' is up to date...
  3. ==> default: Clearing any previously set network interfaces...
  4. There was an error while executing `VBoxManage`, a CLI used by Vagrant
  5. for controlling VirtualBox. The command and stderr is shown below.
  6. Command: ["modifyvm", "60a76137-2c0e-46ab-a50e-7a37a6865051", "--nic2", "none", "--nic3", "none", "--nic4", "none", "--nic5", "none", "--nic6", "none", "--nic7", "none", "--nic8", "none", "--nic9", "none", "--nic10", "none", "--nic11", "none", "--nic12", "none", "--nic13", "none", "--nic14", "none", "--nic15", "none", "--nic16", "none", "--nic17", "none", "--nic18", "none", "--nic19", "none", "--nic20", "none", "--nic21", "none", "--nic22", "none", "--nic23", "none", "--nic24", "none", "--nic25", "none", "--nic26", "none", "--nic27", "none", "--nic28", "none", "--nic29", "none", "--nic30", "none", "--nic31", "none", "--nic32", "none", "--nic33", "none", "--nic34", "none", "--nic35", "none", "--nic36", "none"]
  7. Stderr: VBoxManage.exe: error: Invalid NIC number 9
  8. VBoxManage.exe: error: Invalid NIC number 10
  9. VBoxManage.exe: error: Invalid NIC number 11
  10. VBoxManage.exe: error: Invalid NIC number 12
  11. VBoxManage.exe: error: Invalid NIC number 13
  12. VBoxManage.exe: error: Invalid NIC number 14
  13. VBoxManage.exe: error: Invalid NIC number 15
  14. VBoxManage.exe: error: Invalid NIC number 16
  15. VBoxManage.exe: error: Invalid NIC number 17
  16. VBoxManage.exe: error: Invalid NIC number 18
  17. VBoxManage.exe: error: Invalid NIC number 19
  18. VBoxManage.exe: error: Invalid NIC number 20
  19. VBoxManage.exe: error: Invalid NIC number 21
  20. VBoxManage.exe: error: Invalid NIC number 22
  21. VBoxManage.exe: error: Invalid NIC number 23
  22. VBoxManage.exe: error: Invalid NIC number 24
  23. VBoxManage.exe: error: Invalid NIC number 25
  24. VBoxManage.exe: error: Invalid NIC number 26
  25. VBoxManage.exe: error: Invalid NIC number 27
  26. VBoxManage.exe: error: Invalid NIC number 28
  27. VBoxManage.exe: error: Invalid NIC number 29
  28. VBoxManage.exe: error: Invalid NIC number 30
  29. VBoxManage.exe: error: Invalid NIC number 31
  30. VBoxManage.exe: error: Invalid NIC number 32
  31. VBoxManage.exe: error: Invalid NIC number 33
  32. VBoxManage.exe: error: Invalid NIC number 34
  33. VBoxManage.exe: error: Invalid NIC number 35
  34. VBoxManage.exe: error: Invalid NIC number 36
  35.  

Confirm the problem. It is reproduced with Windows10/Vagrant 1.8.3/VirtualBox 5.0.20 andhashicorp/precise64 box.

Looks like it is caused by the recent change "Set maximum network adapters to 36 [GH-7293GH-7286]". Indeed if change back max_network_adapters from 36 to 8 atC:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.8.3\plugins\providers\virtualbox\driver\base.rb it starts successfully.

OK, I am able to make it works by this fix:
In C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.8.0\lib\vagrant\util\platform.rb, change this method

  1. def windows_unc_path(path)
  2. "\\\\?\\" + path.gsub("/", "\\")
  3. end

to

  1. def windows_unc_path(path)
  2. path = path.gsub("/", "\\")
  3. # Check if the path is drive only (e.g D:/), then return it as-is (e.g D:\\)
  4. # since UNC format will cause Protocol error
  5. if path =~ /^[a-zA-Z]:[\\]$/
  6. return path + "\\"
  7. end
  8.  
  9. "\\\\?\\" + path
  10. end

vagrant up 报VirtualBox错误的更多相关文章

  1. virtualbox虚拟机中mysql远程连接登陆报2003错误的解决方法

    最近在virtualbox中安装了Ubuntu 14,配置了一个mysql server,设置的桥接网络模式.在其他电脑连接的时候,总是报2003错误.开始以为是localhost没有置换为%,运行u ...

  2. windows 7 下安装 vagrant + Oracle VM VirtualBox

    一.安装下准备 1.下载Oracle VM VirtualBox https://www.virtualbox.org/wiki/Downloads  (VirtualBox-4.3.22-98236 ...

  3. vagrant up报错【io.rb:32:in `encode': "\x95" followed by "\"" on GBK (Encoding::InvalidByteSequenceError)】

    vagrant up报错[io.rb:32:in `encode': "\x95" followed by """ on GBK (Encoding: ...

  4. WinServer2008R2 + IIS 7.5 + .NET4.0 经典模式 运行WebAPI程序报404错误的解决方案

    在Windows Server 2008 R2系统下,IIS 7.5 + .NET Framework 4.0的运行环境,以经典模式(Classic Mode)部署一个用.NET 4.0编译的 Web ...

  5. 启动mysql服务 报1067 错误

    启动mysql 报1067 错误         一般报1067错误,先看一下data/my.ini配置文件 中的路径 datadir ,log-bin ,log-error 报1067错误原因 多种 ...

  6. MVC中使用jquery uploadify上传图片报302错误

    使用jquery uploadify上传图片报302错误研究了半天,发现我上传的action中有根据session判断用户是否登录,如果没有登录就跳到登陆页,所以就出现了302跳转错误.原来更新了fl ...

  7. 开机报这个错误,然后 adobe软件无法使用

    开机报这个错误,然后 adobe软件无法使用 按照此方法测试,无效,在原基础如下更改   /tmp 是连接文件找到根文件(/private/tmp)删除重新给予权限,重新建立连接恢复正常 使用到的命令 ...

  8. Eclipse配置tomcat后,启动tomcat,访问tomcat报404错误

    当你在Eclipse中新建一个工程,配置好tomcat,然后测试tomcat是否配置成功的时候,报404错误异常. 解决方法: 1,把工程文件删除,重新建立一个新的工程, 2,新建一个工程. 3,Ne ...

  9. 关于oracle数据库报12505错误的问题!

    问题阐述: 导致oracle报12505错误的原因比较多,但是最可能一种原因就是客户端的监听出了问题. 解决办法: 在oracle安装目录下找到listener.ora 和 tnsnames.ora, ...

随机推荐

  1. css公共

    @charset "utf-8"; /* CSS Document */ *{ padding:; margin:; } ul,li{ list-style: none; } a{ ...

  2. js splice()

    //arrayObject.splice(index,howmany,item1,.....,itemX) 语法 //测试代码let array;array = ['George','John','T ...

  3. redis源码(八)redis-check-aof.c

    /* * Copyright (c) 2009-2012, Pieter Noordhuis <pcnoordhuis at gmail dot com> * Copyright (c) ...

  4. 【StarUML】 活动图

    StarUML中的活动图本质上是流程图,活动图相对来说,更加专业,它有对信号的处理,对状态动作.数据区别表示,使得更清晰地了解控制流的走向. 1.基本元素 a.活动状态图(Activity).动作状态 ...

  5. Centos7 安装 Cockpit

    1sudo yum -y install epel-release sudo yum -y update sudo shutdown -r now 2yum -y install cockpit sy ...

  6. STA 开篇

    时序分析=动态时序分析+静态时序分析 动态时序分析简单讲就是gate-level simulation,仿真对象是netlist+sdf,通过SDF反标,得到gate跟net的delay,通过输入大量 ...

  7. set_set_switching_activity

    set_switching_activity  -static   0.2   -toggle_rate   20 -period  1000 [all_inputs] 这时,翻转率设置的节点是输入, ...

  8. hdu 1532 Drainage Ditches(网络流)

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1532 题目大意是:农夫约翰要把多个小池塘的水通过池塘间连接的水渠排出去,从池塘1到池塘M最多可以排多少 ...

  9. Qt核心剖析:信息隐藏

    原文 http://devbean.blog.51cto.com/448512/326686 (一) 如果你阅读了 Qt 的源代码,你会看到一堆奇奇怪怪的宏,例如 Q_D,Q_Q.我们的Qt源码之旅就 ...

  10. bugku 求getshell

    要修改三个地方 根据大佬们的writeup,要修改三个地方: 1.扩展名filename 2.filename下面一行的Content-Type:image/jpeg 3.最最最重要的是请求头里的Co ...