Question
I'm getting this error on viewing some, but not all, TWiki pages:
TWiki detected an internal error - please check your TWiki logs and webserver logs for more information. RCS: path -h %FILENAME|F% of ...path,v failed:
This seems to be happening mostly on
WebHome topics. I can't figure out what is causing this. I have a cron job that updates the
WebStatistics pages, but it has been running nightly for some time and I just noticed this problem yesterday. Yet the problem must be related somehow. The TWiki logs shows entries like the following:
| 08 Mar 2007 - 10:50 | RCS: /usr/bin/rlog -h %FILENAME|F% of .../Webname/WebStatistics.txt,v failed: at /var/www/twiki/lib/TWiki/Store/RcsWrap.pm line 279.
I also noticed that pages that fail for viewing with this error do not fail for other operations on the same topic (edit, rdiff, etc). The only reference I could find to this error was in an instance where trailing commas were being appended to file names (example:
WebHome.txt,v,), but none of my files have a trailing comma. I also see several
*.lease files in the files system, some of which are very old, but these don't seem to correspond to the topic pages throwing this error.
I have tried running
./statistics manually, and also running
=rcs -u -M WebHome* = on each web, but it doesn't seem to have helped.
Environment
--
JohnDeStefano - 08 Mar 2007
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
I'm baffled, but this seems to be a permissions issue, not an
RCS issue. I changed ownership of all TWiki files globally to apache (the "user" that runs the web server service) and all is magically well again:
chmod -R apache:apache /var/www/twiki/
I'll add this to the end of my statistics script; that should do the trick.
--
JohnDeStefano - 08 Mar 2007
I met with this problem too, and I have tried the other solution, but it's not working.
I have googled on this issue and I found that Google will return many pages with this error, but these pages are actually some
WebIndex, Statistics page, etc. They are NOT suppposed to discussing this error. Thus I guess that, does it mean Google capture the error when it's spiding on these pages? So it's a widely met problem with TWiki on some kind of Env?
I am running TWiki 4.02, Apache 1.3, Perl 5.8.5, OS: EL4
--
ChimingPoon - 25 Apr 2008
Sorry, closing this question after more than 30 days of inactivity. Feel free to re-open if needed.
--
PeterThoeny - 03 Jun 2008