[rabbitmq-discuss] rabbitmq beginner, cannot start rabbitmq/cannot get status

David Wragg david at rabbitmq.com
Fri Oct 15 12:42:19 BST 2010

Hi Matt,

Matt Long <mlong at crocodoc.com> writes:
> adding the following line to /etc/hosts worked. Can anyone suggest a way to
> have something similar done automatically via a customized AMI?
>    ip-10-100-100-200

When you instantiate an AMI, you can supply a user-data file, and the
Ubuntu images will execute this as a shell script on startup.  You can
add commands into that file something like the following:

echo "HOSTNAME" > /etc/hostname
echo "\tHOSTNAME" >> /etc/hosts
hostname --file /etc/hostname

Substitute a name of your choice for HOSTNAME, either manually or


David Wragg
Staff Engineer, RabbitMQ
SpringSource, a division of VMware

More information about the rabbitmq-discuss mailing list