Code Monkey home page Code Monkey logo

Comments (11)

timabbott avatar timabbott commented on June 24, 2024

Looks like rabbitmq-server isn't started.

timabbott@f2248d2 is what I needed to do in order to get Travis CI (based on docker) installing a development type environment, which may be helpful for debugging (e.g. I did have to run a rabbitmq restart in the middle of the install process there)

from zulip.

royalaid avatar royalaid commented on June 24, 2024

I tired the above fix and I am still having the install fail.

from zulip.

timabbott avatar timabbott commented on June 24, 2024

Try starting epmd explicitly (one of rabbitmq's dependencies) and then starting rabbitmq -- another development mentioned that worked for them in an environment where they were getting this sort of failure...

(Also the .travis.yml is now merged into master)

from zulip.

royalaid avatar royalaid commented on June 24, 2024

Starting epmd with empd -daemon did not change the result.

Error log below:

Deleting user "guest" ...
Error: unable to connect to node rabbit@hook: nodedown

DIAGNOSTICS
===========

nodes in question: [rabbit@hook]

hosts, their running nodes and ports:
- hook: [{rabbitmqctl29496,33511}]

current node details:
- node name: rabbitmqctl29496@hook
- home dir: /var/lib/rabbitmq
- cookie hash: 3XsN7TD1p6mRQluJafLl+w==

+ true
+ sudo rabbitmqctl add_user zulip 2fb280f8f8c96133f48fcfac951b7fad567c92a15488246096f3ab74864de340
Creating user "zulip" ...
Error: unable to connect to node rabbit@hook: nodedown

DIAGNOSTICS
===========

nodes in question: [rabbit@hook]

hosts, their running nodes and ports:
- hook: [{rabbitmqctl29541,57316}]

current node details:
- node name: rabbitmqctl29541@hook
- home dir: /var/lib/rabbitmq
- cookie hash: 3XsN7TD1p6mRQluJafLl+w==

from zulip.

royalaid avatar royalaid commented on June 24, 2024

Update, purging and reinstall rabbitmq seems to "fix" the issue. Followed the steps outlined here. It seems to be an issue related to the install process not going through clean on the first try.

from zulip.

timabbott avatar timabbott commented on June 24, 2024

Cool, thanks for posting the fix. I'm not sure I see an easy way to fix this for future users, but we should probably at least document this in a README.prod.md troubleshooting section...

from zulip.

royalaid avatar royalaid commented on June 24, 2024

An option would be to have start/finish detection for the install and if it gets messed up mid-way through to either roll back or purge and start fresh.

from zulip.

royalaid avatar royalaid commented on June 24, 2024

As well when using the default docker image for ubuntu you need to the modify the /usr/sbin/policy-rc.d from exit 101 to exit 0 as per directions here. Note I am not sure of the implications of making this change but it seems to achieve the desire goal.

Note: This also appears to have implications for postgres during the installation as well preventing it from starting.

from zulip.

marcstreeter avatar marcstreeter commented on June 24, 2024

we had an issue with rabbitmq not working because the hostname was not set in the /etc/hosts file. After updating it, rabbitmq started up fine.

from zulip.

royalaid avatar royalaid commented on June 24, 2024

Just to verify you are setting it to your FQDN, yes?

from zulip.

marcstreeter avatar marcstreeter commented on June 24, 2024

I was just using whatever hostname and hostname -f provided, however, let me preface my input with the fact that I never got the complete zulip package to work. The fix was based on this thread https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405/comments/12

from zulip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.