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 <fr...@paravelsystems.com>
#
#      $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
<Directory "/usr/local/libexec">
  Options ExecCGI FollowSymLinks
  AllowOverride None
  Require all granted
  <Files *.gif>
    SetHandler default-handler
  </Files>
  <Files *.png>
    SetHandler default-handler
  </Files>
  <Files *.js>
    SetHandler default-handler
  </Files>
  <Files *.html>
    SetHandler default-handler
  </Files>
  <Files *.xml>
    SetHandler cgi-script
  </Files>
  <Files *.cgi>
    SetHandler cgi-script
  </Files>
  <Files *.mp3>
    SetHandler cgi-script
  </Files>
</Directory>
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.
> 
> 

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to