PDA

View Full Version : [ubuntu] Too many levels of symbolic links



subhojit
February 8th, 2012, 10:11 AM
i am getting this error while executing drush:

ls: cannot access ./bin/drush: Too many levels of symbolic links

how do i solve it?

rubylaser
February 8th, 2012, 01:33 PM
You likely have a loop in your symbolic links, so that drush is pointing back at itself like this.


ln -s /usr/local/bin/drush /bin/drush
ln -s /bin/drush /usr/local/bin/drush
./bin/drush

If this is the case, you just need to clean up the loop in the symbolic links by deleting the link that's causing the loop.