Failed to restart network.service: Unit network.service not found.
程序员文章站
2022-03-12 07:57:21
...
【解决】Failed to restart network.service: Unit network.service not found.
输入命令时遇到了问题。
service network restart
使用systemctl restart network
或 service network restart
命令重启网卡失败。
解决:
1、可以尝试使用以下命令:
service network-manager restart
2、如果是 Kali Linux(Debian),则需要用以下命令:
service networking restart
3、如果是Centos 8,则需要用以下命令:
nmcli c reload
推荐阅读
-
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.