私はEjabberdでerlangR14B01を使用していますが、LionでEjabberdを起動すると、エラーが表示され、理由を教えてくれます。ありがとうございます。ホスト設定があります{hosts, ["localhost"]}.
=INFO REPORT==== 2012-09-18 23:35:10 ===
application: ejabberd
exited: {bad_return,
{{ejabberd_app,start,[normal,[]]},
{'EXIT',
{badarg,
[{erlang,port_control,
[stringprep_port,2,"localhost"],
[]},
{stringprep,control,2,[]},
{jlib,nodeprep,1,[]},
{ejabberd_config,normalize_hosts,2,[]},
{ejabberd_config,add_hosts_to_option,2,[]},
{lists,foldl,3,[{file,"lists.erl"},{line,1197}]},
{ejabberd_config,load_file,1,[]},
{ejabberd_config,start,0,[]}]}}}}
type: temporary
=ERROR REPORT==== 2012-09-18 23:44:32 ===
Error in process <0.2102.0> on node 'ejabberd@localhost' with exit value: {{case_clause,{error,{open_error,-16}}},[{ejabberd_app,init,0,[]}]}
=INFO REPORT==== 2012-09-18 23:44:32 ===
application: ejabberd
exited: {bad_return,
{{ejabberd_app,start,[normal,[]]},
{'EXIT',
{badarg,
[{erlang,port_control,
[stringprep_port,2,"localhost"],
[]},
{stringprep,control,2,[]},
{jlib,nodeprep,1,[]},
{ejabberd_config,normalize_hosts,2,[]},
{ejabberd_config,add_hosts_to_option,2,[]},
{lists,foldl,3,[{file,"lists.erl"},{line,1197}]},
{ejabberd_config,load_file,1,[]},
{ejabberd_config,start,0,[]}]}}}}
type: temporary