无法启动redis.service:单元redis-server.service被屏蔽 [英] Failed to start redis.service: Unit redis-server.service is masked
本文介绍了无法启动redis.service:单元redis-server.service被屏蔽的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Ubuntu 16.04上安装了Redis Server.但是当我尝试使用
I Installed Redis Server on ubuntu 16.04. but when I try to start the redis service using
$ sudo systemctl start redis
我收到消息:
Failed to start redis.service: Unit redis-server.service is masked.
我对这个错误一无所知.
I don't have any idea about this error.
推荐答案
我找到了解决方案.我认为这对其他人有帮助| systemctl取消屏蔽服务名称
I found the solution. I think it will help for others | systemctl unmask servicename
$ sudo systemctl unmask redis-server.service
这篇关于无法启动redis.service:单元redis-server.service被屏蔽的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文