2017-12-18 9 views
1

저는 Windows 시스템에서 RabbitMQ를 배우고 설치하기 시작했습니다.RabbitMQ를 시작하지 못했습니다. TCP 연결이 성공했지만 Erlang 배포가 실패했습니다.

기본 폴더가 아니라 사용자 지정 폴더에 Erlang VM과 RabbitMQ를 설치합니다 (둘 다).

그럼 컴퓨터를 다시 시작했습니다.

rabbitmqctl status

그러나 반환 : 그런데

는 내 컴퓨터의 이름은 "NULL"는 RabbitMQ에


I의 CD/ 폴더 sbin에 사용할 명령입니다 메시지 :

Status of node [email protected] ...

Error: unable to perform an operation on node '[email protected]'. Please see diagnostics information and suggestions below.

Most common reasons for this are:

  • Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
  • CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
  • Target node is not running

In addition to the diagnostics info below:

DIAGNOSTICS

attempted to contact: [[email protected]]

[email protected]:

  • connected to epmd (port 4369) on NULL
  • epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traffic
  • TCP connection succeeded but Erlang distribution failed

  • Authentication failed (rejected by the remote node), please check the Erlang cookie

Current node details:

  • node name: [email protected]
  • effective user's home directory: C:\Users\Jerry Song
  • Erlang cookie hash: 51gvGHZpn0gIK86cfiS7vp==
,210

내가 RabbitMQ를 다시 시작하려고, 나는 무엇을 얻을 수 있습니다 :

ERROR: node with name "rabbit" already running on "NULL"


By the way,My Computer name is "NULL" And I have enable all ports in firewall.

+0

> Erlang VM과 RabbitMQ를 기본 폴더가 아닌 사용자 지정 폴더에 설치합니다 (둘 다). –

답변

0

내가 기본 설정 foler

를 사용 하여 내 컴퓨터에있는 RabbitMQ를 다시 설치해야

다음 명령으로 확인하십시오 :

rabbitmqctl status

그것은, 얼랑 VM의 문제가 아니라. 내가 지금 밖으로 찾을 수있는

그것은 (이 같은) 몇 가지 문제가 발생합니다 (수단 어 다른 foler에 설치할 수 있습니다) 지금 작동 사람이 그것을 발견하면, 당신이 왜, 어떻게 해결을 가르쳐 수 있기를 바랍니다

: 우리는 RabbitMQ 기본 설정을 사용하지 않는 경우 foler (\ 프로그램 파일 \ RabbitMQ 서버 C)이 필요합니다.

0

https://groups.google.com/forum/#!topic/rabbitmq-users/a6sqrAUX_Fg 은 Rabbit MQ를 새로 설치할 때 쿠키가 일치하지 않는 문제를 설명합니다. 창에 쉬운 해결책은 쿠키

를 동기화하는 것입니다

또한 여기에 설명 : http://www.rabbitmq.com/clustering.html#erlang-cookie 추출물 : 20.2로 시작하는 얼랑 버전으로 , 쿠키 파일 위치는 다음과 같습니다

퍼센트 HOMEDRIVE %% HOMEPATH의 %의 .erlang.cookie HOMEDRIVE 및 HOMEPATH 환경 변수가 모두 설정되어 있으면 % USERPROFILE % .erlang.cookie (일반적으로 C : \ Users \ % USERNAME % .erlang (사용자 C : \ Users \ % USERNAME % .erlang.cookie 사용자 % USERNAME % .cookie) HOMEDRIVE 및 HOMEPATH가 모두 설정되지 않은 경우 RabbitMQ Windows 서비스의 경우 - % USERPROFILE % .erlang.cookie (일반적으로 C : \ WINDOWS \ system32 \ config \ systemprofile) 요리사 즉 Windows 서비스 계정에서 사용하는 파일과 CLI 도구를 실행하는 사용자는 동기화되어야합니다.

관련 문제