Tags:
create new tag
view all tags

Question

When attempting to save changes I get ...


Topic save error

During save of file TWikiPreferences an error was found by the version control system. Please notify your TWiki administrator.

=/usr/bin/ci -q -l -m"

" -t-none -w"guest" %FILENAME% 2>&1 ci: 2>&1,v: Permission denied =

Go back in your browser and save your changes locally. OK


I press OK and the changes are saved and the version # is ticked up. **Notice the filename is not replaced.

No errors found in either apache or twiki logs -

I have done the relocks function on the test page and get ....


Administration error

Error: Unrecognized action command Possibly caused by improper use of the manage script.

Please go back in your browser and try again.

Action: relockrcs


BUT when I check the Xxxx.txt,v files the www-data (owner of the apache processes) shows up where expected.

Environment

TWiki version: TWikiRelease03Sep2004 debian apt-get
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: debian 2.6.12-rc6
Web server: apache2/2.0.54
Perl version: perl 5.8.8
Client OS: fedora core3
Web Browser: Mozilla 1.7.12
Categories: Version control

TESTENV - Test the environment for TWiki Please read the TWikiInstallationNotes for more information on TWiki installation. Environment variables: DOCUMENT_ROOT /var/www/ GATEWAY_INTERFACE CGI/1.1 HTTPS on HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_ENCODING gzip,deflate HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5 HTTP_CONNECTION keep-alive HTTP_HOST zin99.gsfc.nasa.gov HTTP_KEEP_ALIVE 300 HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060202 Fedora/1.7.12-1.5.2 PATH /usr/local/bin:/usr/bin:/bin QUERY_STRING REMOTE_ADDR 10.10.10.21 REMOTE_PORT 56222 REQUEST_METHOD GET REQUEST_URI /cgi-bin/twiki/testenv SCRIPT_FILENAME /usr/lib/cgi-bin/twiki/testenv SCRIPT_NAME /cgi-bin/twiki/testenv SERVER_ADDR 10.10.10.18 SERVER_ADMIN webmaster@localhost SERVER_NAME zin99.gsfc.nasa.gov SERVER_PORT 443 SERVER_PROTOCOL HTTP/1.1 SERVER_SIGNATURE Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e Server at zin99.gsfc.nasa.gov Port 443 SERVER_SOFTWARE Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e CGI Setup: Operating system: Unix (linux) Perl version: 5.8.8 @INC library path: /usr/share/perl5 /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .

Note
This is the Perl library path, used to load TWiki modules, third-party modules used by some plugins, and Perl built-in modules.
TWiki module in @INC path: OK, TWiki.pm found (TWiki version: 02 Sep 2004 $Rev: 1742 $) Required Perl modules: CGI (3.15) CGI::Carp (1.29) File::Copy (2.09) File::Spec (3.12) FileHandle (2.01) Optional Perl modules: Algorithm::Diff (1.1901) MIME::Base64 (3.07) POSIX (1.09) Encode (2.12) Unicode::MapUTF8 (1.11) Unicode::Map (0.112) Unicode::Map8 (0.12) Jcode (2.03) Digest::MD5 (2.36) Digest::SHA1 (2.10) MIME::Base64 (3.07) Net::SMTP (2.29) PATH_INFO:
Note
For a URL such as https://zin99.gsfc.nasa.gov/cgi-bin/twiki/testenv/foo/bar, the correct PATH_INFO is /foo/bar, without any prefixed path components. Test this now - particularly if you are using mod_perl, Apache or IIS, or are using a web hosting provider. The page resulting from the test link should have a PATH_INFO of /foo/bar.
mod_perl: Not used for this script (mod_perl not loaded into Apache) User: www-data
Note
Your CGI scripts are executing as this user.
Warning
Since your CGI script is not running as user nobody, you need to change the locks in the *,v RCS files of the TWiki distribution from nobody to www-data. Otherwise, changes to topics will not be logged by RCS.
Fix
If needed, relock all the rcs files to user www-data
Group(s): www-data www-data Test of TWiki.cfg Configuration: $defaultUrlHost: https://zin99.gsfc.nasa.gov/
Note
This must match the protocol and host part (with optional port number) of the TWiki URL.
$scriptUrlPath: /cgi-bin/twiki
Note
This must match the 'cgi-bin' part of the URL used to access the TWiki cgi-bin directory.
$pubUrlPath: /twiki/pub
Note
This must be the URL of the public directory.This is not set correctly if the /twiki/pub/wikiHome.gif image below is broken:
$pubDir: /var/www/twiki/pub
Note
This is the public directory, as seen from the file system. It must correspond to $pubUrlPath.
$templateDir: /var/lib/twiki/templates
Note
This is the TWiki template directory, as seen from the file system.
$dataDir: /var/lib/twiki/data
Note
This is the data directory where TWiki stores all topics.
$mailProgram: /usr/sbin/sendmail -t -oi -oeq
Note
This is the mail program TWiki uses to send mail.
$rcsDir: /usr/bin
Note
This is the directory where RCS is located.
RCS Version: 5.7
Note
This is the version of RCS which will be used.
$lsCmd: /bin/ls
Note
This is the file list program TWiki uses to list topics.
$egrepCmd: /bin/egrep
Note
This is a program TWiki uses for search.
$fgrepCmd: /bin/fgrep
Note
This is a program TWiki uses for search.
$safeEnvPath: /bin:/usr/bin
Note
This is used to initialise the PATH variable, and is used to run the 'diff' program used by RCS, as well as to run shell programs such as Bourne shell or 'bash'.
Path and Shell Environment Original PATH: /usr/local/bin:/usr/bin:/bin
Note
This is the PATH value passed in from the web server to this script - it is reset by TWiki scripts to the PATH below, and is provided here for comparison purposes only.
Current PATH: /bin:/usr/bin
Note
This is the actual PATH setting that will be used by Perl to run programs. It is normally identical to $safeEnvPath, unless that variable is empty.
diff: GNU diff was found on the PATH - this is the recommended diff tool.
Note
The 'diff' command is used by RCS to compare files.
User Authentication htpasswd Format Family: htpasswd htpasswd Encoding: crypt htpasswd Filename: /var/lib/twiki/data/.htpasswd

-- THeresaHeld - 30 May 2006

Answer

Further note - I brought over an earlier version of TWiki (01 Feb 2003) from another debian box. Everything works fine. When I did a upgrade the merged system is also broken as described above. I know there are significant diferences between the TWiki.pm on each version. What I don't know is are those differences from local modifications to the previous version.

-- THeresaHeld - 31 May 2006

INSTALL.html has some comments on how to unlock topics so RCS works as supposed.

This procedure was partly automated in 4.0.3 (soon to be released). If you still see the problem once you have upgraded to 4.0.3, please file a bug in our bug tracker (Bugs:WebHome).

-- SteffenPoulsen - 16 Jun 2006

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-06-16 - SteffenPoulsen
 
  • 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.