create new tag
, view all tags


Hello, I'm using TWiki from past 7 months. But suddenly it started showing an error saying:

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

=/usr/bin/rcs -o%REVISION|N% %FILENAME|F% of .../Sandbox/TestTopic2.txt failed: =

Go back in your browser and save your changes locally.

I went through the questions in this forum and tried the solutions which were given. But nothing helped.

My RCS version is 5.7

Any guesses.


-- PrajishS - 01 Aug 2007


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.

Edit the 'Sandbox.pm' module and enable tracing. Run the command that fails. Review the apache error log, and copy-paste the command that was executed onto the shell command line. What does it say?

-- CrawfordCurrie - 01 Aug 2007

I reviewed the log and found that error was happening while executing "/usr/bin/rcs '[options]' '/var/www/html/twiki/data/Sandbox/TestTopic2.txt' "

when I executed it from the command terminal, it gave me an error saying

"rcs: RCS file /var/www/html/twiki/data/Sandbox/TestTopic2.txt,v is in use"

-- PrajishS - 02 Aug 2007

I'm able to create, edit and save new pages and some of the existing pages. Is there any sort of lock files which gets created when a page is accessed[view/edit/save]

-- PrajishS - 02 Aug 2007

No replies????

-- PrajishS - 06 Aug 2007

-- PrajishS - 09 Aug 2007

I also started having this problem after I installed some updates with apt-get, but there were no obvious ones relating to rcs as far as I remember. The message 'in use' is probably because it is still locked. I ran the command 'rcs -u file' to unlock it. According to lib/LocalSite.cfg the command is ciCmd. The only minor difference in the error message is "....txt failed: 1 =" in my case. I'm using TWiki 4.1.2, rcs 5.7 and diff 2.8.1 on ubuntu 6.06. I removed rcs and re-installed it then re-started apache, but no help. There is an error in the apache log, but the time stamp shows it's not related. It says TWiki::Configure::Checker::tempfile redefined at /usr/share/perl/5.8/Exporter.pm line 65. I appreciate if someone can help.

After the above post, I found another interesting thing. The automated email notification (WebNotify) shows the difference between two versions (correctly as far as I see), but the history on a page shows only the first save and the rest of revisions are blank. However, if I click the individual revision then it shows the details.

-- TeruYanagihashi - 16 Aug 2007

I just add more findings. I used the trace option in Sandbox.pm and checked the apache error log. It shows

/usr/bin/ci '-mnone' '-t-none' '-wTeruYanagihashi' '-u' '/home/httpd/twiki/data/Sandbox/TestSave.txt'
and I tried the command on the console. The file was locked by www-data (CGI user name ) and I re-locked it with root. After that then the command was accepted under root. The file attribute is rw-r--r--. So, it looks like when the command is executed somehow the user name is not recognised as www-data. No mod_perl is installed. The revision history shows blanks except the first edit. How can I force the CGI command to be executed under www-data all the time?

Strangely if a new page is created and subsequent changes are saved no error occurs and the command I can see in the apache error log is as follows.

/usr/bin/ci '-mnone' '-t-none' '-d2007/08/16 23:51:33' '-u' '-wTeruYanagihashi' '/home/httpd/twiki/data/Sandbox/TestSave2.txt'

-- TeruYanagihashi - 16 Aug 2007

I could resolve the problem. I could find some files ending with a ',' in the directory twiki/data/Sandbox/ deleted those files and error disappeared. smile

-- PrajishS - 19 Jun 2008

Same thing here. I found some files with a ',' at the beginning and at the end of the name, where the name was exactly the topics I was having the problem with. I deleted the files and the problem disappeared.

-- Thomas Fozzi - 2018-04-10

Change status to:
Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2018-04-10 - ThomasFozzi
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.