zoukankan      html  css  js  c++  java
  • vagrant up ----失败 问题解决

    命令行启动提示信息

    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(DeviceVBoxDrvStub) failed: 0xc000000034
    STATUS_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 FilesOracleVirtualBoxdriversvboxdrv, 右击VBoxDrv.inf,选安装
    然后重启电脑就可以正常运行了
  • 相关阅读:
    xml序列化
    C#.NET对象深拷贝
    C++的函数传参
    hubilder热更新
    qrcode加背景图
    js点击屏幕出现文字
    JS实现搜索匹配功能
    FiraCode字体(好看的字体)
    基于PHP和JS的AES相互加密解密方法详解(CryptoJS)
    常见的正则匹配
  • 原文地址:https://www.cnblogs.com/humiao-0626/p/11165477.html
Copyright © 2011-2022 走看看