[cvsnt] Lockserver problem (cvslockd)
abc at chartFX.com
Tue Nov 6 13:27:15 GMT 2007
I want to move our cvsserver / repository to a new machine. The old one was
RedHat, the new one is Debian 2.6.18-4-amd64.
CVSNT version on both machines is: (CVSNT) 2.5.03 (On new machine the
build is 2382.)
I copied the complete repository to the new machine (file system structure
is identical) and checked the owner/group and access rights.
Following the README.Debian for cvsnt, I changed
# Encryption 0=Don't force encryption,
# Compression 0=Don't force compression
# LockServer Default lock server location. Can be overridden by
# LockServer directive in individual repositories.
# ResponderType Set Zeroconf publication type. Default dependent on
# 0 - No publication
(the rest is comment with #)
In /etc/service there are entries
In /etc/inetd.conf there is an entry
cvspserver stream tcp nowait root /usr/bin/cvsnt cvsnt -f
Logging in succeeds:
cvs -d:pserver:MyUser at NewServer:/mnt/raid/cvs login (from Windows console
and directly on Debian)
Checkout doesn't succeed:
cvs -d:pserver:MyUser at NewServer:/mnt/raid/cvs checkout MyModule
cvs [checkout aborted]: cvsnt server: connect to NewServer(NewServer):2402
failed: Connection refused
OK, lockserver seems to be not running.
Starting it in debug mode shows:
NewServer:# cvslockd -d
Starting lock server on port 2402/tcp...
Using default mdns Responder
Publishing mdns records for server7._cvspserver._tcp
Here http://www.cvsnt.org/pipermail/cvsnt-dev/2006-January/000335.html I
found a similar message. They detected that there was no configuration at
all, but I HAVE a configuration, I think (see above).
Then I found an "outstanding bug" for Debian: "cvsnt: cvslockd crashes at
As proposed, I set
ResponderType=0 in /etc/cvsnt/PServer.
Now starting the lockserver seems to succeed, there is a process cvslockd.
cvs [...] checkout MyModule still doesn't work!
The cvs init command also doesn't work:
cvs -d :local:/mnt/raid/cvs init
cvs init: connect to NewServer(NewServer):2402 failed: Connection refused
cvs [init aborted]: Couldn't connect to lock server
Any idea what to do?
Thanks in advance,
More information about the cvsnt