jabberd 2.0s3
Jacek Konieczny
jajcus w bnet.pl
Śro, 29 Wrz 2004, 15:49:17 CEST
On Wed, Sep 29, 2004 at 03:00:26PM +0200, Bartosz Taudul wrote:
> On Wed, Sep 29, 2004 at 02:51:10PM +0200, Jacek Konieczny wrote:
> > A ejabberd wcześniej odpaliłeś?
> >
> > Wyczyść /var/lib/ejabberd i daj /etc/rc.d/init.d/ejabberd start. Potem
> > zajrzyj do /var/log/ejabberd.
> [14:57 root w bajzel:~]# rm /var/lib/ejabberd/*
> zsh: sure you want to delete all the files in /var/lib/ejabberd [yn]? y
> [14:57 root w bajzel:~]# /etc/rc.d/init.d/ejabberd start
> * Uruchamianie usługi ejabberd....................................[ ZROBIONE ]
> [14:57 root w bajzel:~]# ls -l /var/lib/ejabberd
> razem 152
> -rw-r----- 1 jabber jabber 152820 2004-09-29 14:57 erl_crash.dump
Czyli się wykrzaczył. Co jest w /var/log/ejabberd?
> [14:57 root w bajzel:~]# /etc/rc.d/init.d/ejabberd stop
> * Zatrzymywanie usługi ejabberd......................................{error_logger,{{2004,9,29},{14,58,9}},'Failed to create cookie file',[]}
> {error_logger,{{2004,9,29},{14,58,9}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'Failed to create cookie file',[{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}]}]}
> {error_logger,{{2004,9,29},{14,58,9}},crash_report,[[{pid,<0.17.0>},{registered_name,auth},{error_info,{'Failed to create cookie file',[{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.15.0>,<0.15.0>,{local,auth},auth,[],[]]}},{ancestors,[net_sup,kernel_sup,<0.8.0>]},{messages,[]},{links,[<0.15.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,21},{reductions,1138}],[]]}{error_logger,{{2004,9,29},{14,58,9}},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}]}]}
> {error_logger,{{2004,9,29},{14,58,9}},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,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,old_file_server,file_io_server,prim_file,global,global_group,global_search,group,heart,hipe_unified_loader,hipe_sparc_loader,hipe_x86_loader,hipe_pack_constants,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,socks5,socks5_auth,socks5_tcp,socks5_udp,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,987},{stack_size,21},{reductions,1058}],[]]}
> {error_logger,{{2004,9,29},{14,58,9}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
> {"Kernel pid terminated",application_controller,shutdown}
> [ PROBLEMY ]
Tu najwyżej możnaby jakieś 2>/dev/null dać do skryptu. Zatrzymanie się
nie udaje, bo usługa nie działa.
Dla pewności możesz jeszcze sprawdzić z: ps -u jabber
Pozdrowienia,
Jacek
Więcej informacji o liście dyskusyjnej pld-devel-pl