zoukankan      html  css  js  c++  java
  • vagrant up 启动虚拟机报错

    一、vagrant 启动突然报错信息为:

    Bringing machine 'default' up with 'virtualbox' provider...
    Your VM has become "inaccessible." Unfortunately, this is a critical error
    with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBo
    x
    and clear out your inaccessible virtual machines or find a way to fix
    them.

    附 vagrant 相关环境为:

    1、VirtualBox-4.3.10-93012-Win.exe
    2、vagrant_1.7.4.msi
    3、centos-6.5_chef_64.box
    4、putty_V0.63.0.0.43510830.exe
     
    二、解决方式:
    重命名.vagrant 目录为  .vagrant.old 
    然后重新启动 vagrant up,还是报错:
    Vagrant assumes that this means the command failed!
    ARPCHECK=no /sbin/ifup eth1 2> /dev/null
    Stdout from the command:
    Device eth1 does not seem to be present, delaying initialization.
    Stderr from the command:
     
    然后 进虚拟机 virtual(virtual box 中直接选中centos 点启动),
    用 vagrant 用户登录,(或者直接用 root 密码为 vagrant 登录 ),sudo su 转 root ,
    然后 rm -rf /etc/udev/rules.d/70-persistant-net.rules ,删掉这个文件, service iptables stop ,关闭防火墙,
    重新 vagrant reload ,即可拼通 192.168.33.10
  • 相关阅读:
    hibernate hql
    数据库锁机制
    Spring 事物管理
    spring自动代理
    spring 其它增强类型
    spring
    mybatis动态sql
    SSH注解整合
    ssh整合
    错题解析
  • 原文地址:https://www.cnblogs.com/wjq310/p/5995821.html
Copyright © 2011-2022 走看看