[rabbitmq-discuss] Rabbit MQ crashes on startup?

Luke McCollum lakemalcom at gmail.com
Tue Mar 29 18:26:59 BST 2011


I think I found my own answer! It looks like the tiny disk on this
virtual machine is full. Whoops!

On Tue, Mar 29, 2011 at 10:19 AM, Luke McCollum <lakemalcom at gmail.com> wrote:
> I get this:
>
>
> Starting rabbitmq-server: TIMEOUT - check /var/log/rabbitmq/startup_{log,err}
>
>
> The startup log/err files are both empty, but in the main log, I see this:
>
> =INFO REPORT==== 29-Mar-2011::09:55:40 ===
> Limiting to approx 924 file handles
>
> =INFO REPORT==== 29-Mar-2011::09:55:40 ===
> Memory limit set to 196MB.
>
> =INFO REPORT==== 29-Mar-2011::09:55:40 ===
> Rolling persister log to
> "/var/lib/rabbitmq/mnesia/rabbit at vm-lb-01/rabbit_persister.LOG.previous"
>
> =INFO REPORT==== 29-Mar-2011::09:55:40 ===
> started TCP Listener on 0.0.0.0:5672
>
> =INFO REPORT==== 29-Mar-2011::09:55:43 ===
> accepted TCP connection on 0.0.0.0:5672 from 127.0.0.1:59103
>
> =INFO REPORT==== 29-Mar-2011::09:55:43 ===
> starting TCP connection <0.197.0> from 127.0.0.1:59103
>
> =INFO REPORT==== 29-Mar-2011::09:55:44 ===
> accepted TCP connection on 0.0.0.0:5672 from 127.0.0.1:59118
>
> =INFO REPORT==== 29-Mar-2011::09:55:44 ===
> starting TCP connection <0.206.0> from 127.0.0.1:59118
>
> =WARNING REPORT==== 29-Mar-2011::09:55:46 ===
> exception on TCP connection <0.197.0> from 127.0.0.1:59103
> connection_closed_abruptly
>
> =INFO REPORT==== 29-Mar-2011::09:55:46 ===
> closing TCP connection <0.197.0> from 127.0.0.1:59103
>
> =INFO REPORT==== 29-Mar-2011::09:55:50 ===
> Rolling persister log to
> "/var/lib/rabbitmq/mnesia/rabbit at vm-lb-01/rabbit_persister.LOG.previous"
>
> =ERROR REPORT==== 29-Mar-2011::09:55:50 ===
> ** Generic server rabbit_persister terminating
> ** Last message in was timeout
> ** When Server state == {pstate,rabbit_persister,0,infinity,[],[],
>                            {psnapshot,
>                                {dict,0,16,16,8,80,48,
>                                    {[],[],[],[],[],[],[],[],[],[],[],[],[],
>                                     [],[],[]},
>                                    {{[],[],[],[],[],[],[],[],[],[],[],[],[],
>                                      [],[],[]}}},
>                                135217,139314,0}}
> ** Reason for termination ==
> ** {{badmatch,{error,{file_error,"/var/lib/rabbitmq/mnesia/rabbit at vm-lb-01/rabbit_persister.LOG",
>                                 enospc}}},
>    [{rabbit_persister,take_snapshot,3},
>     {rabbit_persister,take_snapshot,2},
>     {rabbit_persister,maybe_take_snapshot,2},
>     {rabbit_persister,flush,2},
>     {rabbit_persister,handle_info,2},
>     {gen_server,handle_msg,5},
>     {proc_lib,init_p_do_apply,3}]}
>
> =INFO REPORT==== 29-Mar-2011::09:55:50 ===
> stopped TCP Listener on 0.0.0.0:5672
>
> =ERROR REPORT==== 29-Mar-2011::09:55:50 ===
> ** gen_event handler rabbit_sasl_report_file_h crashed.
> ** Was installed in error_logger
> ** Last event was: {error_report,<0.9.0>,
>                    {<0.180.0>,crash_report,
>                     [[{initial_call,
>                        {disk_log,init,['Argument__1','Argument__2']}},
>                       {pid,<0.180.0>},
>                       {registered_name,[]},
>                       {error_info,
>                        {exit,
>                         {{failed,
>                           {error,
>                            {file_error,
>
> "/var/lib/rabbitmq/mnesia/rabbit at vm-lb-01/rabbit_persister.LOG",
>                             enospc}}},
>                          [{disk_log,reopen,3}]},
>                         [{disk_log,do_exit,4},{proc_lib,init_p_do_apply,3}]}},
>                       {ancestors,
>                        [disk_log_sup,kernel_safe_sup,kernel_sup,<0.10.0>]},
>                       {messages,[]},
>                       {links,[<0.78.0>]},
>                       {dictionary,[]},
>                       {trap_exit,true},
>                       {status,running},
>                       {heap_size,610},
>                       {stack_size,24},
>                       {reductions,4523}],
>                      []]}}
> ** When handler state == {<0.48.0>,
>                          "/var/log/rabbitmq/rabbit at vm-lb-01-sasl.log",error}
> ** Reason == {badarg,[{io,format,
>                          [<0.48.0>,
>                           ["\n",61,"CRASH REPORT",61,61,61,61,32,"29",45,
>                            "Mar",45,"2011",58,58,"09",58,"55",58,"50",32,61,
>                            61,61,"\n",126,115],
>                           ["  crasher:\n    initial call:
> disk_log:init/2\n    pid: <0.180.0>\n    registered_name: [
>
>
> What is wrong?
>


More information about the rabbitmq-discuss mailing list