[erlang-questions] trying to run RabbitMQ on RB411

bino@REDACTED bino@REDACTED
Fri Mar 14 03:14:58 CET 2014


Dear All

I try to compile and run RabbitMQ in OpenWRT on RouterBoard411.

My step is
1. Download rabbitmq Source, and compile it per
http://wiki.openwrt.org/doc/devel/crosscompile
2. Download rabbitmq 'Generix-linux' and extract to another directory
3. Replace sub directory 'ebin' and 'plugins' of #2 from
same-sub-directories of #1.
4. scp #2 (with new content) to my Openwrt.
5. run rabbitMQ on my openwrt per
http://www.rabbitmq.com/install-generic-unix.html

6. Results :
a. I got console error report :
----------------
root@REDACTED:~/generic01# sbin/rabbitmq-server
{error_logger,{{2014,3,13},{14,43,17}},"Error when reading
/root/.erlang.cookie: einval",[]}
{error_logger,{{2014,3,13},{14,43,17}},crash_report,[[{initial_call,{auth,init,['Argument__}
{error_logger,{{2014,3,13},{14,43,17}},supervisor_report,[{supervisor,{local,net_sup}},{err}
{error_logger,{{2014,3,13},{14,43,17}},supervisor_report,[{supervisor,{local,kernel_sup}},{}
{error_logger,{{2014,3,13},{14,43,17}},crash_report,[[{initial_call,{application_master,ini}
{error_logger,{{2014,3,13},{14,43,17}},std_info,[{application,kernel},{exited,{{shutdown,{f}
{"Kernel pid
terminated",application_controller,"{application_start_failure,kernel,{{shutdo}

Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller)
({application_start_failure,kernel,{{shutdowc
----------------
b. I check /root/.erlang.cookie , and content is : XHTCCBNIPSPCMPJQZIGF
c. I check the mnesia dir (/root/generic01/var/lib/mnesia), and got :
root@REDACTED:~# ls ./generic01/var/lib/rabbitmq/mnesia/
rabbit@REDACTED
root@REDACTED:~# cat ./generic01/var/lib/rabbitmq/mnesia/rabbit@REDACTED
1763

I post the erl_crash.dump at http://pastebin.com/wgarGEy4

Kindly please tell me what to look for , and/or how to fix it ?

Sincerely
-bino-




More information about the erlang-questions mailing list