[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
要么删除掉一个文件,要么重启一下就好了
相关文章
- 解决 Linux error while loading shared libraries: cannot open shared object file: No such file or directory
- ImportError: .9.0: cannot open shared object file: No such file or directory
- Android on Android, open failed: ENOENT (No such file or directory)
- : : open failed: ENOENT (No such file or directory)
- 错误:: open failed: ENOENT (No such file or directory)
- failed to open stream: No such file or directory 报错解决方法
- command ‘ ‘ failed: No such file or directory 有效解决办法
- [Python]mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
- fatal error C1083: 无法打开包括文件:“stdint.h”: No such file or directory
- Python 安装zbar-py时出现 无法打开包括文件: “unistd.h” no such file or directory