在win10下安装RabbitMQ过程中 遇到的坑与填坑
报错1:
提示:Could not start application logger: Logger.App.start(:normal, []) returned an error: shutdown: failed to start child: Logger.ErrorHandler ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
- 原因:erlang版本与RabbitMQ的版本不对应
- 解决:根据 RabbitMQ Erlang Version Requirements 这个网页检查版本
报错2:
Please either set ERLANG_HOME to point to your Erlang installation or place
- 原因:配置erlang环境后,还需要重启才能使配置生效
- 解决1:在cmd再设置环境,详情看:Please either set ERLANG_HOME to point to your Erlang installation or place
- 解决2:重启电脑
报错3:
rabbitmq-service.bat start 发生系统错误 5。拒绝访问。
- 原因:需要用管理员身份打开CMD,再执行命令
- 解决:如上。同时,为了避免再次碰到这种麻烦,我就在电脑设置了一个右键直接以管理员身份进去cmd。Win10设置右键以管理员方式打开cmd
报错4:
Status of node [email protected] ...
Error: unable to perform an operation on node '[email protected]'. Please see diagnostics information and suggestions below.
- 原因:不详
- 解决:先将C:\Users\username\.erlang.cookie 文件复制到 C:\Windows\System32\config\systemprofile 下,替换掉.erlang.cookie;再重启rabbitMQ服务:net stop RabbitMQ net start RabbitMQ
暂时这么多,还有再更新。