views:

592

answers:

1

I have setup an Ubuntu 8.10 server instance on Amazon EC2. I install ejabberd on server, but I face some problems on ejabberd node can't start because hostname on cloud changes each time we relaunch the instance. After I follow this link http://blog.kenweiner.com/2008/05/ejabberd-on-amazon-ec2-ubuntu-ami.html to edit and add hostname in /etc/hosts file, it works. Unfortunately, every time I reboot the server, the /etc/hosts file get reset to default.

How could I solve this problem?

+3  A: 

This is a known problem with the current Ubuntu images for EC2 built by Canonical:

https:// bugs.launchpad.net/ubuntu-on-ec2/+bug/371936

You can wait for the next release from Canonical or run the Ubuntu images for EC2 which I publish on http:// alestic.com (and which do not have the same problem).

I have successfully run ejabberd on the Alestic.com images.

Eric Hammond