Erlang rb can't start
2013-10-13 03:39
369 查看
first please create the config file like this
%%filename: elog.config
[{sasl, [
{error_logger_mf_dir, "/home/ezonghu/erl_sasl_log"},
{error_logger_mf_maxbytes, 10485760},
{error_logger_mf_maxfiles, 10}
]}].
and then please make sure the folder "erl_sasl_log" exists
if not, please create it.
Test Steps:
ezonghu@ezonghu-VirtualBox:~$ erl -boot start_sasl -config elog
Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:3:3] [rq:3] [async-threads:0] [kernel-poll:false]
=PROGRESS REPORT==== 25-Jan-2013::19:17:17 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.35.0>},
{name,alarm_handler},
{mfargs,{alarm_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 25-Jan-2013::19:17:17 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.36.0>},
{name,overload},
{mfargs,{overload,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 25-Jan-2013::19:17:17 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.34.0>},
{name,sasl_safe_sup},
{mfargs,
{supervisor,start_link,
[{local,sasl_safe_sup},sasl,safe]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
=PROGRESS REPORT==== 25-Jan-2013::19:17:17 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.37.0>},
{name,release_handler},
{mfargs,{release_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 25-Jan-2013::19:17:17 ===
application: sasl
started_at: nonode@nohost
Eshell V5.8.5 (abort with ^G)
1> gen_event:which_handlers(error_logger).
[log_mf_h,sasl_report_tty_h,error_logger,error_logger_tty_h]
2> error_logger:info_report("testing").
=INFO REPORT==== 25-Jan-2013::19:17:39 ===
testing
ok
3> rb:start().
rb: reading report...done.
=PROGRESS REPORT==== 25-Jan-2013::19:17:43 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.45.0>},
{name,rb_server},
{mfargs,{rb,start_link,[[]]}},
{restart_type,temporary},
{shutdown,brutal_kill},
{child_type,worker}]
{ok,<0.45.0>}
4> q().
ok
5>
5>
ezonghu@ezonghu-VirtualBox:~$
%%filename: elog.config
[{sasl, [
{error_logger_mf_dir, "/home/ezonghu/erl_sasl_log"},
{error_logger_mf_maxbytes, 10485760},
{error_logger_mf_maxfiles, 10}
]}].
and then please make sure the folder "erl_sasl_log" exists
if not, please create it.
Test Steps:
ezonghu@ezonghu-VirtualBox:~$ erl -boot start_sasl -config elog
Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:3:3] [rq:3] [async-threads:0] [kernel-poll:false]
=PROGRESS REPORT==== 25-Jan-2013::19:17:17 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.35.0>},
{name,alarm_handler},
{mfargs,{alarm_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 25-Jan-2013::19:17:17 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.36.0>},
{name,overload},
{mfargs,{overload,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 25-Jan-2013::19:17:17 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.34.0>},
{name,sasl_safe_sup},
{mfargs,
{supervisor,start_link,
[{local,sasl_safe_sup},sasl,safe]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
=PROGRESS REPORT==== 25-Jan-2013::19:17:17 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.37.0>},
{name,release_handler},
{mfargs,{release_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 25-Jan-2013::19:17:17 ===
application: sasl
started_at: nonode@nohost
Eshell V5.8.5 (abort with ^G)
1> gen_event:which_handlers(error_logger).
[log_mf_h,sasl_report_tty_h,error_logger,error_logger_tty_h]
2> error_logger:info_report("testing").
=INFO REPORT==== 25-Jan-2013::19:17:39 ===
testing
ok
3> rb:start().
rb: reading report...done.
=PROGRESS REPORT==== 25-Jan-2013::19:17:43 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.45.0>},
{name,rb_server},
{mfargs,{rb,start_link,[[]]}},
{restart_type,temporary},
{shutdown,brutal_kill},
{child_type,worker}]
{ok,<0.45.0>}
4> q().
ok
5>
5>
ezonghu@ezonghu-VirtualBox:~$
相关文章推荐
- Jackson反序列化提示:Can not deserialize instance of Task out of START_ARRAY token
- 'utf8' codec can't decode byte 0x8b in position 14: invalid start byte
- mysqld无法启动,报错:can;t start server解决方法
- Java问题解决:springboot启动出现-Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package
- MAC Android Studio Can't Start Git
- About UnicodeDecodeError: 'utf8' codec can't decode byte 0xa1 in position 157: invalid start byte
- 辛星浅析ruby下的mkmf.rb can't find header files for ruby at
- Can not deserialize instance of java.lang.String out of START_OBJECT token
- How can I start a VM without getting a window?
- 解决 python爬虫'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte‘错误
- Can't start a cloned connection while in manual transaction mode.解决方法
- Your ApplicationContext is unlikely to start due to a @ComponentScan of the default
- erlang 读取confg文件异常 could not start kernel pid error in config file
- Python爬虫报UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa1 in position 225: invalid start byt
- Visual Studio "The application can not start"
- [linux] x server can not start under VMWare
- SQLServer Service Can't Start
- you can start study OO like this
- npm 报错:npm ERR! missing script: start npm ERR! A complete log of this run can be found in: npm ERR!
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte