[erlang-questions] snmp deployment

eigenfunction emeka_1978@REDACTED
Sun Apr 1 19:57:24 CEST 2012


hmmmmmmm, interesting.
I just created a new package using the whole erlang runtime and i
didn't even need to configure the manager,
everything was working fine. From the source code, when there is no
configuration, it creates a default one it seems.
Anyway, i am going to check that again to be sure.
Thanks.
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