无法在 SUSE 11 上启动 RabbitMq

无法在 SUSE 11 上启动 RabbitMq

我无法在计算机上启动 rabbitmq。我无法理解它为什么无法启动。我已在此处添加了日志。

node           : rabbit@localhostapp descriptor : /export/home/common/rabbitmq/2.1.0/rabbitmq-server/scripts/../ebin/rabbit.app
home dir       : /export/home/common
cookie hash    : YnX6g+D++llq4lsfy4TwsA==
log            : /export/home/common/rabbitmq/current/rabbitmq-server/log/[email protected]
sasl log       : /export/home/common/rabbitmq/current/rabbitmq-server/log/[email protected]
database dir   : /export/home/common/rabbitmq/current/rabbitmq-server/mnesia/rabbit@localhost
erlang version : 5.8.1

starting file handle cache server                                     ...done
starting worker pool                                                  ...done
starting database                                                     ...BOOT ERROR: FAILED
Reason: {function_clause,[{lists,usort,
                                 [{[rabbit@localhost],
                                   [rabbit@localhost]}]},
                          {rabbit_mnesia,init_db,2},
                          {rabbit_mnesia,init,0},
                          {rabbit,'-run_boot_step/1-lc$^1/1-1-',1},
                          {rabbit,run_boot_step,1},
                          {rabbit,'-start/2-lc$^0/1-0-',1},
                          {rabbit,start,2},
                          {application_master,start_it_old,4}]}
Erlang has closed
{"Kernel pid terminated",application_controller,"{application_start_failure,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{rabbit,failure_during_boot}}}}}"}

Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{rabbit,failure_during_boot}}}}})

答案1

有几种可能性,但迄今为止最可能的原因是您为 mnesia 数据库文件配置的目录(或默认设置)不能由您以 Rabbitmq 身份运行的用户写入。

相关内容