【解决】Failed to restart network.service: Unit network.service not found.
程序员文章站
2022-03-12 07:57:39
...
问题:使用systemctl restart network 或 service network restart 命令重启网卡失败。
分析:原因其实也很简单,命令用错了,造成了找不到相应的网卡服务。
解决:
1、可以尝试使用以下命令:
service network-manager restart
2、如果是 Kali Linux(Debian),则需要用以下命令:
service networking restart
3、如果是Centos 8,则需要用以下命令:
nmcli c reload
上一篇: CentOS7 安装mysql8
下一篇: centos7安装mysql8
推荐阅读
-
ubuntu:Failed to restart network.service: Unit network.service not found.
-
Failed to restart network.service: Unit network.service not found.
-
解决Failed to restart network.service: Unit network.service not found.
-
【解决】Failed to restart network.service: Unit network.service not found.
-
Failed to restart network.service: Unit network.service not found.
-
CentOS 8 重启网络服务时报错Failed to restart network.service: Unit network.service not found.