[erlang-questions] Problems Creating First Target System

Brian Troutwine goofyheadedpunk@REDACTED
Fri Sep 12 19:52:38 CEST 2008


On further inspection I was missing {mod, {Module, Args}}.

Thanks,
Brian

On Wed, Sep 10, 2008 at 8:27 PM, Chandru
<chandrashekhar.mullaparthi@REDACTED> wrote:
> 2008/9/11 Brian Troutwine <goofyheadedpunk@REDACTED>
>>
>> Slight addendum: On further inspection aule is started, though the
>> remaining applications are not.
>
> what do the commands application:info() and application:which_applications()
> show?
>
> Also, can you send the SASL reports you get when  you startup the node?
> Given that 'aule' is started, indicates that the node would've atleast tried
> to start the apps before it. When you say you can start them manually, does
> it mean you can start them using the application:start/1 command or some
> other means? If that is the case, it means you are missing the {mod,
> {Module, Args}} directive in the .app file of those apps.
>
> cheers
> Chandru
>
>>
>>
>> On Wed, Sep 10, 2008 at 4:01 PM, Brian Troutwine
>> <goofyheadedpunk@REDACTED> wrote:
>> > I'm following the OTP Design Principles document in creating my first
>> > release, but am having difficulties getting the system to boot
>> > properly. I would appreciate help in fixing my errors. Here is my .rel
>> > file:
>> >
>> > {release, {"Aule", "production-1"}, {erts, "5.6.3"},
>> >  [{kernel, "2.12.3"},
>> >  {stdlib, "1.15.3"},
>> >  {sasl, "2.1.5.3"},
>> >  {inets, "5.0.9"},
>> >  {ecouch, "0.1"},
>> >  {parse_app, "0.0.1"},
>> >  {dispatch, "0.0.1"},
>> >  {warehouse, "0.0.1"},
>> >  {a_interface, "0.0.1"},
>> >  {aule, "0.0.1"}]}.
>> >
>> > Following the guide I issue
>> >
>> >> systools:make_script("aule", [local]).
>> >
>> > and receive an aule.boot file. I then run
>> >
>> > $ erl -pa dispatch/ebin/ a_interface/ebin/ aule/ebin/ parse/ebin/
>> > warehouse/ebin/ ../ecouch/ebin boot aule
>> >
>> > but only inets, ecouch, stdlib and kernel start. My custom
>> > applications (parse_app, dispatch, warehouse, a_interface and aule) do
>> > not start, though nothing stops me from starting them manually. When
>> > started manually the system runs appropriately. I do not understand
>> > why this has failed.
>> >
>> > Thanks,
>> > Brian
>> >
>>
>>
>>
>> --
>> Brian
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://www.erlang.org/mailman/listinfo/erlang-questions
>
>



More information about the erlang-questions mailing list