没有在Linux上运行RabbitMQ,找不到文件xmerl.app

时间:2013-07-18 13:49:20

标签: linux erlang rabbitmq opensuse

我使用OpenSUSE 12.3 我安装了erlangerlang-otp (R14B04)

我开始使用RabbitMQ ./rabbitmq-server

是一个错误:

$:/opt/rabbitmq/rabbitmq_server-3.1.3/sbin # ./rabbitmq-server


BOOT FAILED
===========

Error description:
   {error,{"no such file or directory","xmerl.app"}}

Log files (may contain more information):
   ./../var/log/rabbitmq/rabbit@testTFOMS.log
   ./../var/log/rabbitmq/rabbit@testTFOMS-sasl.log

Stack trace:
   [{app_utils,load_applications,2},
    {app_utils,load_applications,1},
    {rabbit,'-boot/0-fun-1-',0},
    {rabbit,start_it,1},
    {init,start_it,1},
    {init,start_em,1}]

{"init terminating in do_boot",{rabbit,failure_during_boot,{error,{"no such file or directory","xmerl.app"}}}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

我可以找到文件

 $:find / -name 'xmerl.app'
/usr/lib/erlang/lib/xmerl-1.2.10/ebin/xmerl.app

你需要指定它来启动程序吗?

2 个答案:

答案 0 :(得分:0)

  1. 您可以在没有xmerl的情况下启动rabbitmq吗?只是:

    应用:启动(xmerl)

  2. 尝试:

    代码:add_path(“/ usr / lib中/二郎/ LIB / xmerl-1.2.10 / EBIN /").

  3. 而不是:

    ./rabbitmq-server
    

答案 1 :(得分:0)

我下载了CentOS的rpm包并使用zypper设置它,然后启动rabbitMQ