I've done all that and it didn't make a difference.

Sent from my iPhone

> On Mar 23, 2016, at 10:52 AM, Wayne Merricks <[email protected]> 
> wrote:
> 
> Hi,
> 
> Check your /var/snd:
> 
> $ sudo addgroup rivendell
> $ sudo adduser radio rivendell
> $ sudo chown -R radio:rivendell /var/snd
> $ sudo chmod -R g+w /var/snd
> 
> If you can create files inside /var/snd as your radio user then Rivendell can 
> do that too.
> 
>> On 23/03/16 14:05, [email protected] wrote:
>> Any other ideas?
>> 
>> Sent from my iPhone
>> 
>>> On Mar 22, 2016, at 2:09 PM, David Klann <[email protected]> wrote:
>>> 
>>> As far as I know (that is, my previous experiences show), this is only a
>>> warning. Are you saying that the import process still doesn't work?
>>> 
>>>  ~David
>>> 
>>> 
>>>> On 03/22/2016 01:02 PM, [email protected] wrote:
>>>> When I restarted Apache I go this. Apache2 could not reliably determine 
>>>> the servers fully qualified domain name using 127.0.0.1. Set the server 
>>>> name directive globally to suppress this message.  A reboot didn't help as 
>>>> well. At this point would it be better to recompile with correct 
>>>> configurations?
>>>> 
>>>> Sent from my iPhone
>>>> 
>>>>> On Mar 22, 2016, at 11:49 AM, David Klann <[email protected]> wrote:
>>>>> 
>>>>> 
>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>> Hash: SHA256
>>>>> 
>>>>> I'm pretty sure this is the problem: Your system is set to start the
>>>>> apache web server as user "www-data". You need to change that to run the
>>>>> apache service as user "radio" (or as group "rivendell").
>>>>> 
>>>>> I don't have easy access to an Ubuntu system at the moment, but on
>>>>> Debian Jessie the file you need to modify is /etc/apache2/envvars There
>>>>> are two variables in that file that you need to change: APACHE_RUN_USER
>>>>> and APACHE_RUN_GROUP. Change these from the default to "radio" and
>>>>> "rivendell" respectively. Then restart the apache web service before
>>>>> attempting another import.
>>>>> 
>>>>> (Cowboy: I think you were looking at the permissions for the *parent*
>>>>> directory to /var/snd (i.e., ".."), not /var/snd itself?)
>>>>> 
>>>>> Getting there?
>>>>> 
>>>>> ~David Klann
>>>>> 
>>>>> 
>>>>>> On 03/22/2016 09:49 AM, [email protected] wrote:
>>>>>> Here is my Apache stuff.
>>>>>> 
>>>>>> root /usr/sbin/apache2 -k start
>>>>>> www-data /usr/sbin/apache2 -k start
>>>>>> www-data /usr/sbin/apache2 -k start
>>>>>> 
>>>>>> Radio grip --color=auto apache
>>>>>> 
>>>>>> Sent from my iPhone
>>>>>> 
>>>>>>> On Mar 21, 2016, at 11:21 PM, David Klann <[email protected]> wrote:
>>>>>> Hey Seth,
>>>>>> 
>>>>>> - rdxport.cgi is correctly set up with permissions rwsr-xr-x (that "s"
>>>>>> means "while the program is running, assume the identity of the owner of
>>>>>> the file" (which in this case is the user "root")
>>>>>> 
>>>>>> As what user ID is your apache service running? It should be running as
>>>>>> either the user "root", or the AudioOwner user ("radio" in your case).
>>>>>> You can check with the command: "ps ax --format user,cmd | grep apache".
>>>>>> The user as whom the process is running will be in the left column. You
>>>>>> can change the user as whom the apache process runs by setting the
>>>>>> parameter "User" in the main apache configuration file (likely somewhere
>>>>>> in /etc/apache).
>>>>>> 
>>>>>> Keep plugging away!
>>>>>> 
>>>>>> ~David Klann
>>>>>> 
>>>>>>>>> On 03/21/2016 12:53 PM, Seth Stevenson wrote:
>>>>>>>>> Here is what I have.
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> radio@seth:/usr/local/libexec$ df -TH
>>>>>>>>> Filesystem     Type      Size  Used Avail Use% Mounted on
>>>>>>>>> /dev/root      ext4       32G  3.6G   27G  12% /
>>>>>>>>> devtmpfs       devtmpfs  459M  4.1k  459M   1% /dev
>>>>>>>>> none           tmpfs     4.1k     0  4.1k   0% /sys/fs/cgroup
>>>>>>>>> none           tmpfs      92M  848k   91M   1% /run
>>>>>>>>> none           tmpfs     5.3M     0  5.3M   0% /run/lock
>>>>>>>>> none           tmpfs     459M   24M  435M   6% /run/shm
>>>>>>>>> none           tmpfs     105M   25k  105M   1% /run/user
>>>>>>>>> /dev/mmcblk0p1 vfat       63M  4.9M   58M   8% /media/radio/324A-3901
>>>>>>>>> radio@seth:/usr/local/libexec$ ls -alrt /var/snd
>>>>>>>>> total 1900
>>>>>>>>> drwxr-xr-x 15 root  root         4096 Mar 18 08:11 ..
>>>>>>>>> drwxrwxrwx  2 radio rivendell    4096 Mar 18 08:14 .
>>>>>>>>> -rw-rw-rw-  1 radio radio     1933368 Mar 18 08:14 999999_001.wav
>>>>>>>>> radio@seth:/usr/local/libexec$ grep "^Audio" /etc/rd.conf
>>>>>>>>> AudioOwner=radio
>>>>>>>>> AudioGroup=rivendell
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>>> On Tue, Mar 22, 2016 at 1:46 AM, David Klann <[email protected]
>>>>>>>>> <mailto:[email protected]>> wrote:
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Hey Seth,
>>>>>>>>> 
>>>>>>>>> This sounds suspiciously like a permissions issue with the audio file
>>>>>>>>> directory (usually /var/snd). This directory should be owned by
>>>>> the user
>>>>>>>>> specified in /etc/rd.conf as "AudioOwner". The directory should also
>>>>>>>>> have group ownership matching the group in the setting "AudioGroup" in
>>>>>>>>> /etc/rd.conf. Finally, the directory should have its permission "mode"
>>>>>>>>> set to either "755" or "775". If changing that directory to the above
>>>>>>>>> ownership and permissions doesn't help, please post the output of the
>>>>>>>>> following commands:
>>>>>>>>> 
>>>>>>>>> df -Th
>>>>>>>>> ls -alrt /var/snd
>>>>>>>>> grep "^Audio" /etc/rd.conf
>>>>>>>>> 
>>>>>>>>> Hope this helps!
>>>>>>>>> 
>>>>>>>>> ~David Klann
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>>> On 03/21/2016 12:19 PM, Seth Stevenson wrote:
>>>>>>>>>> Hi all,
>>>>>>>>>> Sorry for the flood of questions lately. Getting a lot of problems
>>>>>>>>> solved and I appreciate it.
>>>>>>>>> 
>>>>>>>>>> I now have an issue with import in rdlibrary. The import shows
>>>>>>>>> complete, but no audio is actually there; just metadata.  The is no
>>>>>>>>> files in var/snd either. A search seemed to indicate I need to do
>>>>> this.
>>>>>>>>>> chown root:root rdxport.cgi
>>>>>>>>>> chmod 4755 rdxport.cgi
>>>>>>>>>> I've done this and it didn't help. My rdxport.cgi is root root with
>>>>>>>>> rwsr-xr-x permissions. Is this my problem?
>>>>>>>>> 
>>>>>>>>>> --
>>>>>>>>>> Seth Stevenson
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Rivendell-dev mailing list
>>>>>>>>>> [email protected]
>>>>>> <mailto:[email protected]>
>>>>>>>>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> --
>>>>>>>>> Seth Stevenson
>>>>> -----BEGIN PGP SIGNATURE-----
>>>>> Version: GnuPG v2
>>>>> 
>>>>> iF4EAREIAAYFAlbxaYsACgkQZtxZ++32cNi86gEAhNDahYQta/KOSMZM+fmi8EI0
>>>>> dKV+ZlkwUehvKUovmMgA/i08CO02vlfNKochCMM5fB2AxFKe77w8A2HQwiQLB8yY
>>>>> =DPiD
>>>>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> 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
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to