CentOS Stream 8 Unit network.service not found
一、问题现象
在 CentOS Stream 8 操作系统中,配置完静态IP 信息,想重启网络服务。
执行如下命令:
systemctl restart network
提示信息如下:
Failed to restart network.service: Unit network.service not found.
二、问题原因
CentOS 8 的网络服务名称,已经由原来的 network 改为 NetworkManager
三、解决方案
1、重启网络服务
systemctl restart NetworkManager
2、重载网卡配置
nmcli c reload
3、查看网络服务状态
systemctl status NetworkManager
- network service CentOS Stream foundnetwork service centos stream network service网卡centos7 静态centos7 service network nginx service failed found because control network service service mysql could found services network 0x02 x network service方法could centos7 command centos found autoconf command centos found