<div dir="ltr">Hi,<div><br></div><div style>We installed rabbitmq-3.1.5 & while trying to start the rabbitmq from the perl script we are seeing the rabbitmq process gets killed after 3-5 secs & the following error is seen in the logs</div>
<div style><br></div><div style><div>Error description:</div><div> {error,</div><div> {cannot_delete_plugins_expand_dir,</div><div> ["/var/lib/rabbitmq/mnesia/rabbit@localhost-plugins-expand",</div>
<div> {cannot_delete,</div><div> "/var/lib/rabbitmq/mnesia/rabbit@localhost-plugins-expand/amqp_client-3.1.5/include/amqp_client_internal.hrl",</div><div> eacces}]}}</div>
<div><br></div><div>Log files (may contain more information):</div><div> /var/log/rabbitmq/rabbit@localhost.log</div><div> /var/log/rabbitmq/rabbit@localhost-sasl.log</div><div><br></div><div>Stack trace:</div><div> [{rabbit_plugins,prepare_plugins,3},</div>
<div> {rabbit,'-boot/0-fun-1-',0},</div><div> {rabbit,start_it,1},</div><div> {init,start_it,1},</div><div> {init,start_em,1}]</div><div><br></div><div style>We created a src rpm from the downloaded copy of the code , which will install the rpm binaries in the deisred location. </div>
<div style><br></div><div style>In our case the binaries like rabbitmq-server in installed in <b>/opt/lib/rabbitmq/lib/rabbitmq-3.1.5/sbin/ </b>& also <b>in /opt/sbin/.</b></div><div style><br></div><div style>When we try to start the rabbitmq from the <b>/opt/lib/rabbitmq/lib/rabbitmq-3.1.5/sbin/ </b>using <b>/opt/lib/rabbitmq/lib/rabbitmq-3.1.5/sbin/rabbitmq-server start</b> command its working fine.</div>
<div style><br></div><div style>Where as if we try to start from <b>/opt/sbin/ </b>by using<b> /optsbin/rabbitmq-server start</b> , its giving the above error.</div><div style><br></div><div style>Our requirement is that we should be able to start the rabbitmq from /opt/sbin/.</div>
<div style><br></div><div style>Any help is much appreciated.</div><div style><br></div><div style>Thank you :)</div></div></div>