Zotonic
Zotonic
zotonic@conference.zotonic.com
Monday, 4 June 2012< ^ >
arjan has set the subject to: Zotonic - the Erlang CMS
Room Configuration

GMT+2
[08:54:25] arjan joins the room
[08:58:09] Marc Worrell joins the room
[11:40:11] Marc Worrell leaves the room: Disconnected: session closed
[12:28:56] maas.maarten.zeeman joins the room
[12:32:33] Marc Worrell joins the room
[12:54:37] Marc Worrell leaves the room: Disconnected: session closed
[13:51:10] Marc Worrell joins the room
[16:12:52] Marc Worrell leaves the room: Disconnected: session closed
[16:16:43] Marc Worrell joins the room
[16:18:04] Marc Worrell leaves the room: Disconnected: session closed
[16:40:44] Shawn Garbett joins the room
[16:41:25] <Shawn Garbett> I got some quick (at least I think they're quick) questions if someone's got a moment.
[16:41:50] <Shawn Garbett> I want to have two names pointed at the same server. I.e. two websites.
[16:42:21] <Shawn Garbett> So I can't get the second one started properly for some reason. I set it up as an "empty" site, since it will be just a boiler plate page.
[16:42:36] <Shawn Garbett> Secondly, where do I put the home page html?
[16:42:43] <Shawn Garbett> for the empty site.
[16:50:44] <Shawn Garbett> I just found the dispatch rule. Still no go.
[17:06:34] <Shawn Garbett> I put a test page in templates/home.tpl
[17:06:53] <Shawn Garbett> I cannot get the web server to start for the new site. How do I debug this?
[17:07:41] <arjan> did you create 2 sites>?
[17:08:03] <arjan> and they both have a config file?
[17:08:26] <arjan> and the host names in the config files correspond to the ones you configured in /etc/hosts?
[17:12:24] maas.maarten.zeeman leaves the room
[17:43:39] arjan leaves the room
[17:57:36] <Shawn Garbett> arjan, yes I did those things
[18:18:11] maas.maarten.zeeman joins the room
[18:19:11] <Shawn Garbett> All I get is "Retrying" from the admin panel.
[18:22:37] <Shawn Garbett> No errors in console.log
[18:31:11] <Shawn Garbett> Why do I get this:
[18:31:12] <Shawn Garbett> garbetsp@garbett:~/zotonic$ bin/zotonic start
Starting zotonic zotonic001@garbett.local
garbetsp@garbett:~/zotonic$ bin/zotonic stop
Stopping zotonic zotonic001@garbett.local
Stop:'zotonic001@garbett.local'
There is no node with this name
[18:33:13] <maas.maarten.zeeman> Probably because the hostname of your server is different
[18:33:56] <Shawn Garbett> ah. Were is the config that controls this in zotonic.
[18:34:18] <Shawn Garbett> I just discovered there is a separate log 'sasl', it has descriptive errors of why the second site isn't coming up.
[18:34:51] <maas.maarten.zeeman> /etc/hostname?
[18:35:05] <Shawn Garbett> hmm
[18:36:12] <maas.maarten.zeeman> otherwise you can set the node's name in an environment setting.
[18:36:23] <maas.maarten.zeeman> let me check which one.
[18:37:37] <Shawn Garbett> I changed /etc/hostname and it doesn't effect the stop command
[18:37:51] <Shawn Garbett> I'll try a reboot
[18:38:08] <maas.maarten.zeeman> you can also kill heart and beam.smp manually
[18:38:15] <Shawn Garbett> How?
[18:38:38] <Shawn Garbett> I tried 'kill −9'. That's a mistake. Erlang is too robust to fall for those tricks.
[18:39:24] <maas.maarten.zeeman> killall -9 heart; killall -9 beam.smp
[18:39:31] <maas.maarten.zeeman> One 1 line
[18:39:51] <Shawn Garbett> ah
[18:40:22] <maas.maarten.zeeman> Indeed otherwise beam.smp will restart heart and vice versa
[18:40:23] <Shawn Garbett> Okay, after a reboot it is pulling /etc/hostname
[18:40:41] <Shawn Garbett> Works great.
[18:41:01] <maas.maarten.zeeman> Nice. Otherwise
[18:41:15] <Shawn Garbett> The SASL log told me pgsql language wasn't installed. Now it all works. That was my initial issue.
[18:41:34] <maas.maarten.zeeman> all this is managed by scripts/zotonic-start
[18:41:47] <Shawn Garbett> okay
[18:41:59] <maas.maarten.zeeman> ok good to hear. Setting up the db is always tricky.
[18:42:02] <Shawn Garbett> Now that I have it working. It is good to learn some things about the setup.
[18:42:15] <Shawn Garbett> I left out a ";" when I did it earlier and it fooled me.
[18:42:32] <Shawn Garbett> Said it existed, but had completely ignored my request.
[18:43:49] <maas.maarten.zeeman> Aha, that recently fooled me too.
[18:44:01] <Shawn Garbett> Thanks for the help.
[18:44:13] <Shawn Garbett> I think I'm on my way now.
[18:44:15] <maas.maarten.zeeman> No thanks. Good luck
[18:49:19] Marc Worrell joins the room
[18:53:22] Marc Worrell leaves the room: Disconnected: connection closed
[18:54:39] Marc Worrell joins the room
[19:03:16] arjan joins the room
[19:04:18] arjan leaves the room
[19:16:07] Marc Worrell leaves the room: Disconnected: session closed
[19:43:38] Marc Worrell joins the room
[20:14:13] arjan joins the room
[20:19:21] arjan leaves the room
[20:21:34] arjan joins the room
[20:35:53] maas.maarten.zeeman leaves the room
[21:03:42] arjan leaves the room
[21:06:27] arjan joins the room
[21:31:41] arjan leaves the room
[21:34:01] Marc Worrell leaves the room: Disconnected: session closed
[23:16:19] Shawn Garbett leaves the room
[23:17:07] maas.maarten.zeeman joins the room
[23:19:45] maas.maarten.zeeman leaves the room
[23:20:17] Shawn Garbett joins the room
[23:22:00] Shawn Garbett leaves the room
[23:23:08] Shawn Garbett joins the room
[23:24:50] arjan joins the room
[23:29:45] arjan leaves the room
[23:30:35] arjan joins the room
[23:31:13] arjan leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!