Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Redhat
Web server: Apache
Perl version: 5.8.5
Client OS: Windows
Web Browser: IE
Categories: Permissions

-- KirkCondon - 11 Apr 2006

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.

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

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2006-04-12 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.