Failed to start redis.service: Unit redis-server.service is masked

1.redis启动报错

systemctl start redis-server

Failed to start redis.service: Unit redis-server.service is masked

2.报错原因

systemctl 屏蔽了redis-server服务名

3.报错解决

systemctl 取消屏蔽服务名

systemctl unmask  redis-server.service

 

posted @ 2022-06-14 22:09  Leonardo-li  阅读(1987)  评论(0编辑  收藏  举报