<div dir="ltr"><div><div>I tried installing new copy of RabbitMQ, but still seeing same error. <br><br><br>BOOT FAILED<br>===========<br><br>Error description:<br> {could_not_start,rabbitmq_management,undef}<br><br>Log files (may contain more information):<br>
/opt/local/Logs/rabbitmq-server/broker2.log<br> /opt/local/Logs/rabbitmq-server/broker2-sasl.log<br><br>{"init terminating in do_boot",{rabbit,failure_during_boot,{could_not_start,rabbitmq_management,undef}}}<br>
<br>Crash dump was written to: erl_crash.dump<br>init terminating in do_boot ()<br><br><br>Here is list of plugins:<br>:/opt/local/rabbitmq/plugins 640 $ ls -lrt<br>total 2504<br>-rw-r--r-- 1 root root 161574 Nov 7 05:54 webmachine-1.10.3-rmq3.2.1-gite9359c7.ez<br>
-rw-r--r-- 1 root root 89361 Nov 7 05:54 sockjs-0.3.4-rmq3.2.1-git3132eb9.ez<br>-rw-r--r-- 1 root root 45448 Nov 7 05:54 rfc4627_jsonrpc-3.2.1-git5e67120.ez<br>-rw-r--r-- 1 root root 51552 Nov 7 05:54 rabbitmq_web_stomp_examples-3.2.1.ez<br>
-rw-r--r-- 1 root root 18378 Nov 7 05:54 rabbitmq_web_stomp-3.2.1.ez<br>-rw-r--r-- 1 root root 23167 Nov 7 05:54 rabbitmq_web_dispatch-3.2.1.ez<br>-rw-r--r-- 1 root root 42907 Nov 7 05:54 rabbitmq_tracing-3.2.1.ez<br>
-rw-r--r-- 1 root root 85871 Nov 7 05:54 rabbitmq_stomp-3.2.1.ez<br>-rw-r--r-- 1 root root 13239 Nov 7 05:54 rabbitmq_shovel_management-3.2.1.ez<br>-rw-r--r-- 1 root root 40787 Nov 7 05:54 rabbitmq_shovel-3.2.1.ez<br>
-rw-r--r-- 1 root root 57227 Nov 7 05:54 rabbitmq_mqtt-3.2.1.ez<br>-rw-r--r-- 1 root root 32792 Nov 7 05:54 rabbitmq_management_visualiser-3.2.1.ez<br>-rw-r--r-- 1 root root 16464 Nov 7 05:54 rabbitmq_management_agent-3.2.1.ez<br>
-rw-r--r-- 1 root root 473401 Nov 7 05:54 rabbitmq_management-3.2.1.ez<br>-rw-r--r-- 1 root root 53134 Nov 7 05:54 rabbitmq_jsonrpc_channel_examples-3.2.1.ez<br>-rw-r--r-- 1 root root 70055 Nov 7 05:54 rabbitmq_jsonrpc_channel-3.2.1.ez<br>
-rw-r--r-- 1 root root 3842 Nov 7 05:54 rabbitmq_jsonrpc-3.2.1.ez<br>-rw-r--r-- 1 root root 12519 Nov 7 05:54 rabbitmq_federation_management-3.2.1.ez<br>-rw-r--r-- 1 root root 142034 Nov 7 05:54 rabbitmq_federation-3.2.1.ez<br>
-rw-r--r-- 1 root root 8217 Nov 7 05:54 rabbitmq_consistent_hash_exchange-3.2.1.ez<br>-rw-r--r-- 1 root root 10516 Nov 7 05:54 rabbitmq_auth_mechanism_ssl-3.2.1.ez<br>-rw-r--r-- 1 root root 22437 Nov 7 05:54 rabbitmq_auth_backend_ldap-3.2.1.ez<br>
-rw-r--r-- 1 root root 197452 Nov 7 05:54 rabbitmq_amqp1_0-3.2.1.ez<br>-rw-r--r-- 1 root root 264601 Nov 7 05:54 mochiweb-2.7.0-rmq3.2.1-git680dba8.ez<br>-rw-r--r-- 1 root root 98754 Nov 7 05:54 eldap-3.2.1-gite309de4.ez<br>
-rw-r--r-- 1 root root 222555 Nov 7 05:54 cowboy-0.5.0-rmq3.2.1-git4b93c2d.ez<br>-rw-r--r-- 1 root root 242521 Nov 7 05:54 amqp_client-3.2.1.ez<br>-rw-r--r-- 1 root root 59 Nov 7 05:54 README<br><br><br></div><div>
Following directory was created when I tried to start MQ server. <br><br>/opt/local/rabbitmq/var/lib/rabbitmq/mnesia/broker2-plugins-expand 586 $ ls -lrt<br>total 28<br>drwxr-xr-x 4 root root 4096 Feb 13 23:32 webmachine-1.10.3-rmq3.2.1-gite9359c7<br>
drwxr-xr-x 3 root root 4096 Feb 13 23:32 rabbitmq_web_dispatch-3.2.1<br>drwxr-xr-x 4 root root 4096 Feb 13 23:32 rabbitmq_management_visualiser-3.2.1<br>drwxr-xr-x 3 root root 4096 Feb 13 23:32 rabbitmq_management_agent-3.2.1<br>
drwxr-xr-x 5 root root 4096 Feb 13 23:32 rabbitmq_management-3.2.1<br>drwxr-xr-x 4 root root 4096 Feb 13 23:32 mochiweb-2.7.0-rmq3.2.1-git680dba8<br>drwxr-xr-x 4 root root 4096 Feb 13 23:32 amqp_client-3.2.1<br><br></div>
<br>From broker2.log logs:<br>
<br>=ERROR REPORT==== 13-Feb-2014::23:13:37 ===<br>Unable to load crypto library. Failed with error:<br>"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'"<br>
OpenSSL might not be installed on this system.<br><br>=WARNING REPORT==== 13-Feb-2014::23:13:37 ===<br>The on_load function for module crypto returned {error,<br> {load_failed,<br>
"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'"}}<br>
<br>=INFO REPORT==== 13-Feb-2014::23:13:37 ===<br>stopped SSL Listener on [::]:5673<br><br>=INFO REPORT==== 13-Feb-2014::23:13:37 ===<br>stopped TCP Listener on [::]:5672<br><br><br>From broker2-sasl.log logs:<br><br>=CRASH REPORT==== 13-Feb-2014::23:13:37 ===<br>
crasher:<br> initial call: application_master:init/4<br> pid: <0.268.0><br> registered_name: []<br> exception exit: {bad_return,<br> {{rabbit_mgmt_app,start,[normal,[]]},<br> {'EXIT',<br>
{undef,<br> [{crypto,module_info,[attributes],[]},<br> {rabbit_misc,module_attributes,1,[]},<br> {rabbit_misc,<br>
'-all_module_attributes/1-fun-0-',3,[]},<br> {lists,foldl,3,<br> [{file,"lists.erl"},{line,1248}]},<br>
{rabbit_mgmt_dispatcher,modules,0,[]},<br> {rabbit_mgmt_dispatcher,build_dispatcher,0,<br> []},<br> {rabbit_mgmt_app,make_loop,0,[]},<br>
{rabbit_mgmt_app,register_context,1,[]}]}}}}<br> in function application_master:init/4 (application_master.erl, line 133)<br> ancestors: [<0.267.0>]<br> messages: [{'EXIT',<0.269.0>,normal}]<br>
links: [<0.267.0>,<0.7.0>]<br> dictionary: []<br> trap_exit: true<br> status: running<br> heap_size: 376<br> stack_size: 27<br> reductions: 133<br> neighbours:<br><br></div><br>OpenSSL is also installed on VM. <br>
<br> $ openssl <br>OpenSSL> version<br>OpenSSL 1.0.1e-fips 11 Feb 2013<br>OpenSSL> <br><br><div><div><br></div><div>Thanks!<br></div><div>--SamirG<br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 12, 2014 at 11:23 PM, Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>On 13/02/2014 01:15, SamirG wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Log files (may contain more information):<br>
/Local/AS/Logs/rabbitmq-<u></u>server/broker2.log<br>
/Local/AS/Logs/rabbitmq-<u></u>server/broker2-sasl.log<br>
</blockquote>
<br></div>
Do they? In particular there might be more information about what was 'undef'.<br>
<br>
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.<br>
<br>
Cheers, Simon<br>
</blockquote></div><br></div></div></div>