ejabber crashes

Hello, I do not understand why my ejabber installation keeps crashing..
this is an installation of ejabberd on SME server.

Can anyone give me a hint? here is the log of /var/log/ejabberd.run/current

2009-05-21 12:24:58.723663500 + '[' '!' -f /var/lib/ejabberd/spool/schema.DAT ']'
2009-05-21 12:24:58.723670500 + '[' -f /home/e-smith/db/ejabberd/ejabberd.backup ']'
2009-05-21 12:24:58.723673500 + NODE=ejabberd
2009-05-21 12:24:58.725440500 ++ hostname
2009-05-21 12:24:58.728497500 ++ cut -d. -f1
2009-05-21 12:24:58.731238500 + HOST=mailtampone
2009-05-21 12:24:58.731455500 + EMU=beam
2009-05-21 12:24:58.731578500 + export EMU
2009-05-21 12:24:58.731689500 + LD_LIBRARY_PATH=/usr/lib/:/lib
2009-05-21 12:24:58.731793500 + export LD_LIBRARY_PATH
2009-05-21 12:24:58.731912500 + DYLD_LIBRARY_PATH=/usr/lib/:/lib
2009-05-21 12:24:58.732055500 + export DYLD_LIBRARY_PATH
2009-05-21 12:24:58.732168500 + ERL_MAX_PORTS=32000
2009-05-21 12:24:58.732268500 + export ERL_MAX_PORTS
2009-05-21 12:24:58.732372500 + ERL_INETRC_PATH=/etc/ejabberd/inetrc
2009-05-21 12:24:58.732475500 + export ERL_INETRC_PATH
2009-05-21 12:24:58.732583500 + SASL_LOG_PATH=/var/log/ejabberd/sasl.log
2009-05-21 12:24:58.732684500 + export SASL_LOG_PATH
2009-05-21 12:24:58.732799500 + EJABBERD_LOG_PATH=/var/log/ejabberd/ejabberd.log
2009-05-21 12:24:58.732904500 + export EJABBERD_LOG_PATH
2009-05-21 12:24:58.733050500 + EJABBERD_SO_PATH=/usr/lib/ejabberd/priv/lib
2009-05-21 12:24:58.733156500 + export EJABBERD_SO_PATH
2009-05-21 12:24:58.733332500 + EJABBERD_CONFIG_PATH=/etc/ejabberd/ejabberd.cfg
2009-05-21 12:24:58.733449500 + export EJABBERD_CONFIG_PATH
2009-05-21 12:24:58.733564500 + EJABBERD_MSGS_PATH=/usr/lib/ejabberd/priv/msgs
2009-05-21 12:24:58.733671500 + export EJABBERD_MSGS_PATH
2009-05-21 12:24:58.733775500 + EJABBERD_DB=/var/lib/ejabberd/spool
2009-05-21 12:24:58.733874500 + export EJABBERD_DB
2009-05-21 12:24:58.733995500 + HOME=/var/lib/ejabberd
2009-05-21 12:24:58.734087500 + export HOME
2009-05-21 12:24:58.734805500 + exec /usr/local/bin/setuidgid ejabberd erl -pa /usr/lib/ejabberd/ebin -noinput -smp auto +K false +P 250000 -sname ejabberd -mnesia dir '"/var/lib/ejabberd/spool"' -kernel inetrc '"//etc/ejabberd/inetrc"' -s ejabberd -ejabberd config '"/etc/ejabberd/ejabberd.cfg"' log_path '"/var/log/ejabberd/ejabberd.log"' -sasl sasl_error_logger '{file,"/var/log/ejabberd/sasl.log"}'
2009-05-21 12:24:59.027417500 {error_logger,{{2009,5,21},{12,24,59}},std_error,"File operation error: eacces. Target: //etc/ejabberd/inetrc. Function: get_file. Process: kernel_sup."}
2009-05-21 12:24:59.027549500 {error_logger,{{2009,5,21},{12,24,59}},"inet_config: file ~s not found~n",["//etc/ejabberd/inetrc"]}
2009-05-21 12:24:59.080164500 {error_logger,{{2009,5,21},{12,24,59}},{error,"Error when reading /var/lib/ejabberd/.erlang.cookie: eacces"},[]}
2009-05-21 12:24:59.080391500 {error_logger,{{2009,5,21},{12,24,59}},crash_report,[[{pid,<0.19.0>},{registered_name,auth},{error_info,{{error,"Error when reading /var/lib/ejabberd/.erlang.cookie: eacces"},[{auth,init_cookie,0},{auth,init,1},{gen_server,init_it,6},{proc_lib,init_p,5}]}},{initial_call,{gen,init_it,[gen_server,<0.17.0>,<0.17.0>,{local,auth},auth,[],[]]}},{ancestors,[net_sup,kernel_sup,<0.8.0>]},{messages,[]},{links,[<0.17.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,21},{reductions,372}],[]]}
2009-05-21 12:24:59.080608500 {error_logger,{{2009,5,21},{12,24,59}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{{error,"Error when reading /var/lib/ejabberd/.erlang.cookie: eacces"},[{auth,init_cookie,0},{auth,init,1},{gen_server,init_it,6},{proc_lib,init_p,5}]}},{offender,[{pid,undefined},{name,auth},{mfa,{auth,start_link,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
2009-05-21 12:24:59.080923500 {error_logger,{{2009,5,21},{12,24,59}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfa,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
2009-05-21 12:24:59.087580500 {error_logger,{{2009,5,21},{12,24,59}},crash_report,[[{pid,<0.7.0>},{registered_name,[]},{error_info,{shutdown,{kernel,start,[normal,[]]}}},{initial_call,{application_master,init,[<0.5.0>,<0.6.0>,{appl_data,kernel,[application_controller,erl_reply,auth,boot_server,code_server,disk_log_server,disk_log_sup,erl_prim_loader,error_logger,file_server_2,fixtable_server,global_group,global_name_server,heart,init,kernel_config,kernel_sup,net_kernel,net_sup,rex,user,os_server,ddll_server,erl_epmd,inet_db,pg2],undefined,{kernel,[]},[application,application_controller,application_master,application_starter,auth,code,code_aux,packages,code_server,dist_util,erl_boot_server,erl_distribution,erl_prim_loader,erl_reply,erlang,error_handler,error_logger,file,file_server,file_io_server,prim_file,global,global_group,global_search,group,heart,hipe_unified_loader,inet6_tcp,inet6_tcp_dist,inet6_udp,inet_config,inet_hosts,inet_gethost_native,inet_tcp_dist,init,kernel,kernel_config,net,net_adm,net_kernel,os,ram_file,rpc,user,user_drv,user_sup,disk_log,disk_log_1,disk_log_server,disk_log_sup,dist_ac,erl_ddll,erl_epmd,erts_debug,gen_tcp,gen_udp,prim_inet,inet,inet_db,inet_dns,inet_parse,inet_res,inet_tcp,inet_udp,pg2,seq_trace,wrap_log_reader,zlib,otp_ring0],[],infinity,infinity},normal]}},{ancestors,[<0.6.0>]},{messages,[{'EXIT',<0.8.0>,normal}]},{links,[<0.6.0>,<0.5.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,21},{reductions,2079}],[]]}
2009-05-21 12:24:59.087989500 {error_logger,{{2009,5,21},{12,24,59}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
2009-05-21 12:24:59.593260500 {"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}
2009-05-21 12:24:59.593269500 Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})

Your message says: "Error

Your message says: "Error when reading /var/lib/ejabberd/.erlang.cookie: eacces"

It seems ejabberd doesn't have access permission to read that file. Maybe you need to run ejabberd as root.

Syndicate content