[rabbitmq-discuss] Portability of the RabbitMQ database

Andreas Jung lists at zopyx.com
Mon Jun 21 11:45:30 BST 2010


I am playing over with replication and fail-over scenarios with RabbitMQ. So
I copied over the database directory
of production RabbitMQ server to a different machine and tried to restart
the RabbitMQ server with the database
of the production server. The production machine is running Linux and the
destination machines are Linux + MacOSX.

The startup fails on both server...isn't the database portable across
different machine?
Or is there some other way for moving a production database directory from
one server to another?

Andreas

-----------

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 at db01
app descriptor : /home/ajung/occ/parts/rabbitmq/ebin/rabbit.app
home dir       : /home/ajung
cookie hash    : OdO1XbpYQTCCD1J+eBaKtQ==
log            : /home/ajung/occ/data/logs/rabbit/rabbit.log
sasl log       : /home/ajung/occ/data/logs/rabbit/rabbit-sasl.log
database dir   : /home/ajung/occ/data/db/rabbit
erlang version : 5.6.5

starting file handle cache server
...done
starting worker pool
...done
starting database
...Erlang has closed
{"init terminating in
do_boot",{{nocatch,{error,{cannot_start_application,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{{case_clause,{error,{timeout_waiting_for_tables,[rabbit_user,rabbit_user_permission,rabbit_vhost,rabbit_config,rabbit_listener,rabbit_durable_route,rabbit_route,rabbit_reverse_route,rabbit_durable_exchange,rabbit_exchange,rabbit_durable_queue,rabbit_queue]}}},[{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,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100621/339e4f05/attachment.htm>


More information about the rabbitmq-discuss mailing list