[rabbitmq-discuss] trouble starting 3.3.0 on FreeBSD 9.2

Dan Langille dvl at biglist.com
Thu Apr 10 17:22:47 BST 2014


I am having trouble starting RabbitMQ 3.3.0 with erlang-16.b.03.1,3 on FreeBSD 9.2


I have been following https://www.rabbitmq.com/configure.html

/usr/local/etc/rabbitmq/rabbitmq-env.conf contains this (sally is the host I'm working on.):

NODENAME=bunny at sally



I issue this command:

$ sudo service rabbitmq start
Warning: PID file not written; -detached was passed.




And see these log entries:

*** /var/log/rabbitmq//bunny at sally.log ***

=INFO REPORT==== 10-Apr-2014::16:13:25 ===
Starting RabbitMQ 3.3.0 on Erlang R16B03-1
Copyright (C) 2007-2013 GoPivotal, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

=INFO REPORT==== 10-Apr-2014::16:13:25 ===
node           : bunny at sally
home dir       : /var/db/rabbitmq
config file(s) : /usr/local/etc/rabbitmq/rabbitmq.config
cookie hash    : bVe6vw3baQne66uSp3IOiQ==
log            : /var/log/rabbitmq/bunny at sally.log
sasl log       : /var/log/rabbitmq/bunny at sally-sasl.log
database dir   : /var/db/rabbitmq/mnesia/bunny at sally

=INFO REPORT==== 10-Apr-2014::16:13:25 ===
Limiting to approx 10995 file handles (9893 sockets)

=INFO REPORT==== 10-Apr-2014::16:13:25 ===
Memory limit set to 6328MB of 15822MB total.

=INFO REPORT==== 10-Apr-2014::16:13:25 ===
Disk free limit set to 50MB

=INFO REPORT==== 10-Apr-2014::16:13:25 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 10-Apr-2014::16:13:25 ===
Error description:
   {badmatch,
       {error,
           {{{badmatch,
                 {error,
                     {"/var/db/rabbitmq/mnesia/bunny at sally/msg_stor...",
                      eacces}}},
             [{rabbit_msg_store,init,1,
                  [{file,"src/rabbit_msg_store.erl"},{line,666}]},
              {gen_server2,init_it,6,
                  [{file,"src/gen_server2.erl"},{line,554}]},
              {proc_lib,init_p_do_apply,3,
                  [{file,"proc_lib.erl"},{line,239}]}]},
            {child,undefined,msg_store_transient,
                {rabbit_msg_store,start_link,
                    [msg_store_transient,
                     "/var/db/rabbitmq/mnesia/bunny at sally",undefined,
                     {#Fun<rabbit_variable_queue.0.94258977>,ok}]},
                transient,4294967295,worker,
                [rabbit_msg_store]}}}}

Log files (may contain more information):
   /var/log/rabbitmq/bunny at sally.log
   /var/log/rabbitmq/bunny at sally-sasl.log

Stack trace:
   [{rabbit_variable_queue,start_msg_store,2,
                           [{file,"src/rabbit_variable_queue.erl"},
                            {line,407}]},
    {rabbit_variable_queue,start,1,
                           [{file,"src/rabbit_variable_queue.erl"},
                            {line,392}]},
    {rabbit_amqqueue,recover,0,[{file,"src/rabbit_amqqueue.erl"},{line,208}]},
    {rabbit,recover,0,[{file,"src/rabbit.erl"},{line,619}]},
    {rabbit,'-run_boot_step/1-lc$^1/1-1-',1,
            [{file,"src/rabbit.erl"},{line,505}]},
    {rabbit,run_boot_step,1,[{file,"src/rabbit.erl"},{line,504}]},
    {rabbit,'-start/2-lc$^0/1-0-',1,[{file,"src/rabbit.erl"},{line,471}]},
    {rabbit,start,2,[{file,"src/rabbit.erl"},{line,471}]}]





*** /var/log/rabbitmq//bunny at sally-sasl.log ***

=CRASH REPORT==== 10-Apr-2014::16:13:25 ===
  crasher:
    initial call: gen:init_it/7
    pid: <0.185.0>
    registered_name: []
    exception exit: {{badmatch,
                         {error,
                             {"/var/db/rabbitmq/mnesia/bunny at sally/msg_s...",
                              eacces}}},
                     [{rabbit_msg_store,init,1,
                          [{file,"src/rabbit_msg_store.erl"},{line,666}]},
                      {gen_server2,init_it,6,
                          [{file,"src/gen_server2.erl"},{line,554}]},
                      {proc_lib,init_p_do_apply,3,
                          [{file,"proc_lib.erl"},{line,239}]}]}
      in function  gen_server2:init_it/6 (src/gen_server2.erl, line 588)
    ancestors: [rabbit_sup,<0.113.0>]
    messages: []
    links: [<0.114.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 1598
    stack_size: 27
    reductions: 1790
  neighbours:




*** /var/log/rabbitmq//bunny at sally.log ***

=INFO REPORT==== 10-Apr-2014::16:13:26 ===
Error description:
   {could_not_start,rabbit,
       {bad_return,
           {{rabbit,start,[normal,[]]},
            {'EXIT',
                {rabbit,failure_during_boot,
                    {badmatch,
                        {error,
                            {{{badmatch,{error,{"/v...",eacces}}},
                              [{rabbit_msg_store,init,1,
                                   [{file,"..."},{line,666}]},
                               {gen_server2,init_it,6,
                                   [{file,"..."},{line,'...'}]},
                               {proc_lib,init_p_do_apply,3,
                                   [{file,'...'},{'...'}]}]},
                             {child,undefined,msg_store_transient,
                                 {rabbit_msg_store,start_link,
                                     [msg_store_transient,"/var...",undefined,
                                      {#Fun<rabbit_variable_queue.0.94258977>,
                                       ok}]},
                                 transient,4294967295,worker,
                                 [rabbit_msg_store]}}}}}}}}}

Log files (may contain more information):
   /var/log/rabbitmq/bunny at sally.log
   /var/log/rabbitmq/bunny at sally-sasl.log





*** /var/log/rabbitmq//bunny at sally-sasl.log ***

=CRASH REPORT==== 10-Apr-2014::16:13:26 ===
  crasher:
    initial call: application_master:init/4
    pid: <0.112.0>
    registered_name: []
    exception exit: {bad_return,
                     {{rabbit,start,[normal,[]]},
                      {'EXIT',
                       {rabbit,failure_during_boot,
                        {badmatch,
                         {error,
                          {{{badmatch,{error,{'...'}}},
                            [{rabbit_msg_store,init,1,'...'},
                             {gen_server2,init_it,'...'},
                             {proc_lib,'...'}]},
                           {child,undefined,msg_store_transient,
                            {rabbit_msg_store,start_link,['...']},
                            transient,4294967295,worker,
                            [rabbit_msg_store]}}}}}}}}
      in function  application_master:init/4 (application_master.erl, line 133)
    ancestors: [<0.111.0>]
    messages: [{'EXIT',<0.113.0>,normal}]
    links: [<0.111.0>,<0.7.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 2586
    stack_size: 27
    reductions: 329
  neighbours:



— 
Dan Langille
dvl at biglist.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140410/1c67f41e/attachment.sig>


More information about the rabbitmq-discuss mailing list