Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-08-19 Thread le père Léon

Le 28/07/2018 à 08:33, Gary Hodder a écrit :

I've tried. It does not work for me. I mean, not more. It seams that
in
Debian 8 the /var/www/rd-bin can be a bin directory (and
/var/www/html
can stay an fixed pages directory).


The rd-bin directory also has web pages that need to be in the apache
document root to read them.


I don't think so : html pages are default-handler in your 
/var/www/html/rd-bin directory

See rd-bin.conf and https://httpd.apache.org/docs/2.4/handler.html


There is no apache error when I try to rdimport, even in debug
LogLevel.
I have no more error message since apache is configured, but the wav
file is still not created.


If you still have rd-bin.conf in /etc/apache2/rivendell then its out
side of the apache configeration hierarchy. So as far as apache is
concerned rd does not exist so there wont be rd error messages in the
log.
You could move things but that may break rd elsewhere so I would
personly start again.
To save confusion later on remove the broken unused directories
/etc/apache2/rivendell and /var/www/rd-bin.
Goto rd source
Make clean
./configure --libexecdir=/var/www/html/rd-bin --
sysconfdir=/etc/apache2/sites-available
make
make install
make sure rd-bin.conf is in /etc/apache2/sites-available and it is also
symlinked to /etc/apache2/sites-enabled theres 2 lines in rd-bin.conf
that should point to /var/www/html/rd-bin.
Restart apache2 and rd and try again.


Sorry Garry, but this does not make any difference on my system, both 
working the same (good ?) way.


I've followed your conf options with a fresh install : I still have 
nothing written in my /var/snd directory on a new fresh deb8 install.


And I really don't like to considere rd-bin.conf as a "site 
configuration" for my localhost server, I consider this as a "conf 
configuration".



--
Léon.

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


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-27 Thread Gary Hodder


> I've tried. It does not work for me. I mean, not more. It seams that
> in 
> Debian 8 the /var/www/rd-bin can be a bin directory (and
> /var/www/html 
> can stay an fixed pages directory).

The rd-bin directory also has web pages that need to be in the apache
document root to read them.

> There is no apache error when I try to rdimport, even in debug
> LogLevel.
> I have no more error message since apache is configured, but the wav 
> file is still not created.
> 
If you still have rd-bin.conf in /etc/apache2/rivendell then its out
side of the apache configeration hierarchy. So as far as apache is
concerned rd does not exist so there wont be rd error messages in the
log.
You could move things but that may break rd elsewhere so I would
personly start again.
To save confusion later on remove the broken unused directories
/etc/apache2/rivendell and /var/www/rd-bin.
Goto rd source
Make clean
./configure --libexecdir=/var/www/html/rd-bin --
sysconfdir=/etc/apache2/sites-available
make
make install
make sure rd-bin.conf is in /etc/apache2/sites-available and it is also
symlinked to /etc/apache2/sites-enabled theres 2 lines in rd-bin.conf
that should point to /var/www/html/rd-bin.
Restart apache2 and rd and try again.

Gary.


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


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-27 Thread le père Léon

Le 24/07/2018 à 04:11, Gary Hodder a écrit :

I compiled rivendell 2.19.2 with :
   ./configure --libexecdir=/var/www/rd-bin
--sysconfdir=/etc/apache2/rivendell


I remember reading quite some time ago that apache2 by default for
security reasons will not look out side of its set root directory.
In debian 9.4 its document root is /var/www/html
It also looks like it only checks its include directories for *.conf
files so It wont find /etc/apache2/rivendell/rd-bin.conf
I had it wrong at the start so deleted the directories files from the
wrong paths and recompiled.
configure --libexecdir=/var/www/html/rd-bin --
sysconfig=/etc/apache/sites-available
make install wont over write conf files so check rd-bin.conf in sites-
available points to, in my case /var/www/html/rd-bin
rd-bin.conf is symlinked from /etc/apache2/sites-available to
/etc/apache2/sites-enabled
Restart apache2 and rd.
Now import works.


I've tried. It does not work for me. I mean, not more. It seams that in 
Debian 8 the /var/www/rd-bin can be a bin directory (and /var/www/html 
can stay an fixed pages directory).

There is no apache error when I try to rdimport, even in debug LogLevel.
I have no more error message since apache is configured, but the wav 
file is still not created.



--
Léon.

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


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-23 Thread Gary Hodder


> 
> I compiled rivendell 2.19.2 with :
>   ./configure --libexecdir=/var/www/rd-bin 
> --sysconfdir=/etc/apache2/rivendell
> 
I remember reading quite some time ago that apache2 by default for
security reasons will not look out side of its set root directory.
In debian 9.4 its document root is /var/www/html
It also looks like it only checks its include directories for *.conf
files so It wont find /etc/apache2/rivendell/rd-bin.conf
I had it wrong at the start so deleted the directories files from the
wrong paths and recompiled.
configure --libexecdir=/var/www/html/rd-bin --
sysconfig=/etc/apache/sites-available
make install wont over write conf files so check rd-bin.conf in sites-
available points to, in my case /var/www/html/rd-bin
rd-bin.conf is symlinked from /etc/apache2/sites-available to
/etc/apache2/sites-enabled
Restart apache2 and rd.
Now import works.

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


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-23 Thread Fred Gleason
On Jul 23, 2018, at 10:17, Rob Landry <41001...@interpring.com> wrote:

> I hate, hate, hate error messages like this. The message should say: "unable 
> to create destination file: /path/to/filename".
> 
> We're all assuming the problem is access to /var/snd, but what if the real 
> problem is that it's trying to write to /tmp and there's not enough disk 
> space?

While I cannot but agree that the error reporting in the current transcoder 
stack is by no means ideal, you can get more detailed information by adding 
‘LogXloadDebugData=Yes’ to the ‘[Logs]’ section of ‘/etc/rd.conf’. The added 
information will be sent to the syslog.

Now that was nice and discoverable, wasn’t it?  

 Cheers!


|--|
| Frederick F. Gleason, Jr. |  Chief Developer |
|   |  Paravel Systems |
|--|
|   Remember that the wastepaper basket is your best friend.   |
| -- Robert Graves |
|"Goodbye to All That" |
|--|

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


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-23 Thread Rob Landry

On Mon, 23 Jul 2018, Cowboy wrote:


It could be worse.
"They" could have specified the error text as...



"Like dude, something went wrong."


Yes; I remember programming on a PDP-8 back in the 1970's where the only 
error message you ever got was "ERROR".



Or the once popular..
"I can't do that, Dave."


Daaaisyyy, Daaaisyyy...


Or, the currently popular...
"Tell Google about this problem"





Rob

--
Я там, где ребята толковые,
Я там, где плакаты "Вперёд",
Где песни рабочие новые
Страна трудовая поёт.

k___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-23 Thread Lorne Tyndale
All I can say is...

PC Load Letter


> 
> 
> On Mon, 23 Jul 2018 10:17:57 -0400 (EDT)
> Rob Landry <41001...@interpring.com> wrote:
> 
> > I hate, hate, hate error messages like this. The message should say: 
> > "unable to create destination file: /path/to/filename".
> 
>  It could be worse.
>  "They" could have specified the error text as...
> 
>  "Like dude, something went wrong."
> 
>  Or the once popular..
>  "I can't do that, Dave."
> 
>  Or, the currently popular...
>  "Tell Google about this problem"
> 
> -- 
> Cowboy
> 
> today, n.:
>   A nice place to visit, but you can't stay here for long.
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-23 Thread Cowboy
On Mon, 23 Jul 2018 10:17:57 -0400 (EDT)
Rob Landry <41001...@interpring.com> wrote:

> I hate, hate, hate error messages like this. The message should say: 
> "unable to create destination file: /path/to/filename".

 It could be worse.
 "They" could have specified the error text as...

 "Like dude, something went wrong."

 Or the once popular..
 "I can't do that, Dave."

 Or, the currently popular...
 "Tell Google about this problem"

-- 
Cowboy

today, n.:
A nice place to visit, but you can't stay here for long.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-23 Thread Rob Landry

On Tue, 17 Jul 2018, le père Léon wrote:


Sounds like these words have already been read..

Under Debian 8 (thanks to many tricks I finally succeeded in compiling 
and launching Rivendell !!)

.. import does not work :
 "unable to create destination file"


I hate, hate, hate error messages like this. The message should say: 
"unable to create destination file: /path/to/filename".


We're all assuming the problem is access to /var/snd, but what if the real 
problem is that it's trying to write to /tmp and there's not enough disk 
space?



Rob

--
Я там, где ребята толковые,
Я там, где плакаты "Вперёд",
Где песни рабочие новые
Страна трудовая поёт.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-21 Thread Gary Hodder


> I compiled rivendell 2.19.2 with :
>   ./configure --libexecdir=/var/www/rd-bin 
> --sysconfdir=/etc/apache2/rivendell
> 
If apache is not told to look in the rivendell directory under apache
then it wont find the rd-bin.conf.
I just used --libexecdir=/usr/local/libexec
The configure script was smart enough fo find the apache sysconfig.
It put it in /etc/apache2/sites-available
Also rd-bin.conf was symlinked from /etc/apache/sites-available to
/etc/apache2/sites-enabled.
This is on debian 9.4
Rivendell-2-19.2

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


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-21 Thread Marius Wikstøl
Hmm, ignore my comment on the --libexecdir. I guess it can be whatever 
you choose (under the default root atleast?), but the conf-dir for the 
modues is /etc/apache2/conf-enabled.


Marius

On 07/21/2018 09:10 PM, Marius Wikstøl wrote:


Hi,

In Debian, the (default) paths should be 
--libexecdir=/var/www/html/rd-bin 
--sysconfdir=/etc/apache2/conf-enabled (or /etc/apache2/conf-available 
and linked to conf-enabled).



Marius
On 07/21/2018 07:24 PM, David Klann wrote:

Greetings!

The "404" status in the Apache log means that the apache server could
not find /rd-bin/rdxport.cgi. You need to make sure that the apache
configuration file (maybe in /etc/apache2/rivendell??) has the proper
path to the CGI program. I've pasted a sample apache configuration file
(below).

You'll see two instances of /usr/local/libexec below. You should change
these directory specifications in your file to the actual directory on
*your* server (likely /usr/libexec).

Hope this helps!

   ~David

#
# rdfeed.conf
#
# This is the Apache Web Server configuration for Rivendell.
#
#   (C) Copyright 2007,2010 Fred Gleason
#
#  $Id: rd-bin.conf.in,v 1.4 2010/07/29 19:32:30 cvs Exp $
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License version 2 as
#   published by the Free Software Foundation.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public
#   License along with this program; if not, write to the Free Software
#   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#

TimeOut 2400

   Options ExecCGI FollowSymLinks
   AllowOverride None
   Require all granted
   
 SetHandler default-handler
   
   
 SetHandler default-handler
   
   
 SetHandler default-handler
   
   
 SetHandler default-handler
   
   
 SetHandler cgi-script
   
   
 SetHandler cgi-script
   
   
 SetHandler cgi-script
   

ScriptAlias /rd-bin/ "/usr/local/libexec/"
#

On 07/21/2018 11:18 AM, le père Léon wrote:

Le 17/07/2018 à 19:14, Fred Gleason a écrit :

On Jul 17, 2018, at 12:42, le père Léon wrote:

(I must say I did not configure Apache since I don't know the
relation between the c++-qt3-mysql Rivendell application and Apache..)

In which case, a great many things won’t work (including import).

Well..

I compiled rivendell 2.19.2 with :
  ./configure --libexecdir=/var/www/rd-bin
--sysconfdir=/etc/apache2/rivendell

Apache is now configured and working.

When I try to import (with rdimport command line), I still have that
message :
" Unable to create destination file, skipping dirname/filename..."

In apache logs :
127.0.0.1 - - [21/Jul/2018:16:20:10 +0200] "POST /rd-bin/rdxport.cgi
HTTP/1.1" 404 477 "-" "Mozilla/5.0 rivendell/2.19.2 (rdimport)"
127.0.0.1 - - [21/Jul/2018:16:20:12 +0200] "POST /rd-bin/rdxport.cgi
HTTP/1.1" 404 452 "-" "Mozilla/5.0 rivendell/2.19.2"



Le 17/07/2018 à 18:52,riv...@braingia.org  a écrit :

My first thought was to make sure there's enough disk space left.

There is.


I'd try to touch a file in /var/snd as the rd user

I can't touch as 'rivendell' user, as I defined this user with no login
access (/bin/false as shell in /etc/passwd).
A user in 'rivendell' group can touch, create, remove in /var/snd.





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




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


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-21 Thread Marius Wikstøl

Hi,

In Debian, the (default) paths should be 
--libexecdir=/var/www/html/rd-bin --sysconfdir=/etc/apache2/conf-enabled 
(or /etc/apache2/conf-available and linked to conf-enabled).



Marius

On 07/21/2018 07:24 PM, David Klann wrote:

Greetings!

The "404" status in the Apache log means that the apache server could
not find /rd-bin/rdxport.cgi. You need to make sure that the apache
configuration file (maybe in /etc/apache2/rivendell??) has the proper
path to the CGI program. I've pasted a sample apache configuration file
(below).

You'll see two instances of /usr/local/libexec below. You should change
these directory specifications in your file to the actual directory on
*your* server (likely /usr/libexec).

Hope this helps!

   ~David

#
# rdfeed.conf
#
# This is the Apache Web Server configuration for Rivendell.
#
#   (C) Copyright 2007,2010 Fred Gleason 
#
#  $Id: rd-bin.conf.in,v 1.4 2010/07/29 19:32:30 cvs Exp $
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License version 2 as
#   published by the Free Software Foundation.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public
#   License along with this program; if not, write to the Free Software
#   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#

TimeOut 2400

   Options ExecCGI FollowSymLinks
   AllowOverride None
   Require all granted
   
 SetHandler default-handler
   
   
 SetHandler default-handler
   
   
 SetHandler default-handler
   
   
 SetHandler default-handler
   
   
 SetHandler cgi-script
   
   
 SetHandler cgi-script
   
   
 SetHandler cgi-script
   

ScriptAlias /rd-bin/ "/usr/local/libexec/"
#

On 07/21/2018 11:18 AM, le père Léon wrote:

Le 17/07/2018 à 19:14, Fred Gleason a écrit :

On Jul 17, 2018, at 12:42, le père Léon wrote:

(I must say I did not configure Apache since I don't know the
relation between the c++-qt3-mysql Rivendell application and Apache..)

In which case, a great many things won’t work (including import).

Well..

I compiled rivendell 2.19.2 with :
  ./configure --libexecdir=/var/www/rd-bin
--sysconfdir=/etc/apache2/rivendell

Apache is now configured and working.

When I try to import (with rdimport command line), I still have that
message :
" Unable to create destination file, skipping dirname/filename..."

In apache logs :
127.0.0.1 - - [21/Jul/2018:16:20:10 +0200] "POST /rd-bin/rdxport.cgi
HTTP/1.1" 404 477 "-" "Mozilla/5.0 rivendell/2.19.2 (rdimport)"
127.0.0.1 - - [21/Jul/2018:16:20:12 +0200] "POST /rd-bin/rdxport.cgi
HTTP/1.1" 404 452 "-" "Mozilla/5.0 rivendell/2.19.2"



Le 17/07/2018 à 18:52, riv...@braingia.org a écrit :

My first thought was to make sure there's enough disk space left.

There is.


I'd try to touch a file in /var/snd as the rd user

I can't touch as 'rivendell' user, as I defined this user with no login
access (/bin/false as shell in /etc/passwd).
A user in 'rivendell' group can touch, create, remove in /var/snd.





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


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


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-21 Thread David Klann
Greetings!

The "404" status in the Apache log means that the apache server could
not find /rd-bin/rdxport.cgi. You need to make sure that the apache
configuration file (maybe in /etc/apache2/rivendell??) has the proper
path to the CGI program. I've pasted a sample apache configuration file
(below).

You'll see two instances of /usr/local/libexec below. You should change
these directory specifications in your file to the actual directory on
*your* server (likely /usr/libexec).

Hope this helps!

  ~David

#
# rdfeed.conf
#
# This is the Apache Web Server configuration for Rivendell.
#
#   (C) Copyright 2007,2010 Fred Gleason 
#
#  $Id: rd-bin.conf.in,v 1.4 2010/07/29 19:32:30 cvs Exp $
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License version 2 as
#   published by the Free Software Foundation.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public
#   License along with this program; if not, write to the Free Software
#   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#

TimeOut 2400

  Options ExecCGI FollowSymLinks
  AllowOverride None
  Require all granted
  
SetHandler default-handler
  
  
SetHandler default-handler
  
  
SetHandler default-handler
  
  
SetHandler default-handler
  
  
SetHandler cgi-script
  
  
SetHandler cgi-script
  
  
SetHandler cgi-script
  

ScriptAlias /rd-bin/ "/usr/local/libexec/"
#

On 07/21/2018 11:18 AM, le père Léon wrote:
> Le 17/07/2018 à 19:14, Fred Gleason a écrit :
>> On Jul 17, 2018, at 12:42, le père Léon wrote:
>>> (I must say I did not configure Apache since I don't know the
>>> relation between the c++-qt3-mysql Rivendell application and Apache..)
>>
>> In which case, a great many things won’t work (including import).
> 
> Well..
> 
> I compiled rivendell 2.19.2 with :
>  ./configure --libexecdir=/var/www/rd-bin
> --sysconfdir=/etc/apache2/rivendell
> 
> Apache is now configured and working.
> 
> When I try to import (with rdimport command line), I still have that
> message :
> " Unable to create destination file, skipping dirname/filename..."
> 
> In apache logs :
> 127.0.0.1 - - [21/Jul/2018:16:20:10 +0200] "POST /rd-bin/rdxport.cgi
> HTTP/1.1" 404 477 "-" "Mozilla/5.0 rivendell/2.19.2 (rdimport)"
> 127.0.0.1 - - [21/Jul/2018:16:20:12 +0200] "POST /rd-bin/rdxport.cgi
> HTTP/1.1" 404 452 "-" "Mozilla/5.0 rivendell/2.19.2"
> 
> 
> 
> Le 17/07/2018 à 18:52, riv...@braingia.org a écrit :
>> My first thought was to make sure there's enough disk space left.
> There is.
> 
>> I'd try to touch a file in /var/snd as the rd user
> I can't touch as 'rivendell' user, as I defined this user with no login
> access (/bin/false as shell in /etc/passwd).
> A user in 'rivendell' group can touch, create, remove in /var/snd.
> 
> 



signature.asc
Description: OpenPGP digital signature
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-21 Thread le père Léon

Le 17/07/2018 à 19:14, Fred Gleason a écrit :

On Jul 17, 2018, at 12:42, le père Léon wrote:
(I must say I did not configure Apache since I don't know the relation 
between the c++-qt3-mysql Rivendell application and Apache..)


In which case, a great many things won’t work (including import).


Well..

I compiled rivendell 2.19.2 with :
 ./configure --libexecdir=/var/www/rd-bin 
--sysconfdir=/etc/apache2/rivendell


Apache is now configured and working.

When I try to import (with rdimport command line), I still have that 
message :

" Unable to create destination file, skipping dirname/filename..."

In apache logs :
127.0.0.1 - - [21/Jul/2018:16:20:10 +0200] "POST /rd-bin/rdxport.cgi 
HTTP/1.1" 404 477 "-" "Mozilla/5.0 rivendell/2.19.2 (rdimport)"
127.0.0.1 - - [21/Jul/2018:16:20:12 +0200] "POST /rd-bin/rdxport.cgi 
HTTP/1.1" 404 452 "-" "Mozilla/5.0 rivendell/2.19.2"




Le 17/07/2018 à 18:52, riv...@braingia.org a écrit :

My first thought was to make sure there's enough disk space left.

There is.


I'd try to touch a file in /var/snd as the rd user
I can't touch as 'rivendell' user, as I defined this user with no login 
access (/bin/false as shell in /etc/passwd).

A user in 'rivendell' group can touch, create, remove in /var/snd.


--
Léon.

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


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-17 Thread Fred Gleason
On Jul 17, 2018, at 12:42, le père Léon  wrote:

> (I must say I did not configure Apache since I don't know the relation 
> between the c++-qt3-mysql Rivendell application and Apache..)

In which case, a great many things won’t work (including import).

You basically need to provide two things in the ‘./configure’ invocation that 
relate to Apache:

--libexecdir=

Where  is the directory in which the place the Rivendell web CGI 
components.

--sysconfdir=

Where  is the directory in which to place Apache configuration 
files.

Unfortunately, each distro tends to be a law unto itself with regard to these 
items, so there is no sane way to auto detect them. As an example, on RHEL-ish 
systems, the full invocation is:

./configure --prefix=/usr --libdir=/usr/lib64 
--libexecdir=/var/www/rd-bin --sysconfdir=/etc/httpd/conf.d

Cheers!


|--|
| Frederick F. Gleason, Jr. |  Chief Developer |
|   |  Paravel Systems |
|--|
|  A room without books is like a body without a soul. |
| -- Cicero|
|--|___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-17 Thread rivdev
Hello,

My first thought was to make sure there's enough disk space left.  There 
probably is, but that's the first thing I thought of.

The command df -h will show disk usage in human-readable format.

Next, I'd try to touch a file in /var/snd as the rd user:

touch /var/snd/testfile

That will attempt to create the file as the rd user in /var/snd.

Steve

On Tue, Jul 17, 2018 at 06:42:43PM +0200, le père Léon wrote:
> Sounds like these words have already been read..
> 
> Under Debian 8 (thanks to many tricks I finally succeeded in compiling and
> launching Rivendell !!)
> .. import does not work :
>  "unable to create destination file"
> 
> It does not even work when /var/snd is 0777 mode.
> 
> (I must say I did not configure Apache since I don't know the relation
> between the c++-qt3-mysql Rivendell application and Apache..)
> 
> -- 
> Léon.
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-17 Thread le père Léon

Sounds like these words have already been read..

Under Debian 8 (thanks to many tricks I finally succeeded in compiling 
and launching Rivendell !!)

.. import does not work :
 "unable to create destination file"

It does not even work when /var/snd is 0777 mode.

(I must say I did not configure Apache since I don't know the relation 
between the c++-qt3-mysql Rivendell application and Apache..)


--
Léon.

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