Problem with node name
Chandrashekhar Mullaparthi
chandrashekhar.mullaparthi@REDACTED
Wed Jun 22 20:51:33 CEST 2005
Chandrus-Mac:~/temp chandru$ erl -sname abcd
Erlang (BEAM) emulator version 5.2 [source]
Eshell V5.2 (abort with ^G)
(abcd@REDACTED)1>
(abcd@REDACTED)1>
(abcd@REDACTED)1> mnesia:create_schema([node()]).
ok
(abcd@REDACTED)2> mnesia:delete_schema([node()]).
ok
(abcd@REDACTED)3> mnesia:create_schema([abcd@REDACTED]).
** exited: {{unbound,'Mac'},[{erl_eval,expr,3}]} **
(abcd@REDACTED)4> mnesia:create_schema(['abcd@REDACTED']).
ok
Putting the nodename within '' takes care of all the funny characters
in the nodename.
cheers
Chandru
On 22 Jun 2005, at 19:14, Joel Reymont wrote:
> Folks,
>
> Having a node name like this: c-6881e055 apparently causes problems
> within Erlang.
> Trying to install a Mnesia schema on such a node complains about the
> e055 portion.
>
> Thanks, Joel
>
More information about the erlang-questions
mailing list