Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <tjarvstrand> hc, mawuli Trying to follow the "getting started"-instructions on the zotonic webpage but I don't seem to be able to connect to the erlang node
- <tjarvstrand> does it have any funny erlang cookie set?
- <tjarvstrand> kaos_: ^
- <kaos_> Hi :)
- <tjarvstrand> sorry for bothering everyone, not sure who's in the know :)
- <kaos_> zotonic doesn't specify any cookies, if that was your question..
- <tjarvstrand> ok
- <kaos_> more often is a dns/hostname issue
- <tjarvstrand> I'm having troubles connecting to the erlang node
- <tjarvstrand> hm
- <kaos_> does your local hostname resolve?
- <tjarvstrand> what name does the erlang-node use?
- <kaos_> default is to use short name with your hostname, if I remember correctly
- <tjarvstrand> erl_call -sname zotonic001@brunsnultra -a 'zotonic ping' says 'failed to connect to node zotonic001@brunsnultra'
- <kaos_> ah.. looks like defaults ;)
- <tjarvstrand> yeah
- <kaos_> what does `host brunsnultra` say?
- <tjarvstrand> weird, it times out
- * You are now known as kaos
- <kaos> eh.. ok, that was unexpected.
- <tjarvstrand> yeah
- <kaos> is it listed in your /etc/hosts file?
- <tjarvstrand> I don't have any problems connecting to any other erlang nodes on my system
- <tjarvstrand> yup
- <tjarvstrand> erl -sname foo in one terminal and erl_call -sname foo@brunsnultra -a 'code all_loaded' work fine
- <kaos> hmm..
- <tjarvstrand> (edts@brunsnultra)1> net:ping(foo@brunsnultra). pong (edts@brunsnultra)2> net:ping(zotonic001@brunsnultra). pang
- <kaos> what does `epmd -names` say?
- <tjarvstrand> zotonic001 is listed in epmd -names
- <kaos> hah
- * vmaatta (~vmaatta@a91-154-224-48.elisa-laajakaista.fi) has joined #zotonic
- <tjarvstrand> btw I used the ppa to install
- <kaos> ok.. should work, too.. :p
- <tjarvstrand> hehe, yeah, one would hope so :)
- <kaos> (foo@cypher)1> net:ping(zotonic001@cypher).
- <kaos> pong
- <tjarvstrand> works wehn building from the latest github source
- <kaos> does it.. wow. gah..
- <tjarvstrand> or at least I can ping the node
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement