[erlang-questions] snmp deployment

eigenfunction emeka_1978@REDACTED
Sun Apr 1 20:15:56 CEST 2012


I just restested everything and the packaging seems to be the problem.
I just package the app with the full erlang runtime system.
Thanks again.

On Apr 1, 7:47 pm, Vance Shipley <van...@REDACTED> wrote:
> That is the error you get when the path to the config directory isn't found.
>
> Try just using the file module(*) to check the path:
>
>         1> file:consult("C:/snmp/manager.config").
>
> Also you did name the system configuration file "manager.config" right?
> Whne you say `erl -config manager` it adds the .config suffix to the
> argument to the config parameter.
>
> --
>         -Vance
>
> (*)  http://www.erlang.org/doc/man/file.html
>
>
>
>
>
>
>
>
>
> On Sun, Apr 01, 2012 at 09:27:48AM -0700, eigenfunction wrote:
> }  Actually i am only interesting in the manager. I tried to start the
> }  system with: erl -config manager
> }  where manager:
> }  [
> }    {snmp,
> }          [{manager,
> }              [{config, [{dir, "C:/snmp"},
> }                  {db_dir, "C:/snmp/db/"}]}]}]}
> }  ].
> }
> }  4> snmp:start().
> }  {error,
> }      {bad_return,
> }          {{snmp_app,start,[normal,[]]},
> }           {'EXIT',
> }               {{badmatch,
> }                    {error,
> }                        {shutdown,
> }                            {child,undefined,snmpm_supervisor,
> }                                {snmpm_supervisor,start_link,
> }                                    [normal,[{config,[{dir,...},
> }  {...}]}]]},
> }                                transient,2000,supervisor,
> }                                [snmpm_supervisor,supervisor]}}}},
> }                [{snmp_app,start,2,[{file,"snmp_app.erl"},{line,40}]},
> }                 {application_master,start_it_old,4,
> }                     [{file,"application_master.erl"},{line,274}]}]}}}}}
> }
> }  No luck ;-(
> }
> }  Any idea?
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questi...@REDACTED://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list