2011年12月23日 星期五

Why does RabbitMQ keep breaking from a corrupt persister log file?


/var/log/rabbitmq/startup_log

Starting all nodes...
Starting node rabbit@ubuntu...

+---+ +---+
| | | |
| | | |
| | | |
| +---+ +-------+
| |
| RabbitMQ +---+ |
| | | |
| v1.7.2 +---+ |
| |
+-------------------+
AMQP 8-0
Copyright (C) 2007-2010 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.
Licensed under the MPL. See http://www.rabbitmq.com/

node : rabbit@ubuntu
app descriptor: /usr/lib/rabbitmq/lib/rabbitmq_server-1.7.2/sbin/../ebin/rabbit.app
home dir : /var/lib/rabbitmq
cookie hash : VXmIpXwD/hkaDDQ+FkVMJA==
log : /var/log/rabbitmq/rabbit.log
sasl log : /var/log/rabbitmq/rabbit-sasl.log
database dir : /var/lib/rabbitmq/mnesia/rabbit

starting internal event notification system ...done
starting logging server ...done
starting database ...done
-- kernel ready
starting alarm handler ...done
starting queue supervisor ...done
starting node monitor ...done
starting cluster router ...done
-- core initialized
starting empty DB check ...done
starting codec correctness check ...done
starting exchange recovery ...done
starting queue recovery ...done
starting persister ...BOOT ERROR: FAILED
Reason: {{badmatch,
{error,
{{{case_clause,
{error,
{not_a_log_file,
"/var/lib/rabbitmq/mnesia/rabbit/rabbit_persister.LOG"}}},
[{rabbit_persister,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]},
{child,undefined,rabbit_persister,
{rabbit_persister,start_link,[]},
transient,100,worker,
[rabbit_persister]}}}},
[{rabbit_sup,start_child,2},
{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}]}
{"init terminating in do_boot",{{nocatch,{error,{cannot_start_application,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{rabbit,failure_during_boot}}}}}}},[{init,start_it,1},{init,start_em,1}]}}

沒有留言:

張貼留言

使用 google 的 reCAPTCHA 驗證碼, 總算可以輕鬆留言了。

我實在受不了 spam 了, 又不想讓大家的眼睛花掉, 只好放棄匿名留言。這是沒辦法中的辦法了。留言的朋友需要有 google 帳號。