Too many levels of symbolic links 问题

Posted wwlww

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Too many levels of symbolic links 问题相关的知识,希望对你有一定的参考价值。

Too many levels of symbolic links 问题
 

使用npm安装pm2 ,发现不能全局使用pm2, 于是想到去 

ln -s node_modules/pm2/bin/pm2  /usr/bin/pm2 

但是当执行pm2 命令的时候, 发现出现 Too many levels of symbolic links 问题 

原来/usr/bin目录下的pm2指向的是./pm2,因此,在做ln的时候只要将文件的完整目录写上去即可:

ln -s /etc/node_modules/pm2/bin/pm2  /usr/bin/pm2

以上是关于Too many levels of symbolic links 问题的主要内容,如果未能解决你的问题,请参考以下文章

hadoop.docker.up.problems: Too many levels of symbolic links

解决 ln -s 软链接产生的Too many levels of symbolic links错误

-bash: /usr/bin/mvn: Too many levels of symbolic links

报错“-bash: /usr/local/bin/node: Too many levels of symbolic links“

baksmali反编译出现:UNEXPECTED TOP-LEVEL ERROR:....Too many open files

Data source rejected establishment of connection, message from server: "Too many connectio