[erlang-questions] Making rpc calls from escript
Vik Olliver
vik@REDACTED
Wed Sep 3 06:51:50 CEST 2008
Edwin,
I did try that bash script. As it was, it tried to use a fully-qualified
name because my host used erms@REDACTED as its erlang node name
and the algorithm thinks a dotted quad is an fqdn :)
So I hack der code a bit. Got a more interesting error:
./erlrunner.sh erms@REDACTED
{"init terminating in do_boot",{{badmatch,{error,{1,erl_parse,["syntax
error before: ","168.150"]}}},[{init,start_it,1},{init,start_em,1}]}}
I'll ponder that as I fly back home.
Vik :v)
On Mon, 2008-09-01 at 01:42 -0400, Edwin Fine wrote:
> Instead of escript, you could try something like this:
>
> #!/bin/sh
> if [ -z $1 ]; then
> echo "Usage: $0 erlang-node-name"
> exit 1
> fi
>
....
More information about the erlang-questions
mailing list