马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的小伙伴们!群里网友发来信息,说运转servicenetworkrestart时报错,毛病提醒以下:
huttingdownloopbackinte***ce:[OK]
Bringinguploopbackinte***ce:[OK]
fgrep:ifcfg-ifcfg-eth0:Nosuchfileordirectory
fgrep:ifcfg-ifcfg-eth0:Nosuchfileordirectory
fgrep:ifcfg-ifcfg-eth0:Nosuchfileordirectory
egrep:ifcfg-ifcfg-eth0:Nosuchfileordirectory
Bringingupinte***ceifcfg-eth0:./ifup:configurationforifcfg-eth0notfound.
Usage:ifup<devicename>
[FAILED]
进进/etc/sysconfig/network-script/目次,运转ls-al,显现了局以下:
-rw-r--r--.1rootroot229Apr2217:06ifcfg-eth0~
-rw-r--r--.1rootroot211Apr2309:24ifcfg-eth0
-rw-r--r--.1rootroot166Apr2216:36ifcfg-eth0~
-rw-r--r--.1rootroot254Oct102013ifcfg-lo
lrwxrwxrwx.1rootroot20Apr2117:21ifdown->../../../sbin/ifdown
-rwxr-xr-x.1rootroot627Oct102013ifdown-bnep
-rwxr-xr-x.1rootroot5430Oct102013ifdown-eth
-rwxr-xr-x.1rootroot781Oct102013ifdown-ippp
-rwxr-xr-x.1rootroot4168Oct102013ifdown-ipv6
lrwxrwxrwx.1rootroot11Apr2117:21ifdown-isdn->ifdown-ippp
-rwxr-xr-x.1rootroot1481Oct102013ifdown-post
-rwxr-xr-x.1rootroot1064Oct102013ifdown-ppp
-rwxr-xr-x.1rootroot835Oct102013ifdown-routes
-rwxr-xr-x.1rootroot1465Oct102013ifdown-sit
-rwxr-xr-x.1rootroot1434Oct102013ifdown-tunnel
lrwxrwxrwx.1rootroot18Apr2117:21ifup->../../../sbin/ifup
-rwxr-xr-x.1rootroot12444Oct102013ifup-aliases
-rwxr-xr-x.1rootroot859Oct102013ifup-bnep
-rwxr-xr-x.1rootroot10556Oct102013ifup-eth
-rwxr-xr-x.1rootroot11971Oct102013ifup-ippp
-rwxr-xr-x.1rootroot10490Oct102013ifup-ipv6
lrwxrwxrwx.1rootroot9Apr2117:21ifup-isdn->ifup-ippp
-rwxr-xr-x.1rootroot727Oct102013ifup-plip
-rwxr-xr-x.1rootroot954Oct102013ifup-plusb
-rwxr-xr-x.1rootroot2364Oct102013ifup-post
-rwxr-xr-x.1rootroot4154Oct102013ifup-ppp
-rwxr-xr-x.1rootroot1925Oct102013ifup-routes
-rwxr-xr-x.1rootroot3289Oct102013ifup-sit
-rwxr-xr-x.1rootroot2488Oct102013ifup-tunnel
-rwxr-xr-x.1rootroot3770Oct102013ifup-wireless
-rwxr-xr-x.1rootroot4623Oct102013init.ipv6-global
-rwxr-xr-x.1rootroot1125Oct102013net.hotplug
-rw-r--r--.1rootroot13386Oct102013network-functions
-rw-r--r--.1rootroot29853Oct102013network-functions-ipv6
从下面能够看到,ifcfg-eth0多了2个文件,分离是ifcfg-eth0~、ifcfg-eth0~
删除这2个文件,但删除的过程当中,ifcfg-eth0~提醒没法删除,重启后再删除。
欢迎大家来到仓酷云论坛! |