• 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
    要么删除掉一个文件,要么重启一下就好了

  • 相关阅读:
    js 调用 cefsharp 方法
    pytest.fixture 详解
    测试平台01概念
    JsonPath
    选股标准
    git 使用
    python 虚拟环境
    git 常用命令
    cuda C 编程资料
    tensorflow2创建卷积核Conv2D函数
  • 原文地址:https://www.cnblogs.com/wajika/p/6862479.html
Copyright © 2020-2023  润新知