ejabberd - Comments for "Expat_erl not found prblem" https://www.ejabberd.im/node/2814 en Ensure the file expat_erl.so is compiled and installed https://www.ejabberd.im/node/2814#comment-51730 <p>I compiled and installed ejabberd 2.0.0-rc1 from source code. It ran correctly, and I could create an account and login. </p> <p>Then I stopped ejabberd, deleted the file /var/lib/ejabberd/priv/lib/expart_erl.so and started ejabberd again. When I tried to connect with the same Jabber client, ejabberd complained a lot in the log files:</p> <pre>=INFO REPORT==== 4-Feb-2008::10:57:23 === I(&lt;0.271.0&gt;:ejabberd_listener:112) : (#Port&lt;0.475&gt;) Accepted connection {{127,0,0,1},59980} -&gt; {{127,0,0,1},5222} exec: 1: expat_erl: not found =ERROR REPORT==== 4-Feb-2008::10:57:23 === ** Generic server &lt;0.696.0&gt; terminating ** Last message in was {tcp,#Port&lt;0.475&gt;, ... ** Reason for termination == ** {badarg,[{erlang,port_close,[#Port&lt;0.480&gt;]}, {xml_stream,close,1}, {ejabberd_receiver,terminate,2}, {gen_server,terminate,6}, {proc_lib,init_p,5}]} ...</pre><p> You should check the file expat_erl.so was compiled and installed correctly. If not, maybe you need to install the library 'Libexpat 1.95 or higher' and recompile and install ejabberd.</p> Mon, 04 Feb 2008 10:03:50 +0000 mfoss comment 51730 at https://www.ejabberd.im