new install fails on ubuntu 12.04_x64 and ubuntu 13.10_x64

I tried these binary installers just to test out ejabberd.

ejabberd-13.10-linux-x86_64-installer.run
ejabberd-13.12-linux-x86_64-installer.run
ejabberd-2.1.13-linux-x86_64-installer.run

ejabberd-13.10 and ejabberd-13.12 both fails to install on Ubuntu 12.04_x64 and Ubuntu 13.10_x64. It will fail with Post Install script failure.

ejabberd-2.1.13 will install and run on both Ubuntu 12.04_x64 and Ubuntu 13.10_x64.

Can you install these binary installers on Ubuntu 12.04 or 13.10?

I could provide more log data but can anybody confirm that they can just install the binary installer on these Ubuntu versions?

Hello dear. I think OS not

Hello dear. I think OS not supporting to properly configure ejabberd. I did selected some packages for install before ejabberd installation. Try to apply these packages

sudo apt-get -y install libpq-dev python-dev python-psycopg2 libreadline-dev libncursesw5-dev zlib1g-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev build-essential libncurses5-dev imagemagick libexpat1-dev openssl erlang-dev erlang-tools erlang expat erlang-nox otp rebar libyaml-0* libpam0g-dev libpam-runtime git git-core erlang-manpages python-software-properties

These packages will solve many problem when installing any package. like ejabberd, python upgrade, exmpp upgrade, php5 script supporting, yaml etc....

Regards.

I guess you can install

I guess you can install ejabberd using Ubuntu's software repository but I wanted to download/install using the binary installer.

Not too long ago "ejabberd 14.05" got released so I tried this file:

ejabberd-14.05-linux-x86_64-installer.run

on Ubuntu 12.04 64bit.

Installation goes well until it tries to run post install script:

Error: Error running Post Install Script.
The installation may have not completed correctly

This is the same error when I tried ejabberd version 13.10 and 13.12.

So, this time I looked into logs and tried to get it to work and these were the changes I had to make in order for post install script to work. Maybe these changes can go into the installer so it will just work on Ubuntu 12.04?

Things I did:

* create "ejabberd" user on the system.
* download 14.05 binary installer.
* from here on do everything from "ejabberd" user account.
* execute the binary installer.
* post install script will fail. just let it fail. we will make some changes and re-run it.
* at this point process "epmd" will be alive. just kill it.
* go to this dir and create a symlink.
cd <ejabberd install dir>/lib/linux-x86_64
ln -sf libyaml-0.so.2.0.2 libyaml-0.so.2
* then edit this file "<ejabberd install dir>/bin/ejabberdctl" by adding "bin" dir into PATH
at the top of the script.

ERL="$ROOT_DIR"/bin/erl
INSTALLUSER=ejabberd

+export PATH="<ejabberd install dir>/bin:${PATH}"

* now run the post install script yourself.
cd <ejabberd install dir>/bin
./postinstall.sh <admin user name> <xmpp domain name> <admin password>

* now start ejabberd using:
cd <ejabberd install dir>/bin
sudo ./ejabberd.init start

I'm not sure if I'm the only one having this issue. "ejabberd 2.1.13" worked on Ubuntu 12.04 64bit.

ejabberd version 13.10, 13.12, 14.05 all failed on post install script.

Thanks, work for me.

Thanks, work for me.

Syndicate content