zoukankan      html  css  js  c++  java
  • fgrep: ifcfg-ifcfg-eth0: No such file or directory

    [root@localhost ~]# service network restart
    fgrep: ifcfg-ifcfg-eth0: No such file or directory
    fgrep: ifcfg-ifcfg-eth0: No such file or directory
    Shutting down interface eth0:  [  OK  ]
    Shutting down interface eth1:  [  OK  ]
    /etc/init.d/network: line 234: ifcfg-ifcfg-eth0: No such file or directory
    Shutting down loopback interface:  [  OK  ]
    Bringing up loopback interface:  [  OK  ]
    Bringing up interface eth0:  [  OK  ]
    Bringing up interface eth1:  
    [  OK  ]
    fgrep: ifcfg-ifcfg-eth0: No such file or directory
    fgrep: ifcfg-ifcfg-eth0: No such file or directory
    fgrep: ifcfg-ifcfg-eth0: No such file or directory
    egrep: ifcfg-ifcfg-eth0: No such file or directory
    Bringing up interface ifcfg-eth0:  [  OK  ]
    登陆进去查看配置文件
    ls /etc/sysconfig/network-scripts/
    ifcfg-eth0   ifcfg-eth0
    要么删除掉一个文件,要么重启一下就好了

  • 相关阅读:
    Oracle解除死锁
    观察者模式
    观察者模式
    第一个go程序
    第一个go程序
    Jersey处理表单Post信息
    Jersey处理表单Post信息
    JS获取操作系统及浏览器信息
    JS获取操作系统及浏览器信息
    Linux常用命令
  • 原文地址:https://www.cnblogs.com/wajika/p/6862479.html
Copyright © 2011-2022 走看看