Redis: Failed to execute operation: Too many levels of symbolic links

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.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.