[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
要么删除掉一个文件,要么重启一下就好了
相关文章
- 02-25pch文件出现no such file or directory错误
- 02-25tar 解压bz2报错 Cannot exec: No such file or directory
- 02-25xmanager运行报错:bash: /usr/bin/xterm: No such file or directory
- 02-25fatal error: openssl/sha.h: No such file or directory 解决方案
- 02-25fatal error: dynlink_nvcuvid.h: No such file or directory
- 02-25【Git远程协作】Pull Request成功,并解决报错error: cannot spawn sh: No such file or directory
- 02-25Git报错 error: cannot spawn more: No such file or directory
- 02-25安装homebrew错误The operation couldn’t be completed. No such file or directory Done.
- 02-25BRCM5.02编译五: fatal error: uuid/uuid.h: No such file or directory compilation terminated
- 02-25error while loading shared libraries: lib******: cannot open shared object file: No such file or directory