<div dir="ltr">Forgive me if I&#39;m barking up the wrong tree here, I figure this is a good place to start tracking down this issue:<div><br></div><div style>I&#39;m trying to run RabbitMQ v3.1.3 on Erlang vR15B03-1 on Mac OSX 10.8.4, both installed using Homebrew. (Though it appears as though RabbitMQ is using its own private version of erlang).</div>
<div style><br></div><div style>It works great until I try and enable SSL, then I get boot failures (the complete output of rabbitmq-server is below, the output of the last boot of rabbitmq@localhost.log is below that).</div>
<div style><br></div><div style>My rabbitmq.config looks like:</div><div style><br></div><div style><div>533 aega@aimac:~ $ cat /usr/local/etc/rabbitmq/rabbitmq.config</div><div>[</div><div>{rabbit, [</div><div>� � � � {tcp_listeners, [{5672}]},</div>
<div>� � � � {ssl_listeners, [5671]},</div><div>� � � � {ssl_options, [{cacertfile,&quot;/Users/aega/d/amqp/testca/cacert.pem&quot;},</div><div>� � � � � � � � � � � � {certfile,&quot;/Users/aega/d/amqp/servercert/cert.pem&quot;},</div>
<div>� � � � � � � � � � � � {keyfile,&quot;/Users/aega/d/amqp/servercert/key.pem&quot;},</div><div>� � � � � � � � � � � � {verify,verify_peer},</div><div>� � � � � � � � � � � � {fail_if_no_peer_cert,false}]}</div><div>
� � ]}</div><div>].</div><div><br></div></div><div style>531 aega@aimac:~ $ /usr/local/sbin/rabbitmq-server<br></div><div><div><br></div><div>� � � � � � � RabbitMQ 3.1.3. Copyright (C) 2007-2013 VMware, Inc.</div><div>� ## �## � � �Licensed under the MPL. �See <a href="http://www.rabbitmq.com/">http://www.rabbitmq.com/</a></div>
<div>� ## �##</div><div>� ########## �Logs: /usr/local/var/log/rabbitmq/rabbit@localhost.log</div><div>� ###### �## � � � �/usr/local/var/log/rabbitmq/rabbit@localhost-sasl.log</div><div>� ##########</div><div>� � � � � � � Starting broker...</div>
<div><br></div><div>BOOT FAILED</div><div>===========</div><div><br></div><div>Error description:</div><div>� �{error,{cannot_start_application,asn1,</div><div>� � � � � � � � � � � � � � � � � � {&quot;no such file or directory&quot;,&quot;asn1.app&quot;}}}</div>
<div><br></div><div>Log files (may contain more information):</div><div>� �/usr/local/var/log/rabbitmq/rabbit@localhost.log</div><div>� �/usr/local/var/log/rabbitmq/rabbit@localhost-sasl.log</div><div><br></div><div>Stack trace:</div>
<div>� �[{app_utils,&#39;-start_applications/1-fun-0-&#39;,2,</div><div>� � � � � � � �[{file,&quot;src/app_utils.erl&quot;},{line,46}]},</div><div>� � {lists,foldl,3,[{file,&quot;lists.erl&quot;},{line,1248}]},</div><div>
� � {app_utils,manage_applications,6,[{file,&quot;src/app_utils.erl&quot;},{line,128}]},</div><div>� � {rabbit_networking,ensure_ssl,0,</div><div>� � � � � � � � � � � �[{file,&quot;src/rabbit_networking.erl&quot;},{line,148}]},</div>
<div>� � {rabbit_networking,&#39;-boot_ssl/0-lc$^0/1-0-&#39;,1,</div><div>� � � � � � � � � � � �[{file,&quot;src/rabbit_networking.erl&quot;},{line,137}]},</div><div>� � {rabbit_networking,boot_ssl,0,</div><div>� � � � � � � � � � � �[{file,&quot;src/rabbit_networking.erl&quot;},{line,137}]},</div>
<div>� � {rabbit_networking,boot,0,[{file,&quot;src/rabbit_networking.erl&quot;},{line,125}]},</div><div>� � {rabbit,&#39;-run_boot_step/1-lc$^1/1-1-&#39;,1,</div><div>� � � � � � [{file,&quot;src/rabbit.erl&quot;},{line,488}]}]</div>
<div><br></div><div><br></div><div><br></div><div>BOOT FAILED</div><div>===========</div><div><br></div><div>Error description:</div><div>� �{could_not_start,rabbit,</div><div>� � � �{bad_return,</div><div>� � � � � �{{rabbit,start,[normal,[]]},</div>
<div>� � � � � � {&#39;EXIT&#39;,</div><div>� � � � � � � � {rabbit,failure_during_boot,</div><div>� � � � � � � � � � {error,</div><div>� � � � � � � � � � � � {cannot_start_application,asn1,</div><div>� � � � � � � � � � � � � � {&quot;no such file or directory&quot;,&quot;asn1.app&quot;}}}}}}}}</div>
<div><br></div><div>Log files (may contain more information):</div><div>� �/usr/local/var/log/rabbitmq/rabbit@localhost.log</div><div>� �/usr/local/var/log/rabbitmq/rabbit@localhost-sasl.log</div><div><br></div><div>{&quot;init terminating in do_boot&quot;,{rabbit,failure_during_boot,{could_not_start,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{&#39;EXIT&#39;,{rabbit,failure_during_boot,{error,{cannot_start_application,asn1,{&quot;no such file or directory&quot;,&quot;asn1.app&quot;}}}}}}}}}}</div>
<div><br></div><div>Crash dump was written to: erl_crash.dump</div><div>init terminating in do_boot ()</div></div><div><br></div><div>---------------------------------------------------------------------------------------</div>
<div><br></div><div style>Last few lines of rabbitmq@localhost.log:</div><div style><div>=INFO REPORT==== 12-Jul-2013::13:03:01 ===</div><div>Starting RabbitMQ 3.1.3 on Erlang R16B</div><div>Copyright (C) 2007-2013 VMware, Inc.</div>
<div>Licensed under the MPL. �See <a href="http://www.rabbitmq.com/">http://www.rabbitmq.com/</a></div><div><br></div><div>=INFO REPORT==== 12-Jul-2013::13:03:01 ===</div><div>node � � � � � : rabbit@localhost</div><div>home dir � � � : /Users/aega</div>
<div>cookie hash � �: z2f61w1/EZjsR+NzlXG5Ew==</div><div>log � � � � � �: /usr/local/var/log/rabbitmq/rabbit@localhost.log</div><div>sasl log � � � : /usr/local/var/log/rabbitmq/rabbit@localhost-sasl.log</div><div>database dir � : /usr/local/var/lib/rabbitmq/mnesia/rabbit@localhost</div>
<div><br></div><div>=INFO REPORT==== 12-Jul-2013::13:03:01 ===</div><div>Limiting to approx 156 file handles (138 sockets)</div><div><br></div><div>=INFO REPORT==== 12-Jul-2013::13:03:02 ===</div><div>Memory limit set to 564MB of 1410MB total.</div>
<div><br></div><div>=INFO REPORT==== 12-Jul-2013::13:03:02 ===</div><div>Disk free limit set to 1000MB</div><div><br></div><div>=INFO REPORT==== 12-Jul-2013::13:03:02 ===</div><div>msg_store_transient: using rabbit_msg_store_ets_index to provide index</div>
<div><br></div><div>=INFO REPORT==== 12-Jul-2013::13:03:02 ===</div><div>msg_store_persistent: using rabbit_msg_store_ets_index to provide index</div><div><br></div><div>=INFO REPORT==== 12-Jul-2013::13:03:02 ===</div><div>
started TCP Listener on <a href="http://127.0.0.1:5672">127.0.0.1:5672</a></div><div><br></div><div>=INFO REPORT==== 12-Jul-2013::13:03:02 ===</div><div>Error description:</div><div>� �{error,{cannot_start_application,asn1,</div>
<div>� � � � � � � � � � � � � � � � � � {&quot;no such file or directory&quot;,&quot;asn1.app&quot;}}}</div><div><br></div><div>Log files (may contain more information):</div><div>� �/usr/local/var/log/rabbitmq/rabbit@localhost.log</div>
<div>� �/usr/local/var/log/rabbitmq/rabbit@localhost-sasl.log</div><div><br></div><div>Stack trace:</div><div>� �[{app_utils,&#39;-start_applications/1-fun-0-&#39;,2,</div><div>� � � � � � � �[{file,&quot;src/app_utils.erl&quot;},{line,46}]},</div>
<div>� � {lists,foldl,3,[{file,&quot;lists.erl&quot;},{line,1248}]},</div><div>� � {app_utils,manage_applications,6,[{file,&quot;src/app_utils.erl&quot;},{line,128}]},</div><div>� � {rabbit_networking,ensure_ssl,0,</div><div>
� � � � � � � � � � � �[{file,&quot;src/rabbit_networking.erl&quot;},{line,148}]},</div><div>� � {rabbit_networking,&#39;-boot_ssl/0-lc$^0/1-0-&#39;,1,</div><div>� � � � � � � � � � � �[{file,&quot;src/rabbit_networking.erl&quot;},{line,137}]},</div>
<div>� � {rabbit_networking,boot_ssl,0,</div><div>� � � � � � � � � � � �[{file,&quot;src/rabbit_networking.erl&quot;},{line,137}]},</div><div>� � {rabbit_networking,boot,0,[{file,&quot;src/rabbit_networking.erl&quot;},{line,125}]},</div>
<div>� � {rabbit,&#39;-run_boot_step/1-lc$^1/1-1-&#39;,1,</div><div>� � � � � � [{file,&quot;src/rabbit.erl&quot;},{line,488}]}]</div><div><br></div><div><br></div><div>=INFO REPORT==== 12-Jul-2013::13:03:03 ===</div><div>
stopped TCP Listener on <a href="http://127.0.0.1:5672">127.0.0.1:5672</a></div><div><br></div><div>=INFO REPORT==== 12-Jul-2013::13:03:03 ===</div><div>Error description:</div><div>� �{could_not_start,rabbit,</div><div>� � � �{bad_return,</div>
<div>� � � � � �{{rabbit,start,[normal,[]]},</div><div>� � � � � � {&#39;EXIT&#39;,</div><div>� � � � � � � � {rabbit,failure_during_boot,</div><div>� � � � � � � � � � {error,</div><div>� � � � � � � � � � � � {cannot_start_application,asn1,</div>
<div>� � � � � � � � � � � � � � {&quot;no such file or directory&quot;,&quot;asn1.app&quot;}}}}}}}}</div><div><br></div><div>Log files (may contain more information):</div><div>� �/usr/local/var/log/rabbitmq/rabbit@localhost.log</div>
<div>� �/usr/local/var/log/rabbitmq/rabbit@localhost-sasl.log</div><div><br></div><div><br></div><div>=ERROR REPORT==== 12-Jul-2013::13:03:03 ===</div><div>** gen_event handler rabbit_error_logger crashed.</div><div>** Was installed in error_logger</div>
<div>** Last event was: {info_msg,&lt;0.29.0&gt;,</div><div>� � � � � � � � � � {&lt;0.2.0&gt;,</div><div>� � � � � � � � � � �&quot;Error description:~n � ~p~n~nLog files (may contain more information):~n � ~s~n � ~s~n~n&quot;,</div>
<div>� � � � � � � � � � �[{could_not_start,rabbit,</div><div>� � � � � � � � � � � �{bad_return,</div><div>� � � � � � � � � � � � {{rabbit,start,[normal,[]]},</div><div>� � � � � � � � � � � � �{&#39;EXIT&#39;,</div><div>
� � � � � � � � � � � � � {rabbit,failure_during_boot,</div><div>� � � � � � � � � � � � � �{error,</div><div>� � � � � � � � � � � � � � {cannot_start_application,asn1,</div><div>� � � � � � � � � � � � � � �{&quot;no such file or directory&quot;,&quot;asn1.app&quot;}}}}}}}},</div>
<div>� � � � � � � � � � � &quot;/usr/local/var/log/rabbitmq/rabbit@localhost.log&quot;,</div><div>� � � � � � � � � � � &quot;/usr/local/var/log/rabbitmq/rabbit@localhost-sasl.log&quot;]}}</div><div>** When handler state == {resource,&lt;&lt;&quot;/&quot;&gt;&gt;,exchange,&lt;&lt;&quot;amq.rabbitmq.log&quot;&gt;&gt;}</div>
<div>** Reason == {badarg,</div><div>� � � � � � � � �[{ets,lookup,</div><div>� � � � � � � � � � � [rabbit_exchange,</div><div>� � � � � � � � � � � �{resource,&lt;&lt;&quot;/&quot;&gt;&gt;,exchange,&lt;&lt;&quot;amq.rabbitmq.log&quot;&gt;&gt;}],</div>
<div>� � � � � � � � � � � []},</div><div>� � � � � � � � � {rabbit_misc,dirty_read,1,</div><div>� � � � � � � � � � � [{file,&quot;src/rabbit_misc.erl&quot;},{line,345}]},</div><div>� � � � � � � � � {rabbit_basic,publish,1,</div>
<div>� � � � � � � � � � � [{file,&quot;src/rabbit_basic.erl&quot;},{line,100}]},</div><div>� � � � � � � � � {rabbit_error_logger,publish1,4,</div><div>� � � � � � � � � � � [{file,&quot;src/rabbit_error_logger.erl&quot;},{line,84}]},</div>
<div>� � � � � � � � � {rabbit_error_logger,handle_event,2,</div><div>� � � � � � � � � � � [{file,&quot;src/rabbit_error_logger.erl&quot;},{line,62}]},</div><div>� � � � � � � � � {gen_event,server_update,4,</div><div>� � � � � � � � � � � [{file,&quot;gen_event.erl&quot;},{line,504}]},</div>
<div>� � � � � � � � � {gen_event,server_notify,4,</div><div>� � � � � � � � � � � [{file,&quot;gen_event.erl&quot;},{line,486}]},</div><div>� � � � � � � � � {gen_event,handle_msg,5,</div><div>� � � � � � � � � � � [{file,&quot;gen_event.erl&quot;},{line,248}]}]}</div>
<div><br></div></div></div>