On 5/31/06, Alison Rowland <[EMAIL PROTECTED]> wrote:
> Thanks, configuring with -c did the trick!
>
> But now I've got a different problem: I can't get the startup script
> to work at system reboot. It's in /etc/init.d, and it works like a
> charm when I call it from the command line. I'm on Ubuntu, and my
> system runlevel is 2. I used sysv-rc-conf (which I've successfully
> used before) to set it up, and I've confirmed that it's symlinked
> (e.g. S20mongrel_cluster) in /etc/rc2.d. I have tried setting it to
> start before the webserver (Litespeed), and also after, to no avail.
> Upon restart, no mongrel, but it'll start right up if I call it
> manually. Any ideas? Thanks.

Hmm ... take a look at your init script ... I bet it can't find
mongrel_cluster_ctl because its in /usr/local/bin ... try changing
this:
CONF_DIR=/etc/mongrel_cluster
RETVAL=0

to this:

CONF_DIR=/etc/mongrel_cluster
PATH=/usr/local/bin:$PATH
RETVAL=0

Just make sure you are adding the real path to mongrel_cluster_ctl.
This solution should work I will bring this to Bradley's attention so
he can fix it in the distribution the way he sees fit.

Let me know if this solves your problem.

Austin
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to