Expat_erl not found prblem

Hi All,
I installed ejabbered 1.1.4 from source code in my CentOS Box.
Following the instructions from the URL http://www.ejabberd.im/tuto-install-ejabberd.
After I installed,executed the command to run the ejabberd server.
while connecting from pidgin to ejabberd server,"expat_erl not found" error am getting on the server terminal.
I found a URl relating to the "expat_erl not found" ----- http://www.ejabberd.im/node/2710.
I tried all those steps like set LD_LIBRARY_PATH,LD_RUN_PATH and EJABBERD_SO_PATH.I couldn't resolve the issue.

Can anyone help me out ..pls

Thanks in Advance,
Shiva.

Ensure the file expat_erl.so is compiled and installed

I compiled and installed ejabberd 2.0.0-rc1 from source code. It ran correctly, and I could create an account and login.

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:

=INFO REPORT==== 4-Feb-2008::10:57:23 ===
I(<0.271.0>:ejabberd_listener:112) : (#Port<0.475>) Accepted connection 
   {{127,0,0,1},59980} -> {{127,0,0,1},5222}
exec: 1: expat_erl: not found

=ERROR REPORT==== 4-Feb-2008::10:57:23 ===
** Generic server <0.696.0> terminating
** Last message in was {tcp,#Port<0.475>,
...
** Reason for termination ==
** {badarg,[{erlang,port_close,[#Port<0.480>]},
            {xml_stream,close,1},
            {ejabberd_receiver,terminate,2},
            {gen_server,terminate,6},
            {proc_lib,init_p,5}]}

...

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.

Syndicate content