Windows中rabbitmq安装启动失败

我先是装了erlang(otp_win64_20.1),然后再装了rabbitmq(rabbitmq-server-3.6.14)
但是就是安装不成功,卸载重装了好多次,还是这样,还换了盘重装也是一样的,反正好像就是找不到本机地址。我甚至去注册表删过注册信息,但是我也不确定我删的是正确的。。然后在cmd中执行一些命令给各位大佬看看:
G:\rabbitmq\rabbitmq_server-3.6.14\sbin>rabbitmq-server start
ERROR: epmd error for host LAPTOP-A825MBMJ: address (cannot connect to host/port)

G:\rabbitmq\rabbitmq_server-3.6.14\sbin>rabbitmq-plugins enable rabbitmq_management
Plugin configuration unchanged.

Applying plugin configuration to rabbit@LAPTOP-A825MBMJ... failed.

  • Could not contact node rabbit@LAPTOP-A825MBMJ. Changes will take effect at broker restart.
  • Options: --online - fail if broker cannot be contacted. --offline - do not try to contact broker.

G:\rabbitmq\rabbitmq_server-3.6.14\sbin>rabbitmqctl status
Status of node 'rabbit@LAPTOP-A825MBMJ'
Error: unable to connect to node 'rabbit@LAPTOP-A825MBMJ': nodedown
{"init terminating in do_boot",{badarg,[{io_lib,format,["- home dir: ~s~n",[[67,58,92,85,115,101,114,115,92,29579,31435,22269]]],[{file,"io_lib.erl"},{line,170}]},{rabbit_misc,'-format_many/1-lc$^0/1-0-',1,[{file,"src/rabbit_misc.erl"},{line,670}]},{rabbit_misc,'-format_many/1-lc$^0/1-0-',1,[{file,"src/rabbit_misc.erl"},{line,670}]},{rabbit_misc,format_many,1,[{file,"src/rabbit_misc.erl"},{line,670}]},{rabbit_cli,print_badrpc_diagnostics,1,[{file,"src/rabbit_cli.erl"},{line,299}]},{rabbit_cli,main,3,[{file,"src/rabbit_cli.erl"},{line,128}]},{init,start_em,1,[{file,"init.erl"},{line,1085}]},{init,do_boot,3,[{file,"init.erl"},{line,793}]}]}}
init terminating in do_boot ({badarg,[{io_lib,format,[[_],[_]],[{_},{_}]},{rabbit_misc,-format_many/1-lc$^0/1-0-,1,[{_},{_}]},{rabbit_misc,-format_many/1-lc$^0/1-0-,1,[{_},{_}]},{rabbit_misc,format_ma

执行下面这条语句虽然可以,但是过个几十秒左右,rabbitmq服务又会自己停掉。
G:\rabbitmq\rabbitmq_server-3.6.14\sbin>net start rabbitmq
RabbitMQ 服务正在启动 .
RabbitMQ 服务已经启动成功。

希望有大佬碰到过这种情况或者知道怎么解决这个问题。是不是我卸载的不够干净比如说注册表没卸载干净,还是什么情况,求求各位大佬了。感谢感谢

rabbitmq服务又会自己停掉。

贴一下rabbitmq的日志看看。。。。。。

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.14\sbin>rabbitmqctl status
Status of node 'rabbit@LAPTOP-0VEQ03LF'
Error: unable to connect to node 'rabbit@LAPTOP-0VEQ03LF': nodedown

DIAGNOSTICS

attempted to contact: ['rabbit@LAPTOP-0VEQ03LF']

rabbit@LAPTOP-0VEQ03LF:

  • unable to connect to epmd (port 4369) on LAPTOP-0VEQ03LF: address (cannot connect to host/port)

current node details:

  • node name: 'rabbitmq-cli-54@LAPTOP-0VEQ03LF'
  • home dir: C:\Users\Garen
  • cookie hash: NkNUVXFyoD6ARztsOg2GCg==

日志:

=INFO REPORT==== 23-Nov-2017::20:38:50 ===
Starting RabbitMQ 3.6.14 on Erlang 20.1
Copyright (C) 2007-2017 Pivotal Software, Inc.
Licensed under the MPL. See http://www.rabbitmq.com/

=INFO REPORT==== 23-Nov-2017::20:38:50 ===
node : rabbit@LAPTOP-0VEQ03LF
home dir : C:\windows
config file(s) : c:/Users/Garen/AppData/Roaming/RabbitMQ/rabbitmq.config
cookie hash : NkNUVXFyoD6ARztsOg2GCg==
log : C:/Users/Garen/AppData/Roaming/RabbitMQ/log/RABBIT~1.LOG
sasl log : C:/Users/Garen/AppData/Roaming/RabbitMQ/log/RABBIT~2.LOG
database dir : c:/Users/Garen/AppData/Roaming/RabbitMQ/db/RABBIT~1

=INFO REPORT==== 23-Nov-2017::20:38:53 ===
Memory high watermark set to 6510 MiB (6826819584 bytes) of 16276 MiB (17067048960 bytes) total

=INFO REPORT==== 23-Nov-2017::20:38:53 ===
Enabling free disk space monitoring

=INFO REPORT==== 23-Nov-2017::20:38:53 ===
Disk free limit set to 50MB

=INFO REPORT==== 23-Nov-2017::20:38:53 ===
Limiting to approx 8092 file handles (7280 sockets)

=INFO REPORT==== 23-Nov-2017::20:38:53 ===
FHC read buffering: OFF
FHC write buffering: ON

=INFO REPORT==== 23-Nov-2017::20:38:53 ===
Database directory at c:/Users/Garen/AppData/Roaming/RabbitMQ/db/RABBIT~1 is empty. Initialising from scratch...

=INFO REPORT==== 23-Nov-2017::20:38:53 ===
Waiting for Mnesia tables for 30000 ms, 9 retries left

=INFO REPORT==== 23-Nov-2017::20:38:53 ===
Waiting for Mnesia tables for 30000 ms, 9 retries left

=INFO REPORT==== 23-Nov-2017::20:38:53 ===
Waiting for Mnesia tables for 30000 ms, 9 retries left

=INFO REPORT==== 23-Nov-2017::20:38:53 ===
Priority queues enabled, real BQ is rabbit_variable_queue

=INFO REPORT==== 23-Nov-2017::20:39:01 ===
Starting RabbitMQ 3.6.14 on Erlang 20.1
Copyright (C) 2007-2017 Pivotal Software, Inc.
Licensed under the MPL. See http://www.rabbitmq.com/

=INFO REPORT==== 23-Nov-2017::20:39:01 ===
node : rabbit@LAPTOP-0VEQ03LF
home dir : C:\windows
config file(s) : c:/Users/Garen/AppData/Roaming/RabbitMQ/rabbitmq.config
cookie hash : NkNUVXFyoD6ARztsOg2GCg==
log : C:/Users/Garen/AppData/Roaming/RabbitMQ/log/RABBIT~1.LOG
sasl log : C:/Users/Garen/AppData/Roaming/RabbitMQ/log/RABBIT~2.LOG
database dir : c:/Users/Garen/AppData/Roaming/RabbitMQ/db/RABBIT~1

=INFO REPORT==== 23-Nov-2017::20:39:03 ===
Memory high watermark set to 6510 MiB (6826819584 bytes) of 16276 MiB (17067048960 bytes) total

=INFO REPORT==== 23-Nov-2017::20:39:03 ===
Enabling free disk space monitoring

=INFO REPORT==== 23-Nov-2017::20:39:03 ===
Disk free limit set to 50MB

=INFO REPORT==== 23-Nov-2017::20:39:03 ===
Limiting to approx 8092 file handles (7280 sockets)

=INFO REPORT==== 23-Nov-2017::20:39:03 ===
FHC read buffering: OFF
FHC write buffering: ON

=INFO REPORT==== 23-Nov-2017::20:39:03 ===
Waiting for Mnesia tables for 30000 ms, 9 retries left

=INFO REPORT==== 23-Nov-2017::20:39:03 ===
Waiting for Mnesia tables for 30000 ms, 9 retries left

=INFO REPORT==== 23-Nov-2017::20:39:03 ===
Priority queues enabled, real BQ is rabbit_variable_queue

=INFO REPORT==== 23-Nov-2017::20:53:10 ===
Starting RabbitMQ 3.6.14 on Erlang 20.1
Copyright (C) 2007-2017 Pivotal Software, Inc.
Licensed under the MPL. See http://www.rabbitmq.com/

=INFO REPORT==== 23-Nov-2017::20:53:10 ===
node : rabbit@LAPTOP-0VEQ03LF
home dir : C:\windows
config file(s) : c:/Users/Garen/AppData/Roaming/RabbitMQ/rabbitmq.config
cookie hash : NkNUVXFyoD6ARztsOg2GCg==
log : C:/Users/Garen/AppData/Roaming/RabbitMQ/log/RABBIT~1.LOG
sasl log : C:/Users/Garen/AppData/Roaming/RabbitMQ/log/RABBIT~2.LOG
database dir : c:/Users/Garen/AppData/Roaming/RabbitMQ/db/RABBIT~1

=INFO REPORT==== 23-Nov-2017::20:53:11 ===
Memory high watermark set to 6510 MiB (6826819584 bytes) of 16276 MiB (17067048960 bytes) total

=INFO REPORT==== 23-Nov-2017::20:53:11 ===
Enabling free disk space monitoring

=INFO REPORT==== 23-Nov-2017::20:53:11 ===
Disk free limit set to 50MB

=INFO REPORT==== 23-Nov-2017::20:53:11 ===
Limiting to approx 8092 file handles (7280 sockets)

=INFO REPORT==== 23-Nov-2017::20:53:11 ===
FHC read buffering: OFF
FHC write buffering: ON

=INFO REPORT==== 23-Nov-2017::20:53:11 ===
Waiting for Mnesia tables for 30000 ms, 9 retries left

=INFO REPORT==== 23-Nov-2017::20:53:12 ===
Waiting for Mnesia tables for 30000 ms, 9 retries left

=INFO REPORT==== 23-Nov-2017::20:53:12 ===
Priority queues enabled, real BQ is rabbit_variable_queue