/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
#!/bin/sh
# /etc/init.d/rivendell_run_dir
#
# Simple script to create the /var/run/rivendell directory
# and then change ownership to the rivendell user
#
# Responds to start and stop calls
case "$1" in
start)
echo "Creating /var/run/rivendell"
mkdir /var/run/rivendell
# CHANGE THE NEXT LINE to your own username
chown rivendell2:rivendell /var/run/rivendell
;;
stop)
# There is actually nothing to do here but we'll say bye anyway
echo "rivendell_run_dir exiting"
;;
*)
echo "Usage: /etc/init.d/rivendell_run_dir {start|stop}"
exit 1
;;
esac
exit 0
### End of Script
Make the script executable and then add it to the init list by running:
sudo update-rc.d rivendell_run_dir defaults
It will moan about some non-compliance but generally works fine.
Regards,
Wayne
On 2013-06-21 02:51, Mike Carroll wrote:
Wayne Merricks <waynemerricks@...> writes:
I'm not sure if Suse is the same as Debian (in the way the Riv
daemons
work) but under Debian, it expects /var/run/rivendell to be created
and
owned by the user you run caed etc under. Some distros like to
clear
out /var/run across reboots which can cause this.
It can also be as silly as not being able to connect to MySQL try
loading up rdadmin first it might hint at better errors in the
syslog.
On 2013-06-21 00:37, G Wood wrote:
> Hello,
>
> Ive been installing Rdd on Opensuse v 11.4 and 12.1. I have
gotten
> it installed, rdairplay comes up ok, then I come back later after
> the OS is shut down and it errors out "cannot start Rivendell
> Daemons". Thoughts and suggestions would be appreciated.
>
> Gary
I'm having the same symptom on Ubuntu 12.04 with RD 2.5.1.
After a boot none of the RD* modules will run. I can manually create
the
/var/run/rivendell directory; that lets the modules start the daemons
and run.
I can also manually start the daemons via /etc/init.d/rivendell, and
everything runs.
I just got the 2.5.1 release built, and haven't looked into the
daemon problem
yet. Just throwing in my two cents.
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev