<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EstiloCorreo17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ES link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hi all,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I have this application specification for an application.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>{application, x,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> [{description, "x description"},<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> {vsn, "1.0"},<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> {modules, [x, x_sup, x_log]},<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> {registered, [x, x_sup, x_log]},<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> {applications, [kernel, stdlib, sasl]},<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> {mod, {x, []}},<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> {start_phases, []}</span>]}.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>Then when I try to start the system I get this error.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>application:start(x).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> {error,{not_started,sasl}<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I also have this config file which I load with werl -config x.config<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal>[{sasl, [<o:p></o:p></p><p class=MsoNormal> {sasl_error_logger, {file, "debug2.log"}},<o:p></o:p></p><p class=MsoNormal> <span lang=EN-US>{errlog_type, error},<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> %% define the parameters of the rotating log<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> %% the log file directory<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> {error_logger_mf_dir, "d:/WORK/x-1.0/error_logs/"},<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> %% # bytes per logfile<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> {error_logger_mf_maxbytes, 10485760}, % 10 MB<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> %% maximum number of logfiles<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> {error_logger_mf_maxfiles, 10}]},<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> {kernel, [<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> {error_logger, {file, "debug.log" }}]}<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>].<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>If I start the sasl whether by hand in the console like this application:start(sasl) or by the command line werl -boot start_sasl … all work fine.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>But not from the normal application specification which should be started from there according to the documentation.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Ivan.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>