二维码

network start (code=exited, status=1/FAILURE)

1148 人阅读 | 时间:2021年12月07日 16:00

今天解决了一个网卡问题,在此分享一下,作为备忘录

$>systemctl status network.service ,输出:

 network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2017-05-05 17:34:58 CST; 4min 48s ago
Docs: man:systemd-sysv-generator(8)
Process: 5470 ExecStop=/etc/rc.d/init.d/network stop (code=exited, status=0/SUCCESS)
Process: 5668 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
May 05 17:34:57 head systemd[1]: Starting LSB: Bring up/down networking...
May 05 17:34:58 head network[5668]: Bringing up loopback interface: [ OK ]
May 05 17:34:58 head network[5668]: Bringing up interface enp0s3: Connection successfully activated (D-Bus a...ion/4)
May 05 17:34:58 head network[5668]: [ OK ]
May 05 17:34:58 head network[5668]: Bringing up interface enp0s8: Error: Connection activation failed: No su...ction.
May 05 17:34:58 head network[5668]: [FAILED]
May 05 17:34:58 head systemd[1]: network.service: control process exited, code=exited status=1
May 05 17:34:58 head systemd[1]: Failed to start LSB: Bring up/down networking.
May 05 17:34:58 head systemd[1]: Unit network.service entered failed state.
May 05 17:34:58 head systemd[1]: network.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
ifup也起不来
$> ifup enp0s8
Error: Connection activation failed: No suitable device found for this connection.

网上搜了一通,然并卵,发现虚拟机右上角只能显示一个网卡,另一个显示不出来

network start (code=exited, status=1/FAILURE)

接入网线选项没勾上!

选上之后重启网卡,一切ok(无须重启机器)。


©著作权归作者所有:来自ZhiKuGroup博客作者没文化的原创作品,如需转载,请注明出处,否则将追究法律责任 来源:ZhiKuGroup博客,欢迎分享。

评论专区
  • 昵 称必填
  • 邮 箱选填
  • 网 址选填
◎已有 0 人评论
搜索
作者介绍
30天热门
×
×
本站会员尊享VIP特权,现在就加入我们吧!登录注册×
»
会员登录
新用户注册
×
会员注册
已有账号登录
×