vagrant up ----失败 问题解决
2024-10-07 13:35:08
命令行启动提示信息
there was an error while executing `vboxmanage`, a cli used by vagrant for controlling virtualbox. the command and stderr is shown below.there was an error while executing `vboxmanage`, a cli used by vagrant for controlling virtualbox. the command and stderr is shown below.
command: ["startvm", "e3088608-a6e8-49d5-b04d-72fe944fac85", "--type", "headless"
BOX启动Ubuntu的虚拟机时,遇到错误信息:
NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034STATUS_OBJECT_NAME_NOT_FOUND (0 retries) (rc=-101)Make sure the kernel module has been loaded successfully.
问题原因:
这是没有用命令 vagrant halt正常退出虚拟机,造成的问题
解决方案:
运行“sc.exe query vboxdrv”检测vboxdrv的运行状态。 如果"STATE"不是“RUNNING”,则需要启动该服务
启动命令“sc start vboxdrv" 启动后,显示为:
如果启动失败,可以尝试重新安装vboxdrv。
找到安装目录下的vboxdrv文件夹,如C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv, 右击VBoxDrv.inf,选安装
然后重启电脑就可以正常运行了
最新文章
- spring boot(五):spring data jpa的使用
- Spring.Net 初探之牛刀小试
- 自定义属性的时候,尽量不要使用value这个命名
- 【python】list,dict赋值不要用等号,要用extend,update
- ConcurrentDictionary<;TKey, TValue>;的AddOrUpdate方法
- bzoj1296: [SCOI2009]粉刷匠
- Linux nc命令详解
- 基于visual Studio2013解决算法导论之008快速排序算法
- Retrofit相关资料
- angularjs过滤器(一)------禁止转载------
- Objective-C Runtime 运行时之三:方法与消息(转载)
- zencart url特殊字符处理
- 【JSP 标签】格式化日期
- 【iOS】OC-时间转化的时区问题
- 使用Perfect Player观看电视直播
- 对JS 的classList 简单记录
- jq的dom操作
- CentOS 6.5安装squashfs-tools
- 第5月第6天 NSOperation isConcurrent category同名覆盖
- git pull 提示 There is no tracking information for the current branch