Report this

What is the reason for this report?

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

Posted on October 1, 2018
LS1

By LS1

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.



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!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.