Actions:
|
2011-07-25 17:13 AEST by Arthur Barrett - When connecting from client to server, and server is windows 7, all sspi
connections fail, eg:
C:\Users\Scott>cvs -d :sspi:localhost:/myrepo rls
cvs rls: reading from server: win sspi 2.8.01 (Soolin) Build 4218 error -1
cvs rls: server connection probably timed out, please try again
cvs [rls aborted]: if this error continues to occur please e-mail error to
support@march-hare.com |
|
2011-07-25 17:15 AEST by Arthur Barrett - The error is not reported correctly. The failure is caused by the TEMP
directory not being set correctly.
If you set TempDir to C:\Users\CVSMANAGER_USER\AppData\Local\Temp then it will
work OK:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\March Hare Software Ltd\Server]
"TempDir"="C:\\Users\\CVSMANAGER_USER\\AppData\\Local\\Temp"
After applying this to the registry, the server should be restarted.
This only affects Windows 7 x64 |
|
2011-07-25 17:27 AEST by Arthur Barrett - Note: this should NOT affect trial versions, since they automatically create a
custom temp directory and set it to read/write "everyone". So this affects
only new installs (without trial) and no temp directory on Windows 7/2008R2
x64. |
|
2011-07-25 17:32 AEST by Arthur Barrett - Note: rather than try and fix this in the installer, the correct course of
action should be to use the AppData/Temp directory for the current user,
rather than try and use TEMP/TMP if there is no TempDir set in the registry. |
|
2011-09-01 07:31 AEST by Glen Starrett - Note that the workaround has to be amended:
-- Set the permissions on the CVSMANAGER_USER\AppData\Local\Temp directory to
allow all CVS Suite users FULL CONTROL.
That step is necessary to correct the error.
|
|
2011-09-01 07:32 AEST by Glen Starrett - *** Bug 6267 has been marked as a duplicate of this bug. *** |
|
2012-02-29 06:27 AEST by Arthur Barrett - reopen.
the directory is created in the correct location (shared program data), but the temp (in the control panel) is
still pointing to the users directory not the shared directory. |
|
2012-07-11 09:46 AEST by Glen Starrett - Some additional information:
* The control panel is looking at HKLM\SOFTWARE\Wow6432Node\Cvs\PServer for the
TEMP dir value
* CVSManager / the listeners are looking at HKLM\SOFTWARE\Wow6432Node\March Hare
Software Ltd\Server for the TEMP dir value
* When you SET the temp dir in the control panel, it sets BOTH locations.
* However, if you just look at the control panel after changing the first
location (cvs\pserver) it looks right in control panel, but cvsdiag reports the
actual one being used (the MHS\server entry).
* The control panel doesn't let you set any entries under hidden folders (e.g.
the default c:\programdata\March Hare\Temp location) because you are restricted
to the browse button.
Workaround is still to create a new Temp directory and use the control panel to
browse to that location.
|
|
2012-07-11 09:47 AEST by Glen Starrett - *** Bug 6520 has been marked as a duplicate of this bug. *** |
|
2012-07-17 14:38 AEST by Arthur Barrett - *** Bug 6339 has been marked as a duplicate of this bug. *** |
|
2012-07-18 18:45 AEST by Arthur Barrett - Created an attachment (id=2465)
trace of install
I've just tested this on a (mostly clean) windows 7 x64 install with build 4588
and cannot reproduce the problem.
Server version: 2.8.01 (Soolin) Build 4588
OS Version: Windows 7 x64 6.1.7601 (Service Pack 1)
What the installer attempts to do for a non-trial install is to determine the
SYSTEM TEMP path (not the user TEMP). In the case of this PC the SYSTEM TEMP
is c:\windows\temp
cvsdiag and the control panel both report that the TEMP path is
c:\windows\temp, and checking the registry shows that cvs\pserver\TempPath
registry key is set to c:\windows\temp
I have then tested a checkout/commit cycle with an admin user and non-admin
user and both work OK (as expected).
If we get another report of this we need to find out why TempPath has not been
set by the installer or why it has been set to an incorrect value. It would
help if the diagnostics listed each value separately:
* environment variable
* environment variable in registry (32 bit)
* environment variable in registry (64 bit)
* hklm\software\Wow6432Node\cvs\pserver\TempPath
* hklm\software\Wow6432Node\March Hare Software\Server\TempPath
Note: since cvsdiag is a 32 bit app it will look in the Wow6432Node by default.
|