Hi,
I am having a problem installing ejabberd on a macbook pro intel core i5 using the binary installers such as
install.log:
Unpacking /Users/conorroche/Library/PreferencePanes/ejabberd.prefPane/Contents/MacOS/ejabberd
Executing final installation script
Error executing post installation script
/Applications/ejabberd-2.1.8/bin/postinstall.sh
\child process exited abnormally
ejabberd.log:
=ERROR REPORT==== 2011-07-20 08:26:02 ===
Error in process <0.99.0> on node 'ejabberd@localhost' with exit value: {{case_clause,{error,{open_error,-12}}},[{ejabberd_app,init,0}]}
=INFO REPORT==== 2011-07-20 08:26:02 ===
application: ejabberd
exited: {bad_return,
{{ejabberd_app,start,[normal,[]]},
{'EXIT',
{badarg,
[{erlang,port_control,
[stringprep_port,2,
"localdeveloper-xmpp.avego.com"]},
{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
erlang.log:
=PROGRESS REPORT==== 20-Jul-2011::08:26:02 ===
application: mnesia
started_at: ejabberd@localhost
=CRASH REPORT==== 20-Jul-2011::08:26:02 ===
crasher:
pid: <0.96.0>
registered_name: crypto_server
exception exit: nodriver
in function gen_server:init_it/6
initial call: gen:init_it(gen_server,<0.95.0>,<0.95.0>,
{local,crypto_server},
crypto_server,[],[])
ancestors: [crypto_sup,<0.94.0>]
messages: []
links: [<0.95.0>,#Port<0.178>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 23
reductions: 704
neighbours:
=SUPERVISOR REPORT==== 20-Jul-2011::08:26:02 ===
Supervisor: {local,crypto_sup}
Context: start_error
Reason: nodriver
Offender: [{pid,undefined},
{name,crypto_server},
{mfa,{crypto_server,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=CRASH REPORT==== 20-Jul-2011::08:26:02 ===
crasher:
pid: <0.93.0>
registered_name: []
exception exit: {shutdown,{crypto_app,start,[normal,[]]}}
in function application_master:init/4
initial call: application_master:init(<0.5.0>,<0.92.0>,
{appl_data,crypto,
[crypto_sup,crypto_server],
undefined,
{crypto_app,[]},
[crypto,crypto_app,crypto_sup,
crypto_server],
[],infinity,infinity},
normal)
ancestors: [<0.92.0>]
messages: [{'EXIT',<0.94.0>,normal}]
links: [<0.92.0>,<0.5.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 377
stack_size: 23
reductions: 92
neighbours:
=CRASH REPORT==== 20-Jul-2011::08:26:02 ===
crasher:
pid: <0.98.0>
registered_name: stringprep
exception exit: {{case_clause,{error,{open_error,-12}}},
[{stringprep,init,1},
{gen_server,init_it,6},
{proc_lib,init_p,5}]}
in function gen_server:init_it/6
initial call: gen:init_it(gen_server,<0.97.0>,<0.97.0>,
{local,stringprep},
stringprep,[],[])
ancestors: [stringprep_sup,<0.36.0>]
messages: []
links: [<0.97.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 377
stack_size: 23
reductions: 112
neighbours:
=SUPERVISOR REPORT==== 20-Jul-2011::08:26:02 ===
Supervisor: {local,stringprep_sup}
Context: start_error
Reason: {{case_clause,{error,{open_error,-12}}},
[{stringprep,init,1},
{gen_server,init_it,6},
{proc_lib,init_p,5}]}
Offender: [{pid,undefined},
{name,stringprep},
{mfa,{stringprep,start_link,[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=CRASH REPORT==== 20-Jul-2011::08:26:02 ===
crasher:
pid: <0.35.0>
registered_name: []
exception exit: {bad_return,
{{ejabberd_app,start,[normal,[]]},
{'EXIT',
{badarg,
[{erlang,port_control,
[stringprep_port,2,
"localdeveloper-xmpp.avego.com"]},
{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}]}}}}
in function application_master:init/4
initial call: application_master:init(<0.5.0>,<0.34.0>,
{appl_data,ejabberd,
[ejabberd,ejabberd_sup,
ejabberd_auth,ejabberd_router,
ejabberd_sm,ejabberd_s2s,
ejabberd_local,ejabberd_listeners,
ejabberd_iq_sup,
ejabberd_service_sup,
ejabberd_s2s_out_sup,
ejabberd_s2s_in_sup,
ejabberd_c2s_sup,
ejabberd_mod_roster,
ejabberd_mod_echo,
ejabberd_mod_pubsub,
ejabberd_mod_irc,ejabberd_mod_muc,
ejabberd_offline,random_generator],
undefined,
{ejabberd_app,[]},
[acl,adhoc,configure,
cyrsasl_anonymous,cyrsasl,
cyrsasl_digest,cyrsasl_plain,
ejabberd_admin,ejabberd_app,
ejabberd_auth_anonymous,
ejabberd_auth,
ejabberd_auth_external,
ejabberd_auth_internal,
ejabberd_auth_ldap,
ejabberd_auth_odbc,
ejabberd_auth_pam,ejabberd,
ejabberd_c2s,ejabberd_c2s_config,
ejabberd_config,ejabberd_ctl,
ejabberd_frontend_socket,
ejabberd_hooks,ejabberd_http,
ejabberd_http_bind,
ejabberd_http_poll,
ejabberd_listener,ejabberd_local,
ejabberd_logger_h,
ejabberd_loglevel,
ejabberd_node_groups,
ejabberd_rdbms,ejabberd_receiver,
ejabberd_router,ejabberd_s2s,
ejabberd_s2s_in,ejabberd_s2s_out,
ejabberd_service,ejabberd_sm,
ejabberd_socket,ejabberd_sup,
ejabberd_system_monitor,
ejabberd_tmp_sup,ejabberd_update,
ejabberd_web_admin,ejabberd_web,
ejabberd_zlib,ejd2odbc,eldap,
eldap_filter,eldap_pool,
eldap_utils,'ELDAPv3',extauth,
gen_iq_handler,gen_mod,
gen_pubsub_node,
gen_pubsub_nodetree,iconv,idna,
jd2ejd,jlib,mod_adhoc,
mod_announce,mod_caps,
mod_configure2,mod_configure,
mod_disco,mod_echo,mod_http_bind,
mod_http_fileserver,mod_irc,
mod_irc_connection,mod_last,
mod_last_odbc,mod_muc,mod_muc_log,
mod_muc_room,mod_offline,
mod_offline_odbc,mod_privacy,
mod_privacy_odbc,mod_private,
mod_private_odbc,mod_proxy65,
mod_proxy65_lib,
mod_proxy65_service,
mod_proxy65_sm,mod_proxy65_stream,
mod_pubsub,mod_register,
mod_roster,mod_roster_odbc,
mod_service_log,mod_shared_roster,
mod_stats,mod_time,mod_vcard,
mod_vcard_ldap,mod_vcard_odbc,
mod_version,node_buddy,node_club,
node_default,node_dispatch,
node_pep,node_private,node_public,
nodetree_default,nodetree_virtual,
p1_fsm,p1_mnesia,p1_prof,randoms,
sha,shaper,stringprep,
stringprep_sup,tls,translate,xml,
xml_stream,'XmppAddr'],
[],infinity,infinity},
normal)
ancestors: [<0.34.0>]
messages: []
links: [<0.34.0>,<0.36.0>,<0.5.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 23
reductions: 171
neighbours:
i have tried it on both osx 10.6.7 and 10.6.8 and still the same problem.
Does anyone know what the above error messages mean and how i can fix it?
Thanks,
Conor
Related:
Related:http://souja.net/2008/10/erlang-error-openerror-12.html
Hi I have the same problem
Hi
I have the same problem with 2.1.8. However, I tried building 2.1.6 from source without using the installer and it worked, seemingly. I can get the server up and running, see the web-admin page, create users from the command line, etc but when I try to connect from psi using a created account, I get an error that connection cannot be established.
Will try building 2.1.8 and post the result here.
Krishnan.
i've same problem too. what i
i've same problem too. what i can see here is
ejabberdctl source
case `uname -m` in
i[3456]86 ) CPU="x86" ;;
i86pc) CPU="x86" ;;
x86) CPU="x86" ;;
<strong>x86_64) CPU="amd64" ;;</strong>
ppc) CPU="powerpc" ;;
arm*b) CPU="armeb" ;;
arm*) CPU="arm" ;;
* ) CPU=`uname -p | tr A-Z a-z` ;;
esac
but inside the /path/to/ejabberd/lib/darwin-amd64 is not exists base on part of ejabberdctl source
ARCHDIR=${OS}-${CPU}
LD_LIBRARY_PATH="$ROOTDIR/lib/$ARCHDIR"