[cvsnt] Re: ViewVC and CVSNT on different machines (RCS wrappers + Lockserver)
tony.hoyle at march-hare.com
Thu Mar 30 20:59:07 BST 2006
Oliver Koltermann wrote:
> Hello list,
> I basically understand the idea behind the RCS wrappers to use CVSNT's
> built-in extended/fixed RCS-functions. But after compiling and
> installing CVSNT 2.5.03.2260 on a linux machine I was astonished to
> see, that the wrapped rlog command tries to connect to a CVSNT lock
> server - even when just typing:
> $ rlog -version
> cvs rcsfile: connect to 127.0.0.1(127.0.0.1):2402 failed: Verbindungsaufbau abgelehnt
> cvs [rcsfile aborted]: Couldn't connect to lock server
> As rlog & co. operate on local files I see no reason for connecting
> the lockserver. And BTW I don't have one on this machine, because it's
> just a webserver. The repository files are mounted (read-only) over
> the network, which should be fine for ViewVC/rlog use.
You need to create a read lock on the file as you're reading it. All
cvs operations require a lockserver.
You need to connect to the lockserver on the machine that the files are
on, that contains the cvs server. Trying to create a local one will
lead to errors.
More information about the cvsnt