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

October 1, 2018 1.8k views
Redis

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.

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.

Have another answer? Share your knowledge.