Received: by 10.14.2.130 with SMTP id 2mr7573796eef.1.1348820428079; Fri, 28 Sep 2012 01:20:28 -0700 (PDT) X-BeenThere: zotonic-users@googlegroups.com Received: by 10.14.198.197 with SMTP id v45ls2087051een.3.gmail; Fri, 28 Sep 2012 01:20:27 -0700 (PDT) Received: by 10.14.210.133 with SMTP id u5mr7565159eeo.2.1348820427441; Fri, 28 Sep 2012 01:20:27 -0700 (PDT) Received: by 10.14.210.133 with SMTP id u5mr7565157eeo.2.1348820427433; Fri, 28 Sep 2012 01:20:27 -0700 (PDT) Return-Path: Received: from mail-ee0-f47.google.com (mail-ee0-f47.google.com [74.125.83.47]) by gmr-mx.google.com with ESMTPS id d5si11256732eep.0.2012.09.28.01.20.27 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Sep 2012 01:20:27 -0700 (PDT) Received-SPF: pass (google.com: domain of scherpeni...@gmail.com designates 74.125.83.47 as permitted sender) client-ip=74.125.83.47; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of scherpeni...@gmail.com designates 74.125.83.47 as permitted sender) smtp.mail=scherpeni...@gmail.com; dkim=pass header...@gmail.com Received: by mail-ee0-f47.google.com with SMTP id t10so1273912eei.34 for ; Fri, 28 Sep 2012 01:20:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=j6ZoL15gqk8HI03iwj/Q5ZqY9ruK5BSg0iNeiaT9fXE=; b=bu9u5ZBPMq77644s0UtTIdOL7hB2do6dGsUhax8NOhtY7tWJkALg9a65g3PinqjfeE cVTMBXpwF7t7cZn9OYXTsOzWZYEV9sWvc7dgh/mBpW8SiiMRxe7udjCqMP8L6CfBHtb9 BFKVf2Nfh04nlKecbvpciyDSKMA3XDwoYwUaAtvCkhg7hnt58VEnfc7WVkfPRGduiqU3 UOa+fLc3b69xUcztiHhQm7WFUOozhGGfNW7ejZxGecPdTZ34xkI+h5nihccTroJVrdvn L2VqmmtSE27+jIX1jLRa3ZTxgVmX4l6XzCZiItDxgCZbLK1k+7BlvZksSJK34mj4H43c LyJQ== Received: by 10.14.224.73 with SMTP id w49mr8979983eep.37.1348820427325; Fri, 28 Sep 2012 01:20:27 -0700 (PDT) Return-Path: Received: from [192.168.10.248] (ur12.waag.org. [195.169.146.12]) by mx.google.com with ESMTPS id t1sm24043358eeo.3.2012.09.28.01.20.26 (version=SSLv3 cipher=OTHER); Fri, 28 Sep 2012 01:20:26 -0700 (PDT) Sender: Arjan Scherpenisse Message-ID: <50655DC9.3010...@scherpenisse.net> Date: Fri, 28 Sep 2012 10:20:25 +0200 From: Arjan Scherpenisse User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: zotonic-users@googlegroups.com Subject: Re: [Zotonic-Usr] Re: Cannot add site References: <5607ef89-eb62-40c9-8f5d-6fa30941e42c@googlegroups.com> <4e6893c0-50ff-46d3-b404-fbcb21877397@googlegroups.com> <2e7652d0-68f9-4a4c-9f80-508daada8dff@googlegroups.com> <22e3c4d1-3627-44ca-82a6-f36d2671c11e@googlegroups.com> <24b1434d-dda8-41f9-8097-52f3e581cd51@googlegroups.com> <4b5baac1-2dbf-4166-a2c9-e138d404006b@googlegroups.com> <50654BD1.2090...@scherpenisse.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Yes, I'm using the esl-erlang packages from Erlang solutions.. On 09/28/2012 09:19 AM, Andreas Stenius wrote: > I take it It's on your path then... ? > > Strange indeed. Perhaps if you installed it using some package manager, > that the packager added a symlink or something for erl_call to a bin > directory that's in your path.. ? > > 2012/9/28 Arjan Scherpenisse > > > Strange, I always assumed erl_call was on the path. I guess we > should do some magic to determine where erl_call is when its not on > the path... > > > On 09/27/2012 10:55 PM, Andreas Stenius wrote: > > As Greg pointed out, it's located in the bin dir of erl_interface. > > On my system, it's in > /usr/lib/erlang/lib/erl___interface-3.7.7/bin so a > slightly different version... > > Online docs for erl_call is here: > http://www.erlang.org/doc/man/__erl_call.html > > > And it was those docs that hinted for me where to look for it ;) > > //Andreas > > 2012/9/27 Amiramix > >> > > > In my case erl_call could be found in this path: > > /usr/local/lib/erlang/lib/erl___interface-3.7.5/bin/erl_call > > whereas all other erlang binaries are in this path: > > /usr/local/bin/ > > I think location of erl_call may be system specific. Did > you compile > Erlang yourself or downloaded as a package? I would try > something like: > > cd / > find . | grep erl_call > > You could also try "man erl_call" to see if the system knows > anything about it. > > > On Thursday, September 27, 2012 9:29:15 PM UTC+1, Alexey > Marunin wrote: > > I restarted my server. > > zotonic@helentana-dev:~/____zotonic/0.9.0/bin$ > ./zotonic addsite > > -d helentana_zotonic -u grome -P ******** -s blog helentana > Warning! > Site: 'helentana' cannot be reached. > Command 'host helentana' must resolve to an IP address, > otherwise you won't be able to reach it after > installing the site. > You can fix that by adding the following line to > /etc/hosts: > > 127.0.0.1 helentana > > > ==== Add site ==== > > Site name: helentana > Site directory: > /home/zotonic/zotonic/0.9.0/____priv/sites/helentana > > Skeleton site: blog > > Database host: 127.0.0.1 > Database port: 5432 > Database user: grome > Database password: ******** > Database name: helentana_zotonic > Database schema: public > Admin password: ******** > > >>> Hit return to proceed... > ~/zotonic/0.9.0/src/scripts ~/zotonic/0.9.0/src/scripts > ~/zotonic/0.9.0/src/scripts > Building site... > > /home/zotonic/zotonic/0.9.0/____src/scripts/zotonic-addsite: line > > 85: erl_call: command not found > Starting... > > /home/zotonic/zotonic/0.9.0/____src/scripts/zotonic-addsite: line > > 93: erl_call: command not found > > Added site helentana. Now go to http://helentana:8000/ > to view it. > Then I edited config-file - set hostname as > helentana-dev.ru > > > > > Now example site successfully load :) But no picture... > I think > because of old version ImageMagick > > Last question - why erl_call not found? > > > >