Vedr.: [Cvsnt] Repository on network drive

Bo Berglund Bo.Berglund at system3r.se
Mon Apr 8 21:32:43 BST 2002


But also be prepared for repository corruption in the future.... :-(

/Bo


-----Original Message-----
From: jml at nykredit.dk [mailto:jml at nykredit.dk]
Sent: den 8 april 2002 11:26
To: cvsnt at cvsnt.org
Subject: Vedr.: [Cvsnt] Repository on network drive



Hi

The cvs server will execute under SYSTEM authority unless you specify
something else),  and SYSTEM will usually not have access to any network
drives.
Change the user on the cvs server in Control Panel->Services to a user that
has sufficient access to the network drive (ensure that this user also has
access to the local %TEMP and %TMP folder(s). Restart the service and try
again.

Regards

-----------------------------------------
Jørgen Møller Larsen, KMF
Nykredit Data
email: jml at nykredit.dk
Tlf. direkte 96 35 50 69
----------------------------------------



                    Erik Corry
                    <erik at arbat.c        Til:    cvsnt at cvsnt.org
                    om>                  cc:
                    Sendt af:            Vedr.:  [Cvsnt] Repository on network drive
                    cvsnt-admin at c
                    vsnt.org


                    2002-04-08
                    10:58
                    Besvar
                    venligst til
                    Erik Corry






Hi

CVS NT Service 1.11.1.3 (Build 57a)

[When I'd finished writing this I found the solution (at the
 bottom) but I might as well post it anyway...]

I want to place my repository on a Network drive.  The reason for
this is that the file server here is a Novell machine, and I can't
run the CVS server on the Novell machine directly (as far as I know).

The problem is that when I try to use a repository on the network
drive I get an error.  When I try to set it up I get the error

   Repository initialisation failed. To see errors, type tyhe following
   at the command line:

   cvs -d y:/data/cvsrepository init

So I do that, but no error occurs.  The CVSNT control
panel has however managed to make the directory
cvsrepository, which wasn't there before.  I then
restart the CVS service so it can see the new repository.

When I try to import a project into the repository I get
the error:
    Cannot access y:/Data/cvsrepository/CVSROOT
    No such file or directory
The directory seems to exist.

All this works fine on a local drive, or when I use
the directory directly instead of going through the
server.  I don't want to use the local drive because
the backup situation isn't as good, and I don't want
to access the repository via the shared drive because
I am told that is dangerous (though it works fine on
Unix, I've been doing that for years with NFS).

I'm logged in as Administrator, but the login name
on the Novell server is a different one.

Is the CVSNT service able to impersonate the Administrator
or is there a problem there?  Can I switch on some logging
option to get more info about what is goin on?  I'm using
the ntserver access method and impersonation is enabled.
'Use local users instead of domain is off'.

Ah, I just found out that was the problem.  When I set it to
on it works.  Makes kind of sense actually.

I'll just post this anyway in case it helps anyone with a
similar problem.

--
Erik Corry erik at arbat.com
_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list