[rabbitmq-discuss] RabbitMQ : Management plugin crash server at startup
Samir Gahirwal
samir.gahirwal at gmail.com
Fri Feb 14 00:16:25 GMT 2014
I tried installing new copy of RabbitMQ, but still seeing same error.
BOOT FAILED
===========
Error description:
{could_not_start,rabbitmq_management,undef}
Log files (may contain more information):
/opt/local/Logs/rabbitmq-server/broker2.log
/opt/local/Logs/rabbitmq-server/broker2-sasl.log
{"init terminating in
do_boot",{rabbit,failure_during_boot,{could_not_start,rabbitmq_management,undef}}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
Here is list of plugins:
:/opt/local/rabbitmq/plugins 640 $ ls -lrt
total 2504
-rw-r--r-- 1 root root 161574 Nov 7 05:54
webmachine-1.10.3-rmq3.2.1-gite9359c7.ez
-rw-r--r-- 1 root root 89361 Nov 7 05:54
sockjs-0.3.4-rmq3.2.1-git3132eb9.ez
-rw-r--r-- 1 root root 45448 Nov 7 05:54
rfc4627_jsonrpc-3.2.1-git5e67120.ez
-rw-r--r-- 1 root root 51552 Nov 7 05:54
rabbitmq_web_stomp_examples-3.2.1.ez
-rw-r--r-- 1 root root 18378 Nov 7 05:54 rabbitmq_web_stomp-3.2.1.ez
-rw-r--r-- 1 root root 23167 Nov 7 05:54 rabbitmq_web_dispatch-3.2.1.ez
-rw-r--r-- 1 root root 42907 Nov 7 05:54 rabbitmq_tracing-3.2.1.ez
-rw-r--r-- 1 root root 85871 Nov 7 05:54 rabbitmq_stomp-3.2.1.ez
-rw-r--r-- 1 root root 13239 Nov 7 05:54
rabbitmq_shovel_management-3.2.1.ez
-rw-r--r-- 1 root root 40787 Nov 7 05:54 rabbitmq_shovel-3.2.1.ez
-rw-r--r-- 1 root root 57227 Nov 7 05:54 rabbitmq_mqtt-3.2.1.ez
-rw-r--r-- 1 root root 32792 Nov 7 05:54
rabbitmq_management_visualiser-3.2.1.ez
-rw-r--r-- 1 root root 16464 Nov 7 05:54
rabbitmq_management_agent-3.2.1.ez
-rw-r--r-- 1 root root 473401 Nov 7 05:54 rabbitmq_management-3.2.1.ez
-rw-r--r-- 1 root root 53134 Nov 7 05:54
rabbitmq_jsonrpc_channel_examples-3.2.1.ez
-rw-r--r-- 1 root root 70055 Nov 7 05:54 rabbitmq_jsonrpc_channel-3.2.1.ez
-rw-r--r-- 1 root root 3842 Nov 7 05:54 rabbitmq_jsonrpc-3.2.1.ez
-rw-r--r-- 1 root root 12519 Nov 7 05:54
rabbitmq_federation_management-3.2.1.ez
-rw-r--r-- 1 root root 142034 Nov 7 05:54 rabbitmq_federation-3.2.1.ez
-rw-r--r-- 1 root root 8217 Nov 7 05:54
rabbitmq_consistent_hash_exchange-3.2.1.ez
-rw-r--r-- 1 root root 10516 Nov 7 05:54
rabbitmq_auth_mechanism_ssl-3.2.1.ez
-rw-r--r-- 1 root root 22437 Nov 7 05:54
rabbitmq_auth_backend_ldap-3.2.1.ez
-rw-r--r-- 1 root root 197452 Nov 7 05:54 rabbitmq_amqp1_0-3.2.1.ez
-rw-r--r-- 1 root root 264601 Nov 7 05:54
mochiweb-2.7.0-rmq3.2.1-git680dba8.ez
-rw-r--r-- 1 root root 98754 Nov 7 05:54 eldap-3.2.1-gite309de4.ez
-rw-r--r-- 1 root root 222555 Nov 7 05:54
cowboy-0.5.0-rmq3.2.1-git4b93c2d.ez
-rw-r--r-- 1 root root 242521 Nov 7 05:54 amqp_client-3.2.1.ez
-rw-r--r-- 1 root root 59 Nov 7 05:54 README
Following directory was created when I tried to start MQ server.
/opt/local/rabbitmq/var/lib/rabbitmq/mnesia/broker2-plugins-expand 586 $ ls
-lrt
total 28
drwxr-xr-x 4 root root 4096 Feb 13 23:32
webmachine-1.10.3-rmq3.2.1-gite9359c7
drwxr-xr-x 3 root root 4096 Feb 13 23:32 rabbitmq_web_dispatch-3.2.1
drwxr-xr-x 4 root root 4096 Feb 13 23:32
rabbitmq_management_visualiser-3.2.1
drwxr-xr-x 3 root root 4096 Feb 13 23:32 rabbitmq_management_agent-3.2.1
drwxr-xr-x 5 root root 4096 Feb 13 23:32 rabbitmq_management-3.2.1
drwxr-xr-x 4 root root 4096 Feb 13 23:32 mochiweb-2.7.0-rmq3.2.1-git680dba8
drwxr-xr-x 4 root root 4096 Feb 13 23:32 amqp_client-3.2.1
>From broker2.log logs:
=ERROR REPORT==== 13-Feb-2014::23:13:37 ===
Unable to load crypto library. Failed with error:
"load_failed, Failed to load NIF library
/opt/local/Erlang/lib/erlang/lib/crypto-3.0/priv/lib/crypto:
'libcrypto.so.6: cannot open shared object file: No such file or directory'"
OpenSSL might not be installed on this system.
=WARNING REPORT==== 13-Feb-2014::23:13:37 ===
The on_load function for module crypto returned {error,
{load_failed,
"Failed to load NIF
library /opt/local/Erlang/lib/erlang/lib/crypto-3.0/priv/lib/crypto:
'libcrypto.so.6: cannot open shared object file: No such file or
directory'"}}
=INFO REPORT==== 13-Feb-2014::23:13:37 ===
stopped SSL Listener on [::]:5673
=INFO REPORT==== 13-Feb-2014::23:13:37 ===
stopped TCP Listener on [::]:5672
>From broker2-sasl.log logs:
=CRASH REPORT==== 13-Feb-2014::23:13:37 ===
crasher:
initial call: application_master:init/4
pid: <0.268.0>
registered_name: []
exception exit: {bad_return,
{{rabbit_mgmt_app,start,[normal,[]]},
{'EXIT',
{undef,
[{crypto,module_info,[attributes],[]},
{rabbit_misc,module_attributes,1,[]},
{rabbit_misc,
'-all_module_attributes/1-fun-0-',3,[]},
{lists,foldl,3,
[{file,"lists.erl"},{line,1248}]},
{rabbit_mgmt_dispatcher,modules,0,[]},
{rabbit_mgmt_dispatcher,build_dispatcher,0,
[]},
{rabbit_mgmt_app,make_loop,0,[]},
{rabbit_mgmt_app,register_context,1,[]}]}}}}
in function application_master:init/4 (application_master.erl, line
133)
ancestors: [<0.267.0>]
messages: [{'EXIT',<0.269.0>,normal}]
links: [<0.267.0>,<0.7.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 376
stack_size: 27
reductions: 133
neighbours:
OpenSSL is also installed on VM.
$ openssl
OpenSSL> version
OpenSSL 1.0.1e-fips 11 Feb 2013
OpenSSL>
Thanks!
--SamirG
On Wed, Feb 12, 2014 at 11:23 PM, Simon MacMullen <simon at rabbitmq.com>wrote:
> On 13/02/2014 01:15, SamirG wrote:
>
>> Log files (may contain more information):
>> /Local/AS/Logs/rabbitmq-server/broker2.log
>> /Local/AS/Logs/rabbitmq-server/broker2-sasl.log
>>
>
> Do they? In particular there might be more information about what was
> 'undef'.
>
> Also: it's not very clear from the email thread to date, but it looked
> like you might be saying that the plugins directory *only* contains plugins
> with "management" in the name. That won't work; there are dependencies that
> would be missing if you did that.
>
> Cheers, Simon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140213/b3676594/attachment.html>
More information about the rabbitmq-discuss
mailing list