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
 
Dawid Figiel  
View profile  
 More options Oct 15 2012, 8:18 pm
From: Dawid Figiel <dawid.fig...@gmail.com>
Date: Mon, 15 Oct 2012 17:18:57 -0700 (PDT)
Local: Mon, Oct 15 2012 8:18 pm
Subject: Re: Cannot add site

Hello,

I also have some related problems:

dawid@asusek:$ cd bin
dawid@asusek:$ ./zotonic start
Starting zotonic zotonic...@asusek.local
dawid@asusek:$ ./zotonic status
Running: zotonic...@asusek.local

Sites Status:
=============
{"init terminating in
do_boot",{function_clause,[{zotonic,'-status/1-lc$^0/1-0-',[{badrpc,nodedow n}],[{file,"src/zotonic.erl"},{line,83}]},{zotonic,status,1,[{file,"src/zot onic.erl"},{line,83}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

dawid@asusek:$ erl_call -name  zotonic...@asusek.local
erl_call: failed to connect to node zotonic...@asusek.local

dawid@asusek:$ ./zotonic stop
Stopping zotonic zotonic...@asusek.local
Stopping:'zotonic...@asusek.local'
There is no node with this name

(zotonic...@asusek.local)3> zotonic:status().
zotonic_status      - running
ok

My environment:

Zotonic - from git repository.

host 127.0.0.1
1.0.0.127.in-addr.arpa domain name pointer localhost.

/etc/hosts:
127.0.0.1 localhost
127.0.0.1 asusek

nslookup 127.0.0.1Server:               127.0.0.1
Address:        127.0.0.1#53

1.0.0.127.in-addr.arpa  name = localhost.

(I hope this error has nothing to do with Postgres).

ALSO:
(zotonic...@asusek.local)4> net_adm:localhost().
"asusek"
(zotonic...@asusek.local)5> inet:gethostname().
{ok,"asusek"}
(zotonic...@asusek.local)6> erlang:get_cookie().
'LJAVWETBDROCJZORXVBI'
(zotonic...@asusek.local)7> node().
'zotonic...@asusek.local'

2nd node:
(zotonic002@asusek)1> erlang:get_cookie().
'LJAVWETBDROCJZORXVBI'
(zotonic002@asusek)2> node().
zotonic002@asusek
(zotonic002@asusek)5> rpc:call('zotonic...@asusek.local', z_sites_manager, get_sites_status, []).

=ERROR REPORT==== 16-Oct-2012::01:52:26 ===
** System NOT running to use fully qualified hostnames **
** Hostname asusek.local is illegal **
{badrpc,nodedown}
(zotonic002@asusek)6> rpc:call('zotonic001@asusek', z_sites_manager, get_sites_status, []).      
{badrpc,nodedown}

Probably I have some mismatches with DNS, or some hostname issues...
How can I fix this?

Cheers,

Dawid

On Sunday, September 23, 2012 7:42:00 PM UTC+2, Alexey Marunin wrote:

> Hi, all!

> Try to create new site:

> cd bin
> ./zotonic addsite

> Zotonic is not running. You need to start zotonic first to use this
> command.

> But
> ps -fe | grep zotonic
> zotonic  28767     1  1 21:34 ?        00:00:03
> /usr/lib/erlang/erts-5.8/bin/beam -- -root /usr/lib/erlang -progname erl --
> -home /home/zotonic -- -pa /home/zotonic/zotonic/0.9.0/ebin
> /home/zotonic/zotonic/0.9.0/deps/bert.erl/ebin
> /home/zotonic/zotonic/0.9.0/deps/dh_date/ebin
> /home/zotonic/zotonic/0.9.0/deps/gen_smtp/ebin
> /home/zotonic/zotonic/0.9.0/deps/iconv/ebin
> /home/zotonic/zotonic/0.9.0/deps/lager/ebin
> /home/zotonic/zotonic/0.9.0/deps/mimetypes/ebin
> /home/zotonic/zotonic/0.9.0/deps/mochiweb/ebin
> /home/zotonic/zotonic/0.9.0/deps/ua_classifier/ebin
> /home/zotonic/zotonic/0.9.0/deps/webzmachine/ebin
> /home/zotonic/zotonic/0.9.0/modules/mod_oauth/deps/erlang-oauth/ebin
> /home/zotonic/zotonic/0.9.0/priv/modules/*/deps/*/ebin
> /home/zotonic/zotonic/0.9.0/priv/sites/*/modules/*/deps/*/ebin -name
> zotonic09@localhost -boot start_sasl -heart -noshell -noinput -s zotonic
> zotonic  28768 28767  0 21:34 ?        00:00:00 heart -pid 28767

> What I do wrong?

> PS. Sorry for my bad English :)


 
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.