简体   繁体   中英

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?

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 .

The following worked for me on Fedora 16, thanks to an anonymous hint .

su
    vim /etc/hosts
        127.0.0.1 localhost.localdomain   localhost  YOUR-HOSTNAME
        ::1       localhost6.localdomain6 localhost6
    service rabbitmq-server start

For example, suppose your hostname is 67714.

su
    vim /etc/hosts
        127.0.0.1 localhost.localdomain   localhost  67714
        ::1       localhost6.localdomain6 localhost6
    service rabbitmq-server start

我遇到了同样的问题并且能够通过删除我正在使用的数字HOSTNAME并将其替换为正常的字母词来解决它,例如:我的主机名是1989年 ,我用tadiwa替换它

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM