Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7967423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:41:46+00:00 2026-06-04T06:41:46+00:00

I duplicated an EC2 image (created an image from the EBS, then created an

  • 0

I duplicated an EC2 image (created an image from the EBS, then created an AMI and started a new instance from that AMI). The EC2 image is running debian.

On old the machine there was an instance of ejabberd running. On the new machine ejabberd has problems to start. When I ask

ejabberctl show

it gives

RPC failed on the node ejabberd@localhost: node down

I tried to change the ERLANG_NODE variable with localhost, dns name and ip, but always get the same error.

I tried to reinstall both erlang-base and ejabberd, but does not change.

The odd is that after some tests on the new machine, the old machine has problems and if I stop the old machine, the new machine seems to run correctly.

It looks like the two copies belongs to the same cluster and disturb each other.

Any idea of what’s going on?

UPDATE:
I searched for the .erlang.cookie file in the filesystem, but cannot find it. However, I tried to create an empty one in home, but it did not work.

I tried to remove the package and purge the conf files (apt-get remove –purge) and reinstall them. Now it seems it is working. It looks like when I created the AMI, I also copied some information that made jabber connecting to the old cluster, or something like that.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T06:41:48+00:00Added an answer on June 4, 2026 at 6:41 am

    Clean up your ejabberd deployment.

    ^ejab/var/log/ejabberd/*
    ^ejab/var/lib/ejabberd/*
    

    Mnesia leftovers in lib hold host info.
    Inspect log files and check why it is failing (if still it cannot start)

    Check with ps -ef | grep ejabberd if process is running.
    Telnet to pre-configured ejabberd port.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Find out the instance id from within an ec2 machine I am
I want a Perl regular expression that will match duplicated words in a string.
I am sure that my in my hashtable, there is no duplicated value and
I have a problem of listing duplicated rows that include NULL columns. Lemme show
I have a form that can be dynamically duplicated (with JS) so that the
My goal is to select value from EmbedImgDimension column where in lots of duplicated
I got that line of code and it's getting duplicated a lot myString =
I need to bring back only one of the records from a duplicated row
I'd like to transform a table in such a way that for duplicated values
i have a table that somehow got duplicated. i basically want to delete all

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.