When I run this command sudo systemctl enable redis to enable redis on boot I get this Failed to execute operation: Too many levels of symbolic links

I have followed this tutorial step by step.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

I was getting this issue as well after following the same tutorial. I found I had an older version of redis previously installed that had created a redis-server.service file which specified an alias for itself of redis.service.

I ran sudo apt-get purge –auto-remove redis-server and then ran back through the tutorial steps. It’s possible I could have gotten away with just re-inserting my redis.conf file, since it was gone after the purge. But given that I redid everything, I couldn’t say for certain.