Question
This is a first-time installation (actually, I'm taking over from somebody else who was midway through the installation, got stuck, and assigned to other tasks.) When trying to create a topic, I am seeing:
Error saving topic
During save of Sandbox.KirkTest3 an error was found by the version control system. Please notify your TWiki administrator.
/usr/bin/rcs -q -i -t-none -ko %FILENAME|F% of /twiki/data/Sandbox/KirkTest3.txt,v failed to create history file
Go back in your browser and save your changes locally.
Looking in data/Sandbox, there is a file which has been created:
-rw-r--r-- 1 apache 51 Apr 11 14:25 KirkTest3.lease
An OS-command-line test of rcs succeeds:
$ rcs -i xxx.txt
RCS file: xxx.txt,v
enter description, terminated with single '.' or end of file:
NOTE: This is NOT the log message!
>> test
>> .
done
So I am puzzled as to why this action cannot succeed. Any ideas?
Environment
--
KirkCondon - 11 Apr 2006
Answer
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.
See probable answer in
CantCreatevFile. Reopen this if it does not solve the problem.
--
PeterThoeny - 12 Apr 2006
Check the ownership/access of the following to ensure that Apache server process (whatever ID its running under) can write:
- The directory/web
- the
.txt file
- the
.txt,v file
Check that the Apache server process can access the
Check:
--
AntonAylward - 12 Apr 2006
Resolution
That solved this problem, thanks. Specifically:
Edited LocalSite.cfg and
changed
$TWiki::cfg{SafeEnvPath} = '/bin:/usr/bin:/twiki/bin';
to
$TWiki::cfg{SafeEnvPath} = '/bin:/usr/bin';
--
KirkCondon - 12 Apr 2006