Erlang echo server with eLite?

Piotr Daruk <>
Mon Jul 29 08:48:30 CEST 2002


    Since I'm extremely stubborn, I've been trying to make my programmes
work, under the Linux shell, continuously. I have found all modules I've
needed to link. Also I've managed to start Erlang distribution using command
erl_distributin:start([echo_node,shortnames]). on my programmes. Now it
works just fine when you start Erlang run-time environment typing just "erl"
on the shell, the programmes echo and client will start erlang nodes by them
self. Would you please find the attached file and try it (Please remember to
change the hostnames on the programmes and to recompile it)?

hostName() -> ''. "darukhost" must be changed to your

On the one terminal start erl:
then start echo

On the other terminal start erl:
then run client

    It should work just fine. So, I figured out that it should work on a
shell, yet it doesn't work. It is strange but when I start my program either
./echo or ./client 5 it stops on erl_distributin:start(). command.
    I've been reading and I found that I must start "epmd" daemon, which is
the Erlang port mapper. Yet, after starting it, my programmes still do not

    Do you have any suggestions?


P.S. Sorry, I am being so annoying!
----- Original Message -----
From: "Lennart Öhman" <>
To: "Piotr Daruk" <>
Cc: <>
Sent: Friday, July 26, 2002 9:27 PM
Subject: Re: Erlang echo server with eLite?

> You seem to ha gotten valuable help from Luke. Otherwise I believe
> distribution_not_started means that your system is missing the
> net_kernel process which must run if you are running a distributed
> system.
> /Lennart
> Piotr Daruk wrote:
> >
> > Hello!
> >
> >     I have succeeded to find auth module so I have linked it to the
> > compilation. Obviously it helps, thanx Laura!!
> >     Yet, I got new error:
> > {distribution_not_started,{auth,set_cookie,2}]}
> >
> >     Dose anybody now what is this? What should I start?
> >
> > Cheers,
> > Piotr
> --
> -------------------------------------------------------------
> Lennart Ohman                   phone   : +46-8-587 623 27
> Sjoland & Thyselius Telecom AB  cellular: +46-70-552 6735
> Sehlstedtsgatan 6               fax     : +46-8-667 8230
> SE-115 28 STOCKHOLM, SWEDEN     email   : 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: echo.tar.gz
Type: application/octet-stream
Size: 79488 bytes
Desc: not available
URL: <>

More information about the erlang-questions mailing list