I am installing from the ports on freebsd 6.2.
I made these changes to the config file:
loon# diff ejabberd.cfg.example ejabberd.cfg
2a3,4
> override_global.
> override_local.
80c82
< {auth_method, internal}.
---
> %{auth_method, internal}.
100c102
< {hosts, ["localhost"]}.
---
> {hosts, ["intranet.seamanpaper.com"]}.
113a116
> {host_config, "intranet.seamanpaper.com", [{auth_method, [anonymous, internal]}]}.
It crashes like this:
=PROGRESS REPORT==== 1-May-2007::13:28:18 ===
application: ssl
started_at: ejabberd@loon
=CRASH REPORT==== 1-May-2007::13:28:18 ===
crasher:
pid: <0.34.0>
registered_name: []
error_info: {bad_return,{{ejabberd_app,start,[normal,[]]},
{'EXIT',{{badmatch,{aborted,{no_exists,config}}},
[{ejabberd_config,set_opts,1},
{ejabberd_app,start,2},
{application_master,start_it_old,
4}]}}}}
initial_call: {application_master,
init,
[<0.5.0>,
<0.33.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,
configure,
cyrsasl,
cyrsasl_digest,
cyrsasl_plain,
ejabberd,
ejabberd_app,
ejabberd_auth,
ejabberd_c2s,
ejabberd_config,
ejabberd_listener,
ejabberd_logger_h,
ejabberd_local,
ejabberd_router,
ejabberd_s2s,
ejabberd_s2s_in,
ejabberd_s2s_out,
ejabberd_service,
ejabberd_sm,
ejabberd_sup,
ejabberd_tmp_sup,
gen_iq_handler,
gen_mod,
jd2ejd,
jlib,
mod_configure,
mod_disco,
mod_echo,
mod_last,
mod_offline,
mod_private,
mod_register,
mod_roster,
mod_stats,
mod_time,
mod_vcard,
mod_version,
randoms,
sha,
shaper,
translate,
xml,
xml_stream],
[],
infinity,
infinity},
normal]}
ancestors: [<0.33.0>]
messages: [{'EXIT',<0.35.0>,normal}]
links: [<0.33.0>,<0.5.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 21
reductions: 2041
neighbours:
There's no problem writing into the "mnesia" directory, which is /var/spool/ejabberd. There are some files in there.
retry
I removed the package, including the database, and started over. I'm using just the example config file with the hosts line edited to use my domain.
It started up, and created nothing in /var/log/ejabberd. It left these two files in /var/spool/ejabberd: .erlang.cookie erl_crash.dump
The dump file begins like this:
=erl_crash_dump:0.1
Tue May 1 13:50:33 2007
Slogan: Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
System version: Erlang (BEAM) emulator version 5.5.3 [source] [async-threads:0] [hipe]
Compiled: Tue May 1 09:49:01 2007
Atoms: 3620
=memory
total: 2815684
processes: 185490
processes_used: 177354
.
.
.