Search code examples
redisubuntu-16.04servicestack.redis

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


I Installed Redis Server on ubuntu 16.04. but when I try to start the redis service using

$ sudo systemctl start redis

I receive message:

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

I don't have any idea about this error.


Solution

  • I found the solution. I think it will help for others | systemctl unmask servicename

    $ sudo systemctl unmask  redis-server.service