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
Message from discussion noproc file_server_2 when trying to load boot file

Received: by 10.204.147.73 with SMTP id k9mr299160bkv.1.1319296984563;
        Sat, 22 Oct 2011 08:23:04 -0700 (PDT)
X-BeenThere: erlang-programming@googlegroups.com
Received: by 10.204.145.1 with SMTP id b1ls200799bkv.3.gmail; Sat, 22 Oct 2011
 08:23:04 -0700 (PDT)
Received: by 10.204.156.195 with SMTP id y3mr2387514bkw.4.1319296984171;
        Sat, 22 Oct 2011 08:23:04 -0700 (PDT)
Received: by 10.204.156.195 with SMTP id y3mr2387513bkw.4.1319296984150;
        Sat, 22 Oct 2011 08:23:04 -0700 (PDT)
Return-Path: <erlang-questions-boun...@erlang.org>
Received: from hades.cslab.ericsson.net (hades.cslab.ericsson.net. [192.121.151.104])
        by gmr-mx.google.com with ESMTP id n1si2643310bkn.1.2011.10.22.08.23.03;
        Sat, 22 Oct 2011 08:23:04 -0700 (PDT)
Received-SPF: pass (google.com: domain of erlang-questions-boun...@erlang.org designates 192.121.151.104 as permitted sender) client-ip=192.121.151.104;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of erlang-questions-boun...@erlang.org designates 192.121.151.104 as permitted sender) smtp.mail=erlang-questions-boun...@erlang.org; dkim=neutral (body hash did not verify) header...@gmail.com
Received: from hades.cslab.ericsson.net (hades [192.121.151.104])
	by hades.cslab.ericsson.net (Postfix) with ESMTP id 5F6F55C10C;
	Sat, 22 Oct 2011 17:22:58 +0200 (CEST)
X-Original-To: erlang-questi...@erlang.org
Delivered-To: erlang-questi...@erlang.org
Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com
 [209.85.215.181])
 by hades.cslab.ericsson.net (Postfix) with ESMTP id CB05E5C047
 for <erlang-questi...@erlang.org>; Sat, 22 Oct 2011 17:22:55 +0200 (CEST)
Received: by eyx24 with SMTP id 24so5272442eyx.40
 for <erlang-questi...@erlang.org>; Sat, 22 Oct 2011 08:22:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
 h=mime-version:sender:in-reply-to:references:date
 :x-google-sender-auth:message-id:subject:from:to:cc:content-type;
 bh=EpxM0Kmb9k23kvSlCDEKlG87C0puiB5IN3LuWMnSKis=;
 b=XY4QeIsgPHuUrx+F/nuY7M2c4KDEFGnsEU7Tn14QTVqPHaImxfLKv9p8qayWbHDE43
 r1kToWy0dOhp17L3XwaT46NzVvTm6CUUKABCzFq92P218z67VZ90jpUUYOcw/JbHCh63
 dlxiYWDg57Eoq7191vRPZCIyAytOHF/Pn8EQI=
MIME-Version: 1.0
Received: by 10.14.20.1 with SMTP id o1mr2205554eeo.34.1319296975554; Sat, 22
 Oct 2011 08:22:55 -0700 (PDT)
Received: by 10.14.101.138 with HTTP; Sat, 22 Oct 2011 08:22:55 -0700 (PDT)
In-Reply-To: <CAFai3Q7-nXYTNZm7bJ2FH-PmHHpqv0dtvGcuti94ytJoUGG...@mail.gmail.com>
References: <CAFai3Q5sH_BUy61QVnYp7vSNFOquffHXOC_vyJHZAgs5jMN...@mail.gmail.com>
 <20111022151836.GE10...@jakstys.lt>
 <CAFai3Q7oTFvhjpYVmFRYA62ioTsA9G-sLjdMbgnbgagEw2m...@mail.gmail.com>
 <CAFai3Q7-nXYTNZm7bJ2FH-PmHHpqv0dtvGcuti94ytJoUGG...@mail.gmail.com>
Date: Sat, 22 Oct 2011 10:22:55 -0500
Message-ID: <CAFai3Q77nM6BnKH_0J3RwJpY4-baGVn1AGdSRFesznhyvxL...@mail.gmail.com>
From: Tristan Sloughter <tristan.slough...@gmail.com>
To: =?ISO-8859-13?Q?Motiejus_Jak=F0tys?= <desired....@gmail.com>
Cc: erlang-questi...@erlang.org
Subject: Re: [erlang-questions] noproc file_server_2 when trying to load
	boot file
X-BeenThere: erlang-questi...@erlang.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: General Erlang/OTP discussions <erlang-questions.erlang.org>
List-Unsubscribe: <http://erlang.org/mailman/options/erlang-questions>,
 <mailto:erlang-questions-requ...@erlang.org?subject=unsubscribe>
List-Archive: <http://erlang.org/pipermail/erlang-questions>
List-Post: <mailto:erlang-questi...@erlang.org>
List-Help: <mailto:erlang-questions-requ...@erlang.org?subject=help>
List-Subscribe: <http://erlang.org/mailman/listinfo/erlang-questions>,
 <mailto:erlang-questions-requ...@erlang.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7861688691070734151=="
Errors-To: erlang-questions-boun...@erlang.org
Sender: erlang-questions-boun...@erlang.org

--===============7861688691070734151==
Content-Type: multipart/alternative; boundary=0016e6d6257994c9e804afe4c375

--0016e6d6257994c9e804afe4c375
Content-Type: text/plain; charset=ISO-8859-13
Content-Transfer-Encoding: quoted-printable

Nevermind, file_server module registeres as file_server_2:

-define(FILE_SERVER, file_server_2).      % Registered name

2011/10/22 Tristan Sloughter <tristan.slough...@gmail.com>

> Though I can point out I actually have no file_server_2...
>
> find ~/otp/ -name *file_server*
> /home/dotcloud/otp/lib/kernel-2.14.4/src/file_server.erl
> /home/dotcloud/otp/lib/kernel-2.14.4/ebin/file_server.beam
> /home/dotcloud/otp/lib/kernel-2.14.5/src/file_server.erl
> /home/dotcloud/otp/lib/kernel-2.14.5/ebin/file_server.beam
>
> Hmm..
>
> 2011/10/22 Tristan Sloughter <tristan.slough...@gmail.com>
>
>> Right, there isn't much I can do in that respect though since I can't ge=
t
>> into a shell when loading the boot file.
>>
>> Thanks,
>> Tristan
>>
>>
>> 2011/10/22 Motiejus Jak=F0tys <desired....@gmail.com>
>>
>>> On Sat, Oct 22, 2011 at 10:11:39AM -0500, Tristan Sloughter wrote:
>>> > I have a .rel file and successfully create the boot/script files with
>>> > systools:make_script but when I try to load the boot file it crashes
>>> with an
>>> > error I can't find reference too anywhere online. Does anyone have an
>>> idea
>>> > on what might be wrong?
>>> >
>>> > $ erl
>>> > Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:4:4] [rq:4]
>>> > [async-threads:0] [kernel-poll:false]
>>> >
>>> > Eshell V5.8.5  (abort with ^G)
>>> > 1> systools:make_script("ctdemo", [local]).
>>> > ok
>>> > 2> q().
>>> > ok
>>> >
>>> > $ erl -boot ctdemo
>>> > {"init terminating in
>>> >
>>> do_boot",{noproc,{gen_server,call,[file_server_2,{open,"./.erlang",[rea=
d]},infinity]}}}
>>>
>>> In a nutshell, gen_server is complaining that process file_server_2 is
>>> not running.
>>>
>>> Check application:loaded_applications(), global_registered_names(),
>>> appmon:start() for troubleshooting.
>>>
>>> Hope this helps
>>>
>>> Motiejus
>>>
>>
>>
>

--0016e6d6257994c9e804afe4c375
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Nevermind, file_server module registeres as file_server_2:<div><br></div><d=
iv>-define(FILE_SERVER, file_server_2). =C2=A0 =C2=A0 =C2=A0% Registered na=
me<br><br><div class=3D"gmail_quote">2011/10/22 Tristan Sloughter <span dir=
=3D"ltr">&lt;<a href=3D"mailto:tristan.slough...@gmail.com">tristan.slought=
e...@gmail.com</a>&gt;</span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">Though I can point out I=C2=A0actually=C2=
=A0have no file_server_2...<div><br></div><div><div>find ~/otp/ -name *file=
_server*</div>
<div>/home/dotcloud/otp/lib/kernel-2.14.4/src/file_server.erl</div><div>/ho=
me/dotcloud/otp/lib/kernel-2.14.4/ebin/file_server.beam</div>
<div>/home/dotcloud/otp/lib/kernel-2.14.5/src/file_server.erl</div><div>/ho=
me/dotcloud/otp/lib/kernel-2.14.5/ebin/file_server.beam</div><div><br></div=
><div>Hmm..</div><div><div></div><div class=3D"h5"><br><div class=3D"gmail_=
quote">
2011/10/22 Tristan Sloughter <span dir=3D"ltr">&lt;<a href=3D"mailto:trista=
n.slough...@gmail.com" target=3D"_blank">tristan.slough...@gmail.com</a>&gt=
;</span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Right, there isn&#39;t much I can do in that=
 respect though since I can&#39;t get into a shell when loading the boot fi=
le.<div>

<br></div><div>Thanks,</div><div>Tristan<div><div></div><div><br><br><div c=
lass=3D"gmail_quote">2011/10/22 Motiejus Jak=C5=A1tys <span dir=3D"ltr">&lt=
;<a href=3D"mailto:desired....@gmail.com" target=3D"_blank">desired.mta@gma=
il.com</a>&gt;</span><br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div>On Sat, Oct 22, 2011 at 10:11:39AM -050=
0, Tristan Sloughter wrote:<br>
&gt; I have a .rel file and successfully create the boot/script files with<=
br>
&gt; systools:make_script but when I try to load the boot file it crashes w=
ith an<br>
&gt; error I can&#39;t find reference too anywhere online. Does anyone have=
 an idea<br>
&gt; on what might be wrong?<br>
&gt;<br>
&gt; $ erl<br>
&gt; Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:4:4] [rq:4]<br>
&gt; [async-threads:0] [kernel-poll:false]<br>
&gt;<br>
&gt; Eshell V5.8.5 =C2=A0(abort with ^G)<br>
&gt; 1&gt; systools:make_script(&quot;ctdemo&quot;, [local]).<br>
&gt; ok<br>
&gt; 2&gt; q().<br>
&gt; ok<br>
&gt;<br>
&gt; $ erl -boot ctdemo<br>
&gt; {&quot;init terminating in<br>
&gt; do_boot&quot;,{noproc,{gen_server,call,[file_server_2,{open,&quot;./.e=
rlang&quot;,[read]},infinity]}}}<br>
<br>
</div>In a nutshell, gen_server is complaining that process file_server_2 i=
s<br>
not running.<br>
<br>
Check application:loaded_applications(), global_registered_names(),<br>
appmon:start() for troubleshooting.<br>
<br>
Hope this helps<br>
<font color=3D"#888888"><br>
Motiejus<br>
</font></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>

--0016e6d6257994c9e804afe4c375--

--===============7861688691070734151==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============7861688691070734151==--