I'm suffering from recurrent trouble with RCS archiving: each time I
modify a page, I get an error response from the apache server, despite
the modification is correctly commited.

In apache error logs, I have the following error message:
[Thu Jun 01 10:10:55 2006] [error] [client 128.93.8.195] rcs -U -M -u
./plugin/archive/HowtoMail,v < /dev/null 2>/tmp/kwiki.error
failed:\n-1,No child processes\nin /var/www/kwiki at
/usr/lib/perl5/vendor_perl/5.8.4/CGI/Carp.pm line 314.\n ...

This happen in the force_unlock_rcs_file function from RCS plugin, which
seems itself to be a workaround, as denoted from its comment:
# XXX This is needed because sometimes rcs gets different user name
under apache.

As you may have noticed, I slightly modifed the code to remove the rcs
-q flag, and redirect rcs error output in a file. However, this one
doesn't show anything suspect:
RCS file: ./plugin/archive/HowtoMail,v
1.1 unlocked
done

I attempted running incriminated command using apache uid, everything
works OK.

So, what can be wrong here ?

I'm using
[error] [client 128.93.8.195] rcs -U -M -u ./plugin/archive/HowtoMail,v
< /dev/null 2>/tmp/kwiki.error failed:\n-1,No child processes
called from /Kwiki/Archive/Rcs.pm line 122
sorry, from force_unlock_rcs_file function
which seems a itself a workaround, as denoted from the comment

I've modified a bit the code to trap potential errors, but
and calling the command manually as apache uid works OK
so, what is wrong here ?

I'm using the following versions:
Kwiki 0.38
Kwiki-Archive-Rcs 0.15
Apache 2.0.53
mandriva 10.2

Reply via email to