Tags:
create new tag
, view all tags

Question

After working some time without problems, recently something seems to have been changed on the server. When saving an edited page, the RCS repository file is not updated any more. The system gives error messages like the following:

 Error saving topic
During save of Sandbox.EinVersuch an error was found by the version control system. Please notify your TWiki administrator.

=RCS: /usr/bin/rlog -h %FILENAME|F% of .../Sandbox/EinVersuch.txt,v failed: RCS file: /srv/www/vhosts/dghk.de/twiki/data/Sandbox/EinVersuch.txt,v Working file: EinVersuch.txt head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1 ========================================================================= =

Go back in your browser and save your changes locally. 

I have read virtually all articles on RCS problems, have checked the access rights und ownership carefully and tried to get rid of the problem by using non-strict locking - however, the problem does not disappear.

What can be the reason? Any ideas?

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SUSE Linux
Web server: Apache 2.0.54
Perl version: Perl 5.8.7
Client OS: MS Windows XP
Web Browser: Firefox
Categories: Version control

-- MichaelSchmidt - 30 Jun 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I'm wondering if your {DataDir} is set correctly - as .../Sandbox/EinV does not look right.

-- SvenDowideit - 02 Jul 2007

I have checked the {DataDir}. It is set to the correct absolute path.
Everything seems to work well, including authentication. The only thing that does not work is the save function which produces the above mentioned error message.

-- MichaelSchmidt - 05 Jul 2007

Any chance it might be related to UTF-8 characters in the topic name?

Try turning on tracing in the lib/TWiki/Sandbox module. The output goes to the apache error log. Then paste the command used to do the rlog onto the command line on the server, and see what it says - you may get a more intelligible error message.

-- CrawfordCurrie - 12 Jul 2007

I guess we must have answered the question. Closing.

-- CrawfordCurrie - 01 Sep 2007

I reopened the question, as the same problem occured on my installation, using the same configuration (Suse Linux, Apache 2.0.54, Perl 5.8.7). The problem rarely also occured when using WebChanges.The installation was running without any problems for several weeks. I didn't make any severe changes or install any new plugins during that time.

The only workaround I found so far is to restart the webserver for example using apache2ctl restart. It therefore might be a caching problem, which has something to do with mod_perl. Unfortunately, I didn't find any further information at warn.txt or the apache-error.log.

The only effect, which I can imagine for now is the introduction of automatic webstatiscs-updates by a cronjob as root-user (didn't work as wwwrun), leading to a RCS-Version file, which belongs to root:

-r--r--r--   1 root   root  12660 2007-10-07 03:00 WebStatistics.txt,v

I therefore will stop the cronjob and chown the WebStatistics.txt,v to wwwrun:www and hope, that the problem doesn't reappear... Any other ideas?

-- ChrisHausen - 11 Oct 2007

I also reopened the High-Ports in the firewall, up to now the problem didn't reappear. => Question closed.

-- ChrisHausen - 15 Oct 2007

After one Week without any problems, it's back again, apache2ctl restart helps, I might set it as cronjob. One interesting aspect: the server also runs a qmail server, which seemed to be blocked during the last days, after running apache2ctl restart it's unblocked again. There might be a very nasty side effect... any ideas to that?

-- ChrisHausen - 23 Oct 2007

Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 03 Dec 2007

Change status to:
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2007-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2015 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.