文档首页/ 弹性云服务器 ECS/ 故障排除/ 操作系统类(Linux)/ NetworkManager服务无法启动,报错:Failed to restart NetworkManager.service: Unit NetworkManager.service is masked
更新时间:2024-08-15 GMT+08:00

NetworkManager服务无法启动,报错:Failed to restart NetworkManager.service: Unit NetworkManager.service is masked

问题描述

NetworkManager启动时报错:Failed to restart NetworkManager.service: Unit NetworkManager.service is masked。

可能原因

服务单元被禁用,导致NetworkManager服务无法启动。

处理方法

执行以下命令,解除服务单元mask状态。

systemctl unmask NetworkManager