Skip to content

Instantly share code, notes, and snippets.

@onlyshk
Created February 6, 2012 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save onlyshk/1751337 to your computer and use it in GitHub Desktop.
Save onlyshk/1751337 to your computer and use it in GitHub Desktop.
sudo -u ejabberd /usr/sbin/ejabberdctl live
mkdir: `/usr/var/lib/ejabberd': Отказано в доступе
/usr/sbin/ejabberdctl: line 119: cd: /usr/var/lib/ejabberd: Это не каталог
--------------------------------------------------------------------
IMPORTANT: ejabberd is going to start in LIVE (interactive) mode.
All log messages will be shown in the command shell.
You can interact with the ejabberd node if you know how to use it.
Please be extremely cautious with your actions,
and exit immediately if you are not completely sure.
To exit this LIVE mode and stop ejabberd, press:
q(). and press the Enter key
--------------------------------------------------------------------
To bypass permanently this warning, add to ejabberdctl.cfg the line:
EJABBERD_BYPASS_WARNINGS=true
Press any key to continue
{error_logger,{{2012,2,6},{5,20,28}},std_error,"File operation error: eacces. Target: /usr/etc/ejabberd/inetrc. Function: get_file. Process: kernel_sup."}
{error_logger,{{2012,2,6},{5,20,28}},"inet_config: file ~s not found~n",["/usr/etc/ejabberd/inetrc"]}
{error_logger,{{2012,2,6},{5,20,29}},{error,"Error when reading /usr/var/lib/ejabberd/.erlang.cookie: eacces"},[]}
{error_logger,{{2012,2,6},{5,20,29}},crash_report,[[{initial_call,{auth,init,['Argument__1']}},{pid,<0.18.0>},{registered_name,[]},{error_info,{exit,{{error,"Error when reading /usr/var/lib/ejabberd/.erlang.cookie: eacces"},[{auth,init_cookie,0},{auth,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,<0.9.0>]},{messages,[]},{links,[<0.16.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,377},{stack_size,24},{reductions,363}],[]]}
{error_logger,{{2012,2,6},{5,20,29}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{{error,"Error when reading /usr/var/lib/ejabberd/.erlang.cookie: eacces"},[{auth,init_cookie,0},{auth,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{offender,[{pid,undefined},{name,auth},{mfargs,{auth,start_link,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2012,2,6},{5,20,29}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2012,2,6},{5,20,29}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
[shk@g1 ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment