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 Cannot add site
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Arjan Scherpenisse  
View profile  
 More options Sep 28 2012, 4:20 am
From: Arjan Scherpenisse <ar...@scherpenisse.net>
Date: Fri, 28 Sep 2012 10:20:40 +0200
Local: Fri, Sep 28 2012 4:20 am
Subject: Re: [Zotonic-Usr] Re: Cannot add site
 > ls -la `which erl_call`
lrwxrwxrwx 1 root root 51 Sep  4 12:38 /usr/bin/erl_call ->
../lib/erlang//lib/erl_interface-3.7.8/bin/erl_call

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 <ar...@scherpenisse.net
> <mailto:ar...@scherpenisse.net>>

>     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
>         <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 <li...@gjunka.com <mailto:li...@gjunka.com>
>         <mailto:li...@gjunka.com <mailto:li...@gjunka.com>>>

>              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 <http://helentana-dev.ru>
>                  <http://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?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.