"epmd: command not found" after Ejabberd installation

I am trying to install/setup Ejabberd on an Amazon EC2 server. After installing all of the support libraries/programs, I enter in the following command:
"sudo ejabberdctl start"
and I get the following response back:
"/sbin/ejabberdctl: lint 356: epmd: command not found"

I have been searching the web for a solution, but all I can find is documentation on what epmd is/does.

After getting a clean setup on the server, I followed the following installation path:
01.) Installed: gcc, make, gcc-c++ (all versions = latest Amazon repository version)
02.) Installed: zlip 1.2.3
03.) Checked for Openssl and Openssl-devel -- Openssl version > 0.9.8 (forget exact version, I can get it if needed)
04.) Installed: missing Openssl-devel (version = latest Amazon repository version)
05.) Installed: Expat 2.1.0
06.) Installed: ncurses-devel (version = latest Amazon repository version)
07.) Installed: Erlang (14B01 first, then R15B01)
08.) Installed: autoconf, automake, libtool (all versions = latest Amazon repository version)
09.) Installed: EXMPP (version = latest under mainline git link) -- After downloading via git, I had to autoreconf -i in order to ./configure
10.) Installed: Ejabberd 2.1.11 -- After downloading via git, I had to execute aclocal and autoconf in order to ./configure

Any help would be appreciated. Please let me know if you need any additional information from me. This is the first time that I am installing on a remote server, and the second time installing Ejabberd all together (the first time was an install on this computer).

Thanks,
AeroBuffalo

This is too complex approach

This is too complex approach and it means you have gone wrong somewhere. Actually, I installed ejabberd on EC2 in about 3 steps following this tutorial:

http://blog.kenweiner.com/2008/05/ejabberd-on-amazon-ec2-ubuntu-ami.html

All you need is too install ejabberd and open corresponding ports (programmatically or using EC2 web interface).
If you want to run status command, then go to the bin folder and run it like this:

/Applications/ejabberd-2.1.13/bin: $ sudo ./ejabberdctl status

"epmd: command not found"

Thanks You Much !!!!!
My Issue has been fixed as per you have above steps mentioned.

Thanks
Sushant

The problem is epmd isn't in

The problem is epmd isn't in the path of the ejabberdctl script.

The (quick fix) is at the top of bin/ejabberdctl, add in:

PATH=$PATH:$(dirname $(readlink -f $0))

under INSTALLUSER=

We integrated a fix, but in

We integrated a fix, but in another form. If you want to test, the patch is here:
https://github.com/processone/ejabberd/commit/7976d3eb4810420a26b5e556dd...

Syndicate content