Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RabbitMQ on Ubuntu 10.04 Server

Trying to run RabbitMQ on VPS with Ubuntu 10.04. Doing everything like usual:

  • added RabbitMQ deb repo
  • updated with apt-get update
  • installed with apt-get install rabbitmq-server

On my local machine with Ubuntu 11.10 and another VPS with same 10.04 everything works just fine. But on this one i getting error like this (from /var/log/rabbitmq/startup_log):

    Activating RabbitMQ plugins ...

********************************************************************************
********************************************************************************

0 plugins activated:

ERROR: epmd error for host "67714": badarg (unknown POSIX error)

What i'm doing wrong and wtf is this?

like image 303
tipugin Avatar asked Dec 26 '11 07:12

tipugin


1 Answers

This worked for me on CentOS 5.8 when I was unable to use the /etc/hosts file to fix it:

  1. Create a rabbitmq environment variables config file at /etc/rabbitmq/rabbitmq-env.conf
  2. Add NODENAME=rabbit@localhost to it (note that just localhost didn't work)
  3. sudo service rabbitmq-server start

To see more about config options, check this out: http://www.rabbitmq.com/configure.html#customise-general-unix-environment.

like image 73
Isaac Avatar answered Nov 15 '22 23:11

Isaac