[rabbitmq-discuss] RabbitMQ server fails to start on clustered erlang node
Lars Sommer
larss at motiga.com
Wed May 21 18:23:23 BST 2014
Environment:
* Ubuntu Server 12.04
* Erlang R16B03-1
* Ejabberd 13.12
* Cluster:
o Server that is failing to start RabbitMQ is primary
o 3 additional "secondary" erlang nodes
Additional notes:
* RabbitMQ is pulling default package from apt
o "sudo apt-get install rabbitmq-server"
o At the service start phase it chokes: (copy-paste below)
? Setting up rabbitmq-server (2.7.1-0ubuntu4) ...
? Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err}
? rabbitmq-server.
? invoke-rc.d: initscript rabbitmq-server, action "start" failed.
? dpkg: error processing rabbitmq-server (--configure):
? subprocess installed post-installation script returned error exit status 1
? Errors were encountered while processing:
? rabbitmq-server
? E: Sub-process /usr/bin/dpkg returned an error code (1)
* Erlang cookie file was copied from the existing erlang nodes over to /var/lib/rabbitmq/.erlang.cookie
o cp /var/lib/ejabberd/.erlang.cookie /var/lib/rabbitmq/
o chown rabbitmq /var/lib/rabbitmq/.erlang.cookie
o service rabbitmq-server start
? Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err}
o ls /var/log/rabbitmq
? startup_err
o cat /var/log/rabbitmq/startup_err
? Wed May 21 10:16:31 PDT 2014 - rabbitmq failed to start
? Wed May 21 10:20:31 PDT 2014 - rabbitmq failed to start
Can anyone help me identify where my conflict might be? Clearly it has some sort of problem with the existing erlang cluster but I am not sure what it is.
[cid:image002.png at 01CF74DE.B0235120]
Lars Sommer | DevOps
425.530.6792 | larss at motiga.com
www.motiga.com<http://www.motiga.com>
[cid:image003.png at 01CF74DD.2582FE90]<https://www.facebook.com/pages/Motiga/100962400010155> [cid:image004.png at 01CF74DD.2582FE90] <https://twitter.com/motigagames> [cid:image005.png at 01CF74DD.2582FE90] <http://www.youtube.com/user/motigagames>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140521/9ad84e4f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1318 bytes
Desc: image003.png
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140521/9ad84e4f/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1517 bytes
Desc: image004.png
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140521/9ad84e4f/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 1402 bytes
Desc: image005.png
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140521/9ad84e4f/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 13078 bytes
Desc: image002.png
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140521/9ad84e4f/attachment-0003.png>
More information about the rabbitmq-discuss
mailing list