bug2:systemctl enable network和systemctl restart network报错
1 systemctl enable network报错2 systemctl restart network报错
实验具体操作步骤👉cloudstack安装部署
1 systemctl enable network报错
错误信息
network.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig network on
错误原因
systemctl和chkconfig,见大佬写的CentOS7中systemctl的使用
解决方法
chkconfig network on
2 systemctl restart network报错
错误信息
Job
for network.service failed because the control process exited with error code. See
"systemctl status network.service" and
"journalctl -xe" for details.
错误原因
NetworkManagerh和network这两个服务冲突
解决方法
systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl restart network