[lqfb-main] Problems with installation instructions?
Stratos Zolotas
strzol at gmail.com
Tue Jul 24 22:31:14 UTC 2012
We are using this script:
#!/bin/bash
>
> # sleep some time to let postgresql start
> sleep 30s
>
> # run the loop that sends new events
> cd /var/www/clients/client1/web5/liquid_feedback_frontend/
> echo "Event:send_notifications_loop()" | ../webmcp/bin/webmcp_shell
> piratepartygreece
>
and we running with /etc/rc.local
su www-data -c "/var/www/liquid.pirateparty.gr/lqfb-notifications.sh" >
> /dev/null &
>
It works without issues.
On Thu, Jul 12, 2012 at 4:09 AM, Ilan <ilan at decodecode.net> wrote:
> Peace, LF devs!
>
> I was asked to troubleshoot an installation of LF on a Debian VPS. We
> followed the official instructions,
> <http://dev.liquidfeedback.org/trac/lf/wiki/installation>, but there's
> a problem -- this section seems incomplete:
>
> Start sending of event notifications: (TODO: daemonize)
> cd /opt/liquid_feedback_frontend/
> echo "Event:send_notifications_loop()" | ../webmcp/bin/webmcp_shell
> myconfig
>
> 1. The webmcp_shell must be run as user www-data. Running it as root
> crashes:
>
> lua: /opt/liquid_feedback_frontend/config/init.lua:46: FATAL:
> Ident authentication failed for user "root"
>
> 2. How to daemonize it?
>
> I thought it would be quicker (and safer) to ask. Seems I'd need to
> read a lot of code to figure out what send_notifications_loop() does,
> and where in init.d to add a daemon for it...
>
> Thanks!
> (o;
>
> (PS: I'm blogging about this troubleshooting to keep all the details
> in order: <
> http://decodecode.net/elitist/2012/07/liquidfeedback-installation-woes/>.
> And I'm hoping this will help improve the process! ;o)
>
> --
> Ilan
>
>
> The real world is a special case.
>
> _______________________________________________
> Main mailing list
> Main at dev.liquidfeedback.org
> http://dev.liquidfeedback.org/cgi-bin/mailman/listinfo/main
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dev.liquidfeedback.org/pipermail/main/attachments/20120725/a2e58380/attachment.html>
More information about the Main
mailing list