无法部署最新的rabbitmq?

gwe*_*ang 6 erlang rabbitmq

我安装了erlang(erlang-20.3.7-1.el7.centos.x86_64.rpm),安装了rabbimq(rabbitmq-server-3.7.6).当我检查节点状态时,rabbitmqctl收到了粉碎消息.我丢了什么东西?很多赞美!


=INFO REPORT==== 20-Jun-2018::11:11:00.813218 ===
    application: logger
    exited: {{shutdown,
                 {failed_to_start_child,'Elixir.Logger.ErrorHandler',noproc}},
             {'Elixir.Logger.App',start,[normal,[]]}}
    type: temporary
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
Run Code Online (Sandbox Code Playgroud)

jef*_*g24 5

我刚安装rabbitmq-serverv3.7.6,如果你运行的是基于Debian的发行版,可以确保您有固定的esl-erlangerlang*包20.3.x(在这里看到更多细节).此外,确保/var/lib/rabbitmq目录属于rabbitmq用户和组.如果没有,请使用chown -R rabbitmq:rabbitmq /var/lib/rabbitmq它来修复它.最后,只需安装其中一个软件包,esl-erlang或者erlang.

我看到你键入了erlang-20.3.7-1.el7.centos.x86_64.rpm,但v20.3.x分支的最新版本是v20.3.6.请再次检查......

这里阅读与erlang/otp的rabbitmq兼容性.我已经使用上面的配置进行了测试,并且在输入后它完美运行sudo rabbitmq-ctl status.

如果成功,您可能会看到以下结果.

Status of node rabbit@eternalbox ...
[{pid,28772},
 {running_applications,
     [{rabbit,"RabbitMQ","3.7.6"},
      {mnesia,"MNESIA  CXC 138 12","4.15.3"},
      {rabbit_common,
          "Modules shared by rabbitmq-server and rabbitmq-erlang-client",
          "3.7.6"},
      {ranch_proxy_protocol,"Ranch Proxy Protocol Transport","1.5.0"},
      {ranch,"Socket acceptor pool for TCP protocols.","1.5.0"},
      {ssl,"Erlang/OTP SSL application","8.2.6"},
      {public_key,"Public key infrastructure","1.5.2"},
      {asn1,"The Erlang ASN1 compiler version 5.0.5","5.0.5"},
      {os_mon,"CPO  CXC 138 46","2.4.4"},
      {crypto,"CRYPTO","4.2.2"},
      {jsx,"a streaming, evented json parsing toolkit","2.8.2"},
      {xmerl,"XML parser","1.3.16"},
      {inets,"INETS  CXC 138 49","6.5.1"},
      {recon,"Diagnostic tools for production use","2.3.2"},
      {lager,"Erlang logging framework","3.5.1"},
      {goldrush,"Erlang event stream processor","0.1.9"},
      {compiler,"ERTS  CXC 138 10","7.1.5"},
      {syntax_tools,"Syntax tools","2.1.4"},
      {syslog,"An RFC 3164 and RFC 5424 compliant logging framework.","3.4.2"},
      {sasl,"SASL  CXC 138 11","3.1.2"},
      {stdlib,"ERTS  CXC 138 10","3.4.5"},
      {kernel,"ERTS  CXC 138 10","5.4.3"}]},
 {os,{unix,linux}},
 {erlang_version,
     "Erlang/OTP 20 [erts-9.3.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:128] [hipe] [kernel-poll:true]\n"},
 {memory,
     [{connection_readers,0},
      {connection_writers,0},
      {connection_channels,0},
      {connection_other,0},
      {queue_procs,0},
      {queue_slave_procs,0},
      {plugins,5936},
      {other_proc,19686048},
      {metrics,184824},
      {mgmt_db,0},
      {mnesia,73040},
      {other_ets,1882432},
      {binary,57352},
      {msg_index,28976},
      {code,25081646},
      {atom,1041593},
      {other_system,12953873},
      {allocated_unused,16013176},
      {reserved_unallocated,2306048},
      {strategy,rss},
      {total,[{erlang,60995720},{rss,79314944},{allocated,77008896}]}]},
 {alarms,[]},
 {listeners,[{clustering,25672,"::"},{amqp,5672,"::"}]},
 {vm_memory_calculation_strategy,rss},
 {vm_memory_high_watermark,0.4},
 {vm_memory_limit,6579339264},
 {disk_free_limit,50000000},
 {disk_free,118526930944},
 {file_descriptors,
     [{total_limit,924},{total_used,2},{sockets_limit,829},{sockets_used,0}]},
 {processes,[{limit,1048576},{used,211}]},
 {run_queue,0},
 {uptime,87},
 {kernel,{net_ticktime,60}}]
Run Code Online (Sandbox Code Playgroud)

祝好运!