ejabberd - Comments for "Ejabberd 3.0.0-alpha-2 fails to start" https://www.ejabberd.im/node/4640 en Quite probably you have to https://www.ejabberd.im/node/4640#comment-57301 <p>Quite probably you have to change to #xmlel.</p> Tue, 10 May 2011 22:40:46 +0000 mfoss comment 57301 at https://www.ejabberd.im That worked like a https://www.ejabberd.im/node/4640#comment-57287 <p>That worked like a charm....:) Thanks.</p> <p>One other quick question. I have a 2.x module that I want to test against 3.x and the question is with regards to the new exmpp library XML elements. Should I switch to #xmlel or continue using #xmlelement or it does not matter?</p> Thu, 05 May 2011 16:16:54 +0000 kailesmith comment 57287 at https://www.ejabberd.im Re https://www.ejabberd.im/node/4640#comment-57282 <div class="quote-msg"> <div class="quote-author"><em>kailesmith</em> wrote:</div> <p>The problem is that the prebuilt binary at the site packages a crypto as part of ejabberd 3.0.0-alpha2 that is hardcoded to 0.9.8. I thought I would be smart and copy the crytp.so from crypto-R14B-02.1.fc14.x86_64 to the local install, but now I have a version clash...:(</p></div> <p>Maybe you can copy that specific SO file into the ejabberd installed dir, with other ejabberd SO files.</p> <div class="quote-msg"> <div class="quote-author"><em>kailesmith</em> wrote:</div> <p>I have downloaded 3.0.0-alpha2 source and have it compiled. Can you give me a link or any hints on how to configure and run it from the source tree? Sorry for the all the bother, but being new to both erlang and ejabberd the learning experience is steeper than usual.</p></div> <p>Check the ejabberd Guide html or pdf, section "Compile".</p> <p>An optimistic admin can do:<br /> cd src<br /> ./configure --prefix=/tmp/ejabberd-test<br /> make<br /> make install<br /> cd /tmp/ejabberd-test/sbin/ejabberdctl live</p> Thu, 05 May 2011 11:58:46 +0000 mfoss comment 57282 at https://www.ejabberd.im The problem is that the https://www.ejabberd.im/node/4640#comment-57279 <p>The problem is that the prebuilt binary at the site packages a crypto as part of ejabberd 3.0.0-alpha2 that is hardcoded to 0.9.8. I thought I would be smart and copy the crytp.so from crypto-R14B-02.1.fc14.x86_64 to the local install, but now I have a version clash...:(</p> <p>I have downloaded 3.0.0-alpha2 source and have it compiled. Can you give me a link or any hints on how to configure and run it from the source tree? Sorry for the all the bother, but being new to both erlang and ejabberd the learning experience is steeper than usual.</p> Wed, 04 May 2011 23:20:15 +0000 kailesmith comment 57279 at https://www.ejabberd.im two paths https://www.ejabberd.im/node/4640#comment-57278 <p>crypto.so is part of erlang/otp, specifically its library 'crypto'. See for example in debian: <noindex><a href="http://packages.debian.org/sid/i386/erlang-crypto/filelist" title="http://packages.debian.org/sid/i386/erlang-crypto/filelist" rel="nofollow" >http://packages.debian.org/sid/i386/erlang-crypto/filelist</a></noindex><br /> You can download the tar.gz from erlang.org or git from <noindex><a href="https://github.com/erlang/otp" title="https://github.com/erlang/otp" rel="nofollow" >https://github.com/erlang/otp</a></noindex></p> <p>Alternative 2: install all the erlang packages provided by your fedora. Then download ejabberd 3.0.0-alpha2 source code, and compile it.<br /> The reason: it's easier and faster to compile ejabberd than all (or part of) Erlang/OTP.</p> Wed, 04 May 2011 21:52:46 +0000 mfoss comment 57278 at https://www.ejabberd.im Openssl hardcoded to 0.9.8 in 3.0.0-alpha2 https://www.ejabberd.im/node/4640#comment-57277 <p>strings priv/lib/crypto.so | grep 0.9.8<br /> libcrypto.so.0.9.8<br /> OPENSSL_0.9.8</p> <p>shows definitely that it is linked to 0.9.8. It would be hard to downgrade without impacting every other application on the system. Other choice is to install 0.9.8 also. I was wondering if the source for crpto.so is anywhere so I can rebuilt that as it will be a lot easier.</p> Wed, 04 May 2011 21:22:15 +0000 kailesmith comment 57277 at https://www.ejabberd.im Install also 0.9.8 https://www.ejabberd.im/node/4640#comment-57268 <p>Probably the compiler links it to 0.9.8.</p> <p>I have both libssl 0.9.8 and 1.0.0 installed in my Debian.</p> Mon, 02 May 2011 11:05:38 +0000 mfoss comment 57268 at https://www.ejabberd.im Hardcode OpenSSL library version? https://www.ejabberd.im/node/4640#comment-57267 <p>1. Yes, it does contain crypto.beam</p> <p>2. ./bin/ejabberdctl live gives the following error:<br /> Eshell V5.8.2 (abort with ^G)<br /> (ejabberd@localhost)1&gt;<br /> =ERROR REPORT==== 1-May-2011::08:44:54 ===<br /> Failed to load driver "exmpp_tls_openssl": libssl.so.0.9.8: cannot open shared object file: No such file or directory<br /> ....</p> <p>3. OpenSSL is installed but is version openssl-1.0.0d-1.fc14.x86_64. I am suspecting that this is hard coded in crypto.so. Is that the case? (Don't have the source for it)</p> Sun, 01 May 2011 15:59:18 +0000 kailesmith comment 57267 at https://www.ejabberd.im kailesmith wrote: Checked https://www.ejabberd.im/node/4640#comment-57243 <div class="quote-msg"> <div class="quote-author"><em>kailesmith</em> wrote:</div> <p>Checked installation path/lib/crypto-2.0.2/ebin</p></div> <p>Does that dir contain crypto.beam?</p> <p>Try that:<br /> 1. ./bin/ejabberdctl live<br /> 2. Then type: crypto:start().</p> Fri, 22 Apr 2011 18:53:04 +0000 mfoss comment 57243 at https://www.ejabberd.im