Erlang/OTP Forums

Author Message

<  Open Telecom Platform (OTP)  ~  erl -detached and remote shell

qoocku
Posted: Sun Sep 13, 2009 6:03 am Reply with quote
User Joined: 31 Mar 2008 Posts: 10 Location: Poland
Hi List!

I run one node with -detached flag (so it automagically translates into -noshell -noinput). My experience is that this node is not available for remote shells. What are the ways to launch a node as a deamon but allowing to connect a remote shell?

Damian
View user's profile Send private message
uwiger
Posted: Sun Sep 13, 2009 8:37 pm Reply with quote
User Joined: 03 Jul 2006 Posts: 604 Location: Sweden
qoocku wrote:
Hi List!

I run one node with -detached flag (so it automagically translates into -noshell -noinput). My experience is that this node is not available for remote shells. What are the ways to launch a node as a deamon but allowing to connect a remote shell?


The -detached flag does not keep you from using remote shell. Perhaps there is something else amiss? Are the nodes usin the same cookie?

/Ulf W
View user's profile Send private message Visit poster's website
forcewill
Posted: Mon Mar 22, 2010 11:15 pm Reply with quote
User Joined: 12 Feb 2010 Posts: 19
Sry to revive an old post.

I have a remote erlang node started with the -detached flag to which i can connect with -remsh


For example:

erl -sname p -setcookie cookie -remsh remote@machine

How can i quit this remote shell safely without stopping the remote node (go back into -detached mode) ?
View user's profile Send private message
bpuzon
Posted: Tue Mar 23, 2010 8:21 am Reply with quote
User Joined: 05 Aug 2009 Posts: 23 Location: Cracow, Poland
Using ^C should not shut down the remote node, only leave the remote shell. You can as well use ^G (h for help).

This was in R13B03.

_________________
Saludos,
Bartłomiej Puzoń
Erlang Solutions
View user's profile Send private message Visit poster's website
forcewill
Posted: Tue Mar 23, 2010 10:16 am Reply with quote
User Joined: 12 Feb 2010 Posts: 19
Indeed, i don't know why i got that idea !.
View user's profile Send private message
wuji
Posted: Tue Sep 04, 2012 7:17 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
all stay?'" Denniston said.The team agreed."I love swimming under Dave, Dave, replica designer *beep* Dave, and I think he is a good fit," said
Kamber, a member of the Paralympics swimming team. "He understands understands [h2]cheap jordans[/h2] understands each of our training needs."Recently, Denniston was announced as
head coach of the 2012 Paralympic Resident Swim team in in [h4]cheap polo shirts[/h4] in Colorado Springs -- the same position his mentor Flowers
before him.Denniston said that if he had to sum up up [h2]replica designer *beep*[/h2] up his experiences since his 2005 accident in a single
View user's profile Send private message
RichardFudnavis
Posted: Sat Sep 08, 2012 1:15 pm Reply with quote
Joined: 08 Sep 2012 Posts: 4 Location: 234 Arthurs Pl, Stanardsville, VA 22973
In the shell, start the server and test. You should get a response back formatted according to your io:format line. After you’ve tested this do not exit the Erlang shell. We will use it again in a minute.

_________________
nursery wall stickers
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum