I'm trying to set up a CVS server on a Redhat 7.2 machine and connect to it from my windows box.
I have set up a cvs user and group and I ran
cvs -d /usr/local/cvs init
to initialise the CVS directory and gave the cvs user and group ownership of this directory. Then I put the following line in /etc/inetd.conf
cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/cvs pserver
and made sure that cvspserver 2401/tcp was in /etc/services.
Then I restarted and tried to test it with
cvs -d :pserver:email@example.com:2401:/usr/local/cvs login
It asks for the password then gives a cvs [login aborted]: connect to ... failed: Connection refused. I tried connecting through wincvs and the same thing happens.
So I did a search on these forums and found http://www.linuxquestions.org/questi...ht=cvs+pserver
. I tried setting it up this way with the same results.
I don't really know the difference between inetd and xinetd. I'm just a bit lost really so does anyone have any idea what the problem could be?