We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You must opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Support Web>RCSConfigWindows2000 (29 Nov 2002, RichardDonkin)
Tags:
create new tag
, view all tags

Question

Howdy TWiki RCS Gurus,

I've been at this for a few days and I cannot seem to get RCS to work correctly. I have read every single topic relating to Windows and RCS and believe I have tried every suggestion.

Here is the error message I continue to receive ...

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

Failed to create history file d:/inetpub/goldhill/twiki/pub/NDA/InitialBusinessPlanForTomAndPaulsNDA/TP_NDA.doc,v

Go back in your browser and save your changes locally.

Here are some configuration specifics:

  • Windows 2000
  • Microsoft IIS 5.x
  • RCS 5.7
  • ActivePerl 5.6.1.629
  • Cygwin (lastest stable release of each package sans Perl)

Because the environment belongs to my ISP, the IIS server is running as IUSR_GBC-WEB, per Microsoft's default suggestion. I have no control over this. What I did was set the ownership of all files to be IUSR_GBC-WEB. I'm hoping this takes care of all files needing to be owned by "nobody".

I have opened up permissions to full control for Everyone until I resolve this issue, then I will crank back down on permissions.

I have modified the names of the ls, fgrep and egrep commands to include .exe ($dotEXE) per a recommendation I read on twiki.org. This prevents the check for file existence from failing. According to the testenv.pl, this seems to be working correctly.

It do not have an implementation of getpwuid(), so I have replaced these lines to set $usr = "" and $grp = "". I read that CYGWIN Perl will enable testenv.pl to resolve this, but I think ActivePerl is the way to go according to all of the documentation I have read.

In the running environment, all of the RCS variables resolve accordingley.

  • RCSINIT = -x,v
  • TZ = EST8EDT?
  • TEMP = c:/winnt/temp which has read/write permissions for IUSR_GBC-WEB
  • USER = IUSR_GBC-WEB (should I reset this somewhere?)

I have deleted all of the RCS history files from all files. The documentation indicates these will be re-created the first time they are edited. When I edit other areas, the change is accepted, but there is no revision control.

Here is my TWiki.cfg as a text file on my website.

Thank you very much for any guidance.

  • TWiki version: 01-SEPT-2001 Download
  • Web server: IIS 5.0
  • Server OS: Windows 2000 Server
  • Web browser: Mozilla, Netscape, IE
  • Client OS: RedHat Linux 7.1

-- TommyBender - 08 Nov 2001

Answer

I got a bit further by deleting the redirect to NUL (2>&1 1>...) part of a line in TWIki::Store. (sorry it is not to hand, if you have difficulty in locating it, just say and I will update tomorrow).

Not quite sure what I am getting but it appears the last store works but previous revisions are corrupted in the process. Maybe JohnTalintyre can help?

-- MartinCleaver - 08 Nov 2001

Did this work for you?

-- MartinCleaver - 13 Nov 2001

I will see if I can locate the deletion in question here, however it does not sound like RCS is working as only the latest store is valid.

My TWiki actually never versions on the upload of attachments or on any topic change as I get the aforementioned error relating to the inability of the application to create the RCS/*,v file. While you can get around the uploate attachment bug by putting every single extension that you want to upload in the appropriate $attach??? variable, RCS still does not version the attachment, but it does atleast upload the attachment.

-- TommyBender - 14 Nov 2001

After installing the December release, I struggled with RCS. I had different problems. Initially it would not write or update any ,v files at all. I was using the RCS binaries downloaded from that site.

(I am using Windows2000, IIS, ActivePerl, and I am using the Windows built-in authentication.)

However, I got much better results with the RCS built into CygWin? . It would update and modify the RCS files. I still get sporadic failures though, which might have something to do with line ending translations--I'm not sure.

At any rate, I recommend at least trying the CygWin? RCS if you are using CygWin? to begin with.

-- BillKayser - 15 Feb 2002

I agree about CygWin RCS, it seems to work well. For a cookbook approach to installing TWiki on Windows, see the (alpha) WindowsInstallCookbook - this is based on Apache and Cygwin Perl but has detours to cover ActivePerl, and has good coverage on how to get RCS working in binary mode on Cygwin.

Tommy - you probably need to re-lock all the existing topics (in RCS terms) - see WindowsInstallCookbook, tail end of the Cygwin section.

-- RichardDonkin - 24 Feb 2002

I'm having the same probelm.. Win2000, IIS5, ActiveState? Perl, CygWin? utils (including RCS) everything works except RCS. It won't edit (or create) a ,v file. I have gone through everything I can find but nothing seems to help.

-- MichaelCodanti - 05 Apr 2002

Michael - please start a new Support page (fill in the form field at WebHome), and include details of your environment, including your ActivePerl build number. Please include as much detail as possible of what exactly goes wrong (e.g. is it only with binary attachments or any topic update), including any messages from the IIS error log - see TWikiDebugging for some pointers on what to look for.

Also, have a look at RcsOnW2K and try the same things I mentioned there (particularly editing Store.pm to turn on extra debugging, and downloading the most recent testenv script from CVSget:bin/testenv, then posting the results). This version of testenv does a lot more diagnostic work to check various things, and produces output specifically intended to help people get TWiki fully working on Windows, so it's well worth a try!

It would also be good to check the non-Apache parts of WindowsInstallCookbook, as this has helped quite a few people get a working TWiki setup. Although it uses Cygwin Perl, the same setup works with few changes on ActivePerl.

One of my goals is to ensure a 100% success rate for TWiki installs, particularly on Windows where it's been quite painful...

-- RichardDonkin - 05 Apr 2002

OK, I have started a new support page GettingRCSToWorkWithIIS and added as much as I could think of... This shouldn't be this difficult!

-- MichaelCodanti - 05 Apr 2002

Topic revision: r11 - 29 Nov 2002 - 12:31:18 - RichardDonkin
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback