[erlang-questions] Progra mming Erlang problem:sasl doesn't work onmy laptop with Ubuntu8.04

Anthony Kong Anthony.Kong@REDACTED
Thu Mar 27 06:31:55 CET 2008


Did you have a directory called  /home/joe/error_logs as specified in
the elog3.config file?

Cheers, Anthony

-----Original Message-----
From: erlang-questions-bounces@REDACTED
[mailto:erlang-questions-bounces@REDACTED] On Behalf Of wenew zhang
Sent: Thursday, 27 March 2008 2:50 PM
To: erlang-questions@REDACTED
Subject: [erlang-questions] Progra mming Erlang problem:sasl doesn't
work onmy laptop with Ubuntu8.04

> erl -boot start_sasl -config  elog3
elog3.config:
%% rotating log and minimal tty
[{sasl, [
	 {sasl_error_logger, false},	
	 %% define the parameters of the rotating log
	 %% the log file directory
	 {error_logger_mf_dir,"/home/joe/error_logs"},	
         %% # bytes per logfile
	 {error_logger_mf_maxbytes,10485760}, % 10 MB
         %% maximum number of logfiles
	 {error_logger_mf_maxfiles, 10}
	]}].


Eshell V5.5.5  (abort with ^G)
1> sellaprime_supervisor:start_in_shell_for_testing().
*** my_alarm_handler init:{xyz,{alarm_handler,[]}} area_server starting
prime_server starting true
2> area_server:area({square,10}).
100
3> area_server:area({rectangle,10,20}).
area_server stopping

6> error_logger:error_msg("This is an error~n").
ok
=ERROR REPORT==== 27-Mar-2008::11:47:57 === This is an error

7> rb:start().
{error,{"cannot read the index file",
        {child,undefined,
               rb_server,
               {rb,start_link,[[]]},
               temporary,
               brutal_kill,
               worker,
               [rb]}}}
8>

why can't start rb? and can't create  error_logs under /home/joe/
_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://www.erlang.org/mailman/listinfo/erlang-questions

NOTICE
This e-mail and any attachments are confidential and may contain copyright material of Macquarie Group Limited or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Group Limited does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Group Limited.




More information about the erlang-questions mailing list