Frequently Asked Questions (FAQ)
From Rivendell Wiki
General
RDAdmin first start - "Wrong access permissions for accessing mysql!"
Q: I have just installed Rivendell. But, when I start the rdadmin after I enter the the root mysql user info it gives me the error message:"Wrong access permissions for accessing mysql!" What is wrong?
A: This error occurs when the owner of /etc/rd.conf and the group of /etc/rd.conf do not match values after the AudioOwner= and AudioGroup= in /etc/rd.conf.
How to fix this. Open a terminal and then run the following command:
ls -l /etc/rd.conf
This will list out some thing like this:
-rw-r--r-- 1 root root 37 2010-02-02 13:45 /etc/rd.conf
In this case the first root is the owner of the file while the second root is the group the file belongs to.
To change this to match the ones in /etc/rd.conf run something like this:
chown user:group /etc/rd.conf
Ubuntu users need sudo in front like so:
sudo chown user:group /etc/rd.conf
where user is the AudioOwner in /etc/rd.conf and group is the AudioGroup in /etc/rd.conf.
Importing an audio file gets to about 50%, pauses, and then fails with an unhelpful error
- Be sure to check the permissions on the /var/snd directory.
The permissions should be such that it is owned by the AudioUser and AudioGroup specified in the configuration file (/etc/rd.conf). If it is not, change the ownership in a console like this either using "sudo" or switching to the root user (replace "AudioOwner" and "AudioGroup" with what is specified in the configuration file):- chown -R <AudioOwner>.<AudioGroup> /var/snd
- (OLD - the dependency on sox has been removed) This is caused when normalization is turned on as it reads the file in and then starts normalization at the 50% mark. The Rivendell Ubuntu packages require, but for some reason do not correctly specify, a dependency on additional codecs for sox. Installing 'libsox-fmt-all' from apt will correct that omission.
My Dropbox doesn't import any of the audio files I put in there
- The path specification needs to include the files too rather than just the directory.
- For example:
/home/rduser/dropbox1/ as the path in the definition of the dropbox won't work, but
/home/rduser/dropbox1/*.mp2 will work.
- For example:
Everything works except the meters unless I'm logged in as root or open a terminal, go su, and run RD.
Permissions problem. Make sure that AudioOwner= in /etc/rd.conf is set to the name of the user that you're running Rivendell under.
Distro-specific questions
Ubuntu
After installation I get an error "Cannot start Rivendell daemons" whenever trying to start rdadmin, rdairplay, rd<anything>.
- Check for the existence of a directory called /var/run/rivendell.
Because /var/run is stored on a RAM disk in Ubuntu this directory needs to be created after every boot. (This is fixed in the initialization scripts provided by the Tryphon package repository) - If you are using the guide from Alban you need to delete the "; < - your login" when you edit rd.conf for your AudioUser or the startup will fail with an invalid AudioUser error.
Ubuntu - No sound/sound card in Rivendell after setup
RML
Wildcards in lognames - LL
Q: I am trying to use the RML command LL to load a log using the following line:
LL 3 logname_%A!
Can wildcards be used with this RML command? It doesn't seem to work for me.
A: You can use wildcards by running an external script. Here is an example script:
#!/bin/sh NOWDATE=$(date +%d_%m_%Y) rmlsend LL\ 1\ $NOWDATE\! exit 0
You then run the script by running the following RML command in a macro, where path is the path to the script.
RN path/script.sh!
Make sure to make the script executable, otherwise it will not run. You can do that with the command:
chmod +x path/script.sh

