您的位置:首页 > 其它

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:~$ 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  erlang