Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
beginner: slave:start/3 and -pa in Args not working?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bengt Kleberg  
View profile  
 More options Oct 5 2012, 8:46 am
From: Bengt Kleberg <bengt.kleb...@ericsson.com>
Date: Fri, 5 Oct 2012 14:45:58 +0200
Local: Fri, Oct 5 2012 8:45 am
Subject: [erlang-questions] beginner: slave:start/3 and -pa in Args not working?
Greetings,

Does not a slave node get the -pa argument into the code path?

After slave:start/3 with Args set to "-pa ./ebin" I have a remote node.
Good. It has the following expected arguments:
rpc:call('ise_pool_slave_clust...@sekic2555.rnd.ki.sw.ericsson.se',
init, get_arguments, []).
[{root,["/app/erlang/otp_R15B01/LMWP2/lib/erlang"]},
 {progname,["erl"]},
 {home,["/home/eleberg"]},
 {noshell,[]},
 {noinput,[]},
 {noshell,[]},
 {noinput,[]},
 {master,["ise_pool_master_clust...@sekic2790.rnd.ki.sw.ericsson.se"]},
 {name,["ise_pool_slave_clust...@sekic2555.rnd.ki.sw.ericsson.se"]},
 {rsh,["ssh"]},
 {pa,["./ebin"]}]

But the code path is not as expected:
S = rpc:call('ise_pool_slave_clust...@sekic2555.rnd.ki.sw.ericsson.se',
code, get_path, []).
lists:member("./ebin", S).
false

Could anybody come forth with suggestions for what to look at?

ebngt

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »