[rabbitmq-discuss] rabbitq cluster startup errors with managment plugin

alain alain.dazzi at gmail.com
Tue Jan 18 22:25:44 GMT 2011


I installed rabbimq server 2.2.0 and installed the management
plugin ...
root at dell:plugins # ls -1 *ez
amqp_client-2.2.0.ez
mochiweb-2.2.0.ez
rabbitmq-management-2.2.0.ez
rabbitmq-management-agent-2.2.0.ez
rabbitmq-mochiweb-2.2.0.ez
webmachine-2.2.0.ez

If I start a single node with /etc/init.d/rabbitmq-server start
everthing works fine, the server comes up, I can
produce consume/data and the http management page works great.

However if I create a local cluster, say 3 nodes on the same machine,
and start the cluster with
rabbimq-mutl start_all 3, the nodes fail to start. If I remove the
management plugin, the 3 node cluster works fine.

here is the log ...

root at dell:plugins # rabbitmq-multi start_all 3
Starting all nodes...
Starting node rabbit at dell...
Activating RabbitMQ plugins ...
*WARNING* Undefined function fdsrv:bind_socket/2
*WARNING* Undefined function fdsrv:start/0
*WARNING* Undefined function fdsrv:stop/0
*WARNING* Undefined function webmachine_resource:start_link/2
6 plugins activated:
* amqp_client-2.2.0
* mochiweb-1.3
* rabbit_management-2.2.0
* rabbit_management_agent-2.2.0
* rabbit_mochiweb-2.2.0
* webmachine-1.7.0


+---+   +---+
|   |   |   |
|   |   |   |
|   |   |   |
|   +---+   +-------+
|                   |
| RabbitMQ  +---+   |
|           |   |   |
|   v2.2.0  +---+   |
|                   |
+-------------------+
AMQP 0-9-1 / 0-9 / 0-8
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 dell
app descriptor : /usr/lib/rabbitmq/lib/rabbitmq_server-2.2.0/sbin/../
ebin/rabbit.app
home dir       : /var/lib/rabbitmq
cookie hash    : 9zVr5H5XduihPv89Kzk9oA==
log            : /var/log/rabbitmq/rabbit at dell.log
sasl log       : /var/log/rabbitmq/rabbit at dell-sasl.log
database dir   : /var/lib/rabbitmq/mnesia/rabbit at dell
erlang version : 5.7.4

starting file handle cache
server                                     ...done
starting worker
pool                                                  ...done
starting
database                                                     ...done
starting codec correctness
check                                      ...done
-- external infrastructure ready
starting statistics event
manager                                     ...done
starting logging
server                                               ...done
starting exchange type
registry                                       ...done
starting exchange type
direct                                         ...done
starting exchange type
fanout                                         ...done
starting exchange type
headers                                        ...done
starting exchange type
topic                                          ...done
-- kernel ready
starting alarm
handler                                                ...done
starting node
monitor                                                 ...done
starting cluster
delegate                                             ...done
starting guid
generator                                               ...done
starting memory
monitor                                               ...done
-- core initialized
starting empty DB
check                                               ...done
starting exchange
recovery                                            ...done
starting management
agent                                             ...done
starting management statistics
database                               ...done
starting queue supervisor and queue
recovery                          ...done
-- message delivery logic ready
starting error log
relay                                              ...done
starting
networking                                                   ...done
-- network listeners available

broker running
** Found 0 name clashes in code paths
OK
Starting node rabbit_1 at dell...
Activating RabbitMQ plugins ...
*WARNING* Undefined function fdsrv:bind_socket/2
*WARNING* Undefined function fdsrv:start/0
*WARNING* Undefined function fdsrv:stop/0
*WARNING* Undefined function webmachine_resource:start_link/2
6 plugins activated:
* amqp_client-2.2.0
* mochiweb-1.3
* rabbit_management-2.2.0
* rabbit_management_agent-2.2.0
* rabbit_mochiweb-2.2.0
* webmachine-1.7.0

{"Kernel pid
terminated",application_controller,"{application_start_failure,rabbit_mochiweb,
{shutdown,{rabbit_mochiweb_app,start,[normal,[]]}}}"}
Error: {node_start_failed,normal}
root at dell:plugins #
Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller)
({application_start_failure,rabbit_mochiweb,{shutdown,
{rabbit_mochiweb_app,start,[normal,[]]}}})

Help!


More information about the rabbitmq-discuss mailing list