Wayne Merricks <waynemerricks@...> writes:
> /var/run/rivendell being deleted is an Ubuntu thing.  They like 
> deleting everything in /var/run on reboot.
> 
> I used to use a really crappy init script I wrote on Ubuntu 11.04, it 
> should still work.  Change the chown line to your own username.
> 
> Copy this into /etc/init.d/rivendell_run_dir
[snip]

Thanks, Wayne. Also to Jorge Soto who referred me to a web page that 
discusses installing RD 2.0.2 on Ubuntu 10.04 and suggests a script 
modification against the installed /etc/init.d/rivendell script.

However, I don't think that's the problem. I looked at the rivendell script 
and it checks for and creates the /var/run/rivendell directory before 
performing either a start or a stop request.

I don't automatically start the Rivendell daemons.  Here's what I see after 
a reboot:

-- If I start the daemons manually, RD functions work (RDAdmin, etc.).
sudo /etc/init.d/rivendell start

-- If I manually create the /var/run directory, RD functions start the 
daemons and then work.
sudo mkdir /var/run/rivendell

-- If I don't do either, RD functions fail with the "daemons can't be 
started" message.

So it seems that whatever RD function modules check for and start the 
daemons aren't handling the case where /var/run/rivendell doesn't exist.

For posterity, here's the link Jorge provided:
http://www.talkunafraid.co.uk/2011/06/rivendell-2-0-2-on-ubuntu-10-04-2-lts/

And here's the page I've been using as a reference, RD 2.1.1 on Debian 6:
http://rivendell.tryphon.org/wiki/Debian_6_Install_Rivendell_2.1.1_from_Sour
ce

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to