Hi all,
i am trying to set up a CVS server on linux and to remote access the repository using WinCVS. I am facing some problem and i am unsure whether is it the client or the server not set up properly.
In my winCVS client, i clicked Admin ->login and i specify my CVSROOT to be ": pserver:username:@a.b.c.d:2401/usr/mycvs/env1/CVSROOT", (there is not supposed to be a space between ':' and 'pserver', i had to add the space otherwise a smiley comes out) then i got an error message
cvs [login aborted]: Error reading from server a.b.c.d: -1: Unknown error
In my /var/log/message i get
xinetd[23451]: START: cvspserver pid=28566 from=i.j.k.l
xinetd[28566]: libwrap refused connection to cvspserver (libwrap=cvs) from i.j.k.l
xinetd[28566]: FAIL: cvspserver libwrap from=i.j.k.l
xinetd[23451]: EXIT: cvspserver status=0 pid=28566 duration=0(sec)
On my server side my /etc/xinetd.d/cvspserver is below. I've checked on net, some resources say i need to name the file cvs, while some say cvspserver. Which is correct?
# default: off
# description: The CVS service can record the history of your source \
# files. CVS stores all the versions of a file in a single \
# file in a clever way that only stores the differences \
# between versions.
service cvspserver
{
disable = no
port = 2401
socket_type = stream
protocol = tcp
wait = no
user = root
passenv = PATH
server = /usr/bin/cvs
env = HOME=/usr/mycvs
server_args = -f --allow-root=/usr/mycvs/test pserver
}
Currently, my passwd file in my /usr/mycvs/test/CVSROOT has an entry
username:encrypted_password:os_user
where os_user is a valid OS login and has permission on the /usr/mycvs directories.
Would appreciate if anyone can tell me what is incorrect.