[cvsnt] Switch to user failed due to configuration error

Steve sstamps at fastmail.net
Thu Nov 13 04:39:51 GMT 2008


I'm trying to install cvsnt on a Vista Home Premium machine.

Cannot connect via pserver from Eclipse after installation.  Generates 
following error:
Could not connect to :pserver.cvsadmin at localhost:/2009: I/O exception 
occurred: Connection refused: Fatal error, aborting.  JAVADOG\cvsadmin: 
Switch to user failed due to configuration error.  Contact your System 
Administrator.

Also cannot login with WinCVS.

I've tried this many different ways.  Any ideas???

Full details are below.

     Many thanks for your help...   STeVe


==========================
operating system = Windoze Vista Home Premium
hostname = JAVADOG

PREPARATION

- create Windoze user "cvsadmin"
   with password "xyzwhatever"
   administrator privileges
- create directory C:\cvsRoot
   modify security so that cvsadmin has full control recursively
- create directory c:\cvsTemp
   modify security so that cvsadmin has full control recursively


INSTALLATION

- download and run
   cvsnt-server-2.5.04.3236.msi
- choose first installation option: Typical


CVSNT CONTROL PANEL
                             About Tab
- Stop CVSNT Service
- Stop CVSNT Lock Service

                           Server Settings Tab
- Run as user = JAVADOG\cvsadmin
- Default domain = JAVADOG
- Temporary Directory = C:\cvsTemp
- CVS Server port 2401
- Lock Server = localhost  2402
- Encryption = Optional
- Compression = Optional
- Anonymous User = ReadOnly

                          Repository configuration tab
Server Name = JAVADOG
(one repository defined)
Type = Standard
Location = C:/cvsRoot/2009
Name /2009
Publish Repository = true
Default Repository = true
Online = true
Read/Write = true

(/2009 repository and directory are created)
                     REBOOT SERVER

CREATE USER
(command window)
cvs -d /cvsRoot/2009 passwd -a cvsadmin
     password  = "xyzwhatever" (same as Windoze)


TRY TO CONNECT FROM ECLIPSE
connecting as cvsadmin
generates following error message:
Could not connect to :pserver.cvsadmin at localhost:/2009: I/O exception 
occurred: Connection refused: Fatal error, aborting.  JAVADOG\cvsadmin: 
Switch to user failed due to configuration error.  Contact your System 
Administrator.


ALSO CANNOT LOGIN with WinCVS


CVSDIAG

C:\Users\sstamps>cvsdiag
CVSNT Diagnostic output
-----------------------

Server version: 2.5.04 (Zen) Build 3236 ()
OS Version: Windows 2000 6.0.6001 (Service Pack 1)

CVS Service installed: Yes
LockService installed: Yes

:pserver: installed: Yes
:sserver: installed: Yes
:gserver: installed: Yes
:server: installed: Yes
:ssh: installed: Yes
:sspi: installed: Yes
:ext: installed: Yes

Installation Path: C:\Program Files (x86)\CVSNT\
Repository 0 Path: C:/cvsRoot/2009
Repository 0 Name: /2009
Repository 1 Path: (no value)
Repository 1 Name: (no value)
Repository 2 Path: (no value)
Repository 2 Name: (no value)
Repository 3 Path: (no value)
Repository 3 Name: (no value)
CVS Temp directory: C:\cvsTemp
CA Certificate File: C:\Program Files (x86)\CVSNT\ca.pem
Private Key File: C:\Program Files (x86)\CVSNT\ca.pem
Local Users Only: No
Default LockServer: localhost:2402
Disable Reverse DNS: No
Server Tracing: No
Case Sensitive: No
Server listen port: 2401
Compatibility (Non-cvsnt clients):
         Report old CVS version: No
         Hide extended status: No
         Emulate co -n bug: Yes
         Ignore client wrappers: No
Compatibility (CVSNT clients):
         Report old CVS version: No
         Hide extended status: No
         Emulate co -n bug: No
         Ignore client wrappers: No
Default domain: JAVADOG
Force run as user: JAVADOG\cvsadmin

Temp dir readable by current user: Yes
Repository0 readable by current user: Yes
Temp dir writable by current user: Yes

AV files detected:
(none)

Installed Winsock protocols:

1001: MSAFD Tcpip [TCP/IP]
1002: MSAFD Tcpip [UDP/IP]
1004: MSAFD Tcpip [TCP/IPv6]
1005: MSAFD Tcpip [UDP/IPv6]
1007: RSVP TCPv6 Service Provider
1008: RSVP TCP Service Provider
1009: RSVP UDPv6 Service Provider
1010: RSVP UDP Service Provider
1011: MSAFD RfComm [Bluetooth]



More information about the cvsnt mailing list