Erlang echo server with eLite?

Piotr Daruk <>
Wed Jul 31 08:16:58 CEST 2002


    Yeah I know. But I'm trying to run my programmes on Linux shell not on
Erlang runtime. I managed to start epmd daemon remotely using os:cmd command
and it works on Erlang runtime. Yet, when I'm running my programmes on Linux
shell (after compiling it useing eLite) it stops. The ./echo one stops on
the command "os:cmd()", the ./client one stops on the command

    Do you have any idea what is wrong?


 ----- Original Message -----
From: "Sean Hinde" <>
To: "'Piotr Daruk'" <>
Sent: Tuesday, July 30, 2002 5:19 PM
Subject: RE: Erlang echo server with eLite?

> Just start 2 erlang shells with
> erl -sname name1 -setcookie cookie_cream
> and
> erl -sname name2 -setcookie cookie_cream
> The at the erlang shell for name2 do:
> net_adm:ping().
> This starts up epmd automatically and establishes the connection. your
> should be trivial after that
> Sean
> -----Original Message-----
> From: Piotr Daruk [mailto:]
> Sent: 30 July 2002 15:36
> To: 
> Subject: Erlang echo server with eLite?
> Hello!
>     I'm still looking for a BAG in my programmes. Did anyone find
> Cheers,
> Piotr
> My previous e-mail:
> >    Since my lecturer of Functional Programming might not have an Erlang
> >runtime, I'm desperate to make it working on Linux shell as I've got to
> >show
> >Him that my project works. Yesterday I have modified my echo server >and
> now
> >it starts the epmd daemon by it self. On this moment starting erlang
> runtime
> >by erl will do. After that, on the one Linux console echo must be started
> >(echo:start(0).), on the other console start erl and then run client
> >(client:main(["5","5","square"]). I think it should work. Yet, on Linux
> >shell it stops. The ./echo proces stops on "os:cmd(Epmd ++ " -daemon"),"
> >command and ./client 5 square stops on "erl_distributin:start(),".
> >
> >  Please find the attachment (to my previous e-mail!) and try it. Sorry,
> I'm >being so annoying, yet it is very important for my.
> >
> >  Thank you all very much!!
> Cheers,
> Piotr
> This email (including attachments) is confidential.  If you have received
> this email in error please notify the sender immediately and delete this
> email from your system without copying or disseminating it or placing any
> reliance upon its contents.  We cannot accept liability for any breaches
> confidence arising through use of email.  Any opinions expressed in this
> email (including attachments) are those of the author and do not
> reflect our opinions.  We will not accept responsibility for any
> made by our employees outside the scope of our business.  We do not
> the accuracy or completeness of such information.

More information about the erlang-questions mailing list