Re: [RDD] Unable to create destination file (again)

2012-07-02 Thread Matt Hart
What does your Apache error log say?

Sent from my iPad

On Jul 2, 2012, at 7:00 PM, Marcelo Acuña  wrote:

> (I posted this 6 times and not appears, then I init a new thread)
> 
> Apache user in ubuntu is www-data.
> I added www-data to rivendell and audio groups but problem remain.
> I can't get import mp3 into a cut and can't delete carts.
> 
> I asked to me if is a apache problem or mysql problem, or another problem)
> 
> Marcelo
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


[RDD] Unable to create destination file (again)

2012-07-02 Thread Marcelo Acuña
(I posted this 6 times and not appears, then I init a new thread)

 Apache user in ubuntu is www-data.
 I added www-data to rivendell and audio groups but problem remain.
 I can't get import mp3 into a cut and can't delete carts.

 I asked to me if is a apache problem or mysql problem, or another problem)

Marcelo

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-02 Thread Marcelo Acuña
Matt Hart  writes:

> 
> I had this same problem once, and yes, it was Apache. I think I added the 
apache user to the rivendell group and
> made sure the audio folder was g+w (group writeable). 

(I post this 5 times and not appears in gmane.org :-(

 The user of apache is www-data.
 I added www-data to rivendell and audio groups.
 Then reboot.
 The problems remain.
 I can't import mp3 into a cut and I can't delete a cart.

Marcelo

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-02 Thread Marcelo Acuña
> I had this same problem once, and yes, it was Apache.
> I think I added the apache user to the rivendell group and
> made sure the audio folder was g+w (group writeable). 

 The apache user is www-data.
 I added this user to rivendell and audio group.
 And /var/snd have 777 permission.
 But problem remain.
 I cant't get import mp3 to a cut in RDLibrary.
 And I can't get delete a cart in RDLibrary.

Marcelo




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-02 Thread Wayne Merricks
It still seems like a permission problem on /var/snd

On Debian/Ubuntu I use the following:

Owner: rwx
Group: rwx
Other: rx

Or sudo chmod 0775 /var/snd (if you prefer)

 From memory I think you can make these permissions more strict but this 
is what I've always used.

Then I make sure /var/snd is chowned to the correct users first by 
making sure all the groups are sorted:

sudo addgroup rivendell
sudo adduser `whoami` rivendell

Then the chowning:

sudo chown `whoami`:rivendell /var/snd

Finally double check that /etc/rd.conf has the same username as the one 
used above for `whoami` listed for AudioOwner (AudioGroup should also be 
rivendell)

echo `whoami` to make sure

As for apache, all you need to do is make sure the rd-bin.conf is in the 
right place and you've used the right ./configure flags (I can't 
remember if you said you installed from the repos or not).

Anyway on Deb/Ubu rd-bin.conf lives in /etc/apache2/conf.d/rd-bin.conf

If the configure flags are wrong (or something went wrong) make sure 
that line 23 reads:  and that line 50 is 
ScriptAlias /rd-bin/ "/var/www/rd-bin/"

Hope this helps,

Wayne Merricks
The Voice Asia

On 02/07/12 17:40, Marcelo Acuña wrote:
> Matt Hart  writes:
>
>> I had this same problem once, and yes, it was Apache. I think I added the
> apache user to the rivendell group and
>> made sure the audio folder was g+w (group writeable).
>   (excuseme, I send this post 3 times and I can't get be accepted.)
>
>   The apache user is www-data. I added this user to rivendell, then reboot, 
> but
> the problem remain. I can't get import mp3 and I can't get delete carts.
>   May be a mysql problem?
>   Or is another apache problem?
>
> Marcelo
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev



###
Scanned by MailMarshal
###



Attention: 

The information contained in this message is confidential and intended 
for the addressee(s) only. If you have received this message in error 
or there are any problems, please notify the originator immediately.
The unauthorised use, disclosure, copying or alteration of this message
is strictly forbidden. Christian Vision or any of its subsidiaries will
not be liable for direct, special, indirect or consequential damages 
arising from alteration of the contents of this message by a third party
or as a result of any virus being passed on. Please note that we reserve
the right to monitor and read any e-mails sent or received by the 
company under the Telecommunications (Lawful Business Practice) 
(Interception of Communications) Regulation 2000. Christian Vision is 
registered in England as a limited company 2842414 and as a charity 
1031031  


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-02 Thread Marcelo Acuña
Matt Hart  writes:

> 
> I had this same problem once, and yes, it was Apache. I think I added the 
apache user to the rivendell group and
> made sure the audio folder was g+w (group writeable). 

 (excuseme, I send this post 3 times and I can't get be accepted.)

 The apache user is www-data. I added this user to rivendell, then reboot, but 
the problem remain. I can't get import mp3 and I can't get delete carts.
 May be a mysql problem?
 Or is another apache problem?

Marcelo

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-02 Thread Marcelo Acuña
Matt Hart  writes:

> 
> I had this same problem once, and yes, it was Apache. I think I added the 
apache user to the rivendell group and
> made sure the audio folder was g+w (group writeable). 

 The apache user is www-data. I add this user to the rivendell group, reboot 
and 
the problem remain: I can't get import mp3 and can't not delete carts.
 May be a mysql problem?

Marcelo

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-02 Thread Matt Hart
What does your apache error log say when you try to delete a cart?

Sent from my iPad

On Jul 2, 2012, at 9:55 AM, Marcelo Acuña  wrote:

> Matt Hart  writes:
> 
>> 
>> I had this same problem once, and yes, it was Apache. I think I added the 
> apache user to the rivendell group and
>> made sure the audio folder was g+w (group writeable). 
>> 
> 
> I found that www-data is the apache user.
> I add www-data to rivendell group and reboot, but the problem remain.
> (/var/snd was set with 777 permission)
> 
> Marcelo
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-02 Thread Marcelo Acuña
Matt Hart  writes:

> 
> I had this same problem once, and yes, it was Apache. I think I added the 
apache user to the rivendell group and
> made sure the audio folder was g+w (group writeable). 
> 

 I found that www-data is the apache user.
 I add www-data to rivendell group and reboot, but the problem remain.
 (/var/snd was set with 777 permission)

Marcelo

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-02 Thread Marcelo Acuña
Matt Hart  writes:

> 
> I had this same problem once, and yes, it was Apache. I think I added the 
apache user to the rivendell group and
> made sure the audio folder was g+w (group writeable). 

 /var/snd have all permissions.
 Who is apache user?
 I put
 sudo adduser apache rivendell
and get that apache is not an user (same with apache2)

Marcelo

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev