ejabberd - Comments for "Unable to login" https://www.ejabberd.im/node/1668 en EJABBERD_SO_PATH https://www.ejabberd.im/node/1668#comment-33730 <p>Hello,</p> <p>as a default ejabberd looks for .so files in the current directory. If those file are somewhere else, you can define the environment variable EJABBERD_SO_PATH to point to the directory where your .so files are.</p> Sat, 28 Jul 2007 09:43:41 +0000 Mickaël Rémond comment 33730 at https://www.ejabberd.im Can't find expat_erl.so https://www.ejabberd.im/node/1668#comment-33726 <div class="quote-msg"> <div class="quote-author"><em>draven</em> wrote:</div> <p>I'm not able to login or register from a client, like gaim.</p> <p>When a client connects and tries to register, I see:</p> <p>sh: line 0: exec: expat_erl: not found</p> <p>I can't find any executables for expat_erl on my system.</p></div> <p>I think the start command and config file are correct. However, ejabberd needs expat_erl.so to handle XMPP packets. </p> <p>If I remove that file in my ejabberd installation, I get this message while ejabberd is started:</p> <div class="codeblock"><code>...<br />=ERROR REPORT==== 28-Jul-2007::10:40:12 ===<br />Error in process &lt;0.234.0&gt; on node &#039;eja3@atenea&#039; with exit value: <br />{{case_clause,{error,{open_error,-10}}},[{ejabberd_app,init,0}]}<br />...</code></div> <p>Also, when I try to establish any XMPP connection (create account, login...), I get the error message you mentioned:</p> <div class="codeblock"><code>=INFO REPORT==== 28-Jul-2007::10:41:28 ===<br />I(&lt;0.247.0&gt;:ejabberd_listener:90) : (#Port&lt;0.397&gt;) Accepted connection {{81,202,72,241},33282} -&gt; {{10,10,10,1},5222} <p>sh: line 0: exec: expat_erl: not found</p> <p>=ERROR REPORT==== 28-Jul-2007::10:41:28 ===<br />...</p></code></div> <p>So, it seems your problem is that erlang can't find the file expat_erl.so. If it is compiled, but was not installed, you can try to copy it to the ebin/ directory where you have all the other *.beam files.</p> <p>If you still have problems, maybe you still miss other files. In ejabberd 1.1.3 I have all those libraries: expat_erl.so iconv_erl.so stringprep_drv.so tls_drv.so ejabberd_zlib_drv.so</p> Sat, 28 Jul 2007 09:00:50 +0000 mfoss comment 33726 at https://www.ejabberd.im