Error message from erlang

Hi,

whats wrong with my ejabberd-installation.
I installed the optware-version on my Asus WL500gP with Oleg custom firmware.

$ erl -pa /opt/var/lib/ejabberd/ebin -s ejabberd -ejabberd config \"/opt/etc/ejabberd/ejabberd.cfg\" -kernel inetrc \"/opt
/etc/ejabberd/inetrc\"

Erlang R13B02 (erts-5.7.3) [source] [rq:1] [async-threads:0] [kernel-poll:false]

Eshell V5.7.3 (abort with ^G)
1>
=INFO REPORT==== 9-Oct-2009::13:25:03 ===
application: ejabberd
exited: {bad_return,
{{ejabberd_app,start,[normal,[]]},
{'EXIT',
{{case_clause,
{error,
{request,
{get_until,unicode,[],erl_scan,tokens,
[1]}}}},
[{epp_dodger,parse_form,4},
{epp_dodger,parse,5},
{ejabberd_loglevel,compile_string,2},
{ejabberd_loglevel,set,1},
{ejabberd_app,start,2},
{application_master,start_it_old,4}]}}}}
type: temporary

Thanks
Oliver

You are having this

You are having this compatibility problem. ejabberd 2.0.x isn't compatible with new Erlang R13.

You can either:

  • Use ejabberd 2.1.0-rc1 with Erlang R13
  • Use ejabberd 2.0.5 with Erlang R12
  • Use ejabberd 2.0.5 + the patch I mentioned with Erlang R13

Hi, thanks for this hint! I

Hi,

thanks for this hint!

I now compiled Version 2.1.0-rc1 and get the following error:

[admin@ASUS_WL500GP src]$ erl -pa /opt/var/lib/ejabberd/ebin -sname ejabberd -s ejabberd -ejabberd config \"/opt/etc/ejabberd/ejabberd.cfg\" log_path \"/opt/var/log/ejabberd.log\" -sasl sasl_error_logger \{file,\"/opt/var/log/ejabberd_sasl.log\"\} -kernel inetrc \"/opt/etc/ejabberd/inetrc\"
Erlang R13B02 (erts-5.7.3) [source] [rq:1] [async-threads:0] [kernel-poll:false]

Eshell V5.7.3 (abort with ^G)
(ejabberd@ASUS_WL500GP)1>
=ERROR REPORT==== 14-Oct-2009::09:51:01 ===
Error in process <0.110.0> on node 'ejabberd@ASUS_WL500GP' with exit value: {{case_clause,{error,{open_error,-10}}},[{ejabberd_app,init,0}]}

=INFO REPORT==== 14-Oct-2009::09:51:02 ===
application: ejabberd
exited: {bad_return,
{{ejabberd_app,start,[normal,[]]},
{'EXIT',
{badarg,
[{erlang,port_control,
[stringprep_port,2,"polch.homedns.org"]},
{stringprep,control,2},
{jlib,nodeprep,1},
{ejabberd_config,normalize_hosts,2},
{ejabberd_config,add_hosts_to_option,2},
{lists,foldl,3},
{ejabberd_config,load_file,1},
{ejabberd_config,start,0}]}}}}
type: temporary

Regards
Oliver

Re: Error message from erlang

Your new error means: "cannot open shared object file: No such file or directory", i.e. ejabberd is unable to find or load stringprep_drv.so. Are you sure it was compiled correctly?

Syndicate content