ejabberd - Comments for "new install fails on ubuntu 12.04_x64 and ubuntu 13.10_x64" https://www.ejabberd.im/node/18728 en Thanks, work for me. https://www.ejabberd.im/node/18728#comment-64076 <p>Thanks, work for me.</p> Wed, 04 Jun 2014 15:28:13 +0000 ephillipe comment 64076 at https://www.ejabberd.im I guess you can install https://www.ejabberd.im/node/18728#comment-64015 <p>I guess you can install ejabberd using Ubuntu's software repository but I wanted to download/install using the binary installer.</p> <p>Not too long ago "ejabberd 14.05" got released so I tried this file:</p> <p> ejabberd-14.05-linux-x86_64-installer.run</p> <p>on Ubuntu 12.04 64bit.</p> <p>Installation goes well until it tries to run post install script:</p> <p> Error: Error running Post Install Script.<br /> The installation may have not completed correctly</p> <p>This is the same error when I tried ejabberd version 13.10 and 13.12.</p> <p>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?</p> <p>Things I did:</p> <p>* create "ejabberd" user on the system.<br /> * download 14.05 binary installer.<br /> * from here on do everything from "ejabberd" user account.<br /> * execute the binary installer.<br /> * post install script will fail. just let it fail. we will make some changes and re-run it.<br /> * at this point process "epmd" will be alive. just kill it.<br /> * go to this dir and create a symlink.<br /> cd &lt;ejabberd install dir&gt;/lib/linux-x86_64<br /> ln -sf libyaml-0.so.2.0.2 libyaml-0.so.2<br /> * then edit this file "&lt;ejabberd install dir&gt;/bin/ejabberdctl" by adding "bin" dir into PATH<br /> at the top of the script.</p> <p> ERL="$ROOT_DIR"/bin/erl<br /> INSTALLUSER=ejabberd</p> <p> +export PATH="&lt;ejabberd install dir&gt;/bin:${PATH}"</p> <p>* now run the post install script yourself.<br /> cd &lt;ejabberd install dir&gt;/bin<br /> ./postinstall.sh &lt;admin user name&gt; &lt;xmpp domain name&gt; &lt;admin password&gt;</p> <p>* now start ejabberd using:<br /> cd &lt;ejabberd install dir&gt;/bin<br /> sudo ./ejabberd.init start</p> <p>I'm not sure if I'm the only one having this issue. "ejabberd 2.1.13" worked on Ubuntu 12.04 64bit.</p> <p>ejabberd version 13.10, 13.12, 14.05 all failed on post install script.</p> Tue, 20 May 2014 07:48:59 +0000 bearchun comment 64015 at https://www.ejabberd.im Hello dear. I think OS not https://www.ejabberd.im/node/18728#comment-63965 <p>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</p> <p><strong> 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 </strong></p> <p>These packages will solve many problem when installing any package. like ejabberd, python upgrade, exmpp upgrade, php5 script supporting, yaml etc....</p> <p>Regards.</p> Fri, 09 May 2014 04:23:06 +0000 mks comment 63965 at https://www.ejabberd.im