[cvsnt] Error reading from server xx.xx.xx.xxx: 0: No such file ordirectory

Gaurav Chhabra messagegc at gmail.com
Fri Apr 17 11:13:23 BST 2009


Hi Arthur,


I'm so sorry for missing the CVSNT version details. We have CVSNT 2.5.04
[(Zen) Build 3236] server running on RHEL ES 4. As already stated, the
client (WinCVS 2.0.2.4) is on WinXP SP3.

The following might be helpful:

-----------------------------------------------

I have disabled SystemAuth in CVSROOT/config file.
[root at localhost CVSROOT]# cat passwd
gchhabra:JclWox4/L/AmU:root
[root at localhost CVSROOT]#
-----------------------------------------------
[root at localhost cvsnt]# netstat -ap | grep 2401
[root at localhost cvsnt]# netstat -ap | grep cvs
tcp        0      0 *:cvspserver  *:*                    LISTEN
2412/xinetd
tcp        0      0 localhost.localdomain:2402  *:*  LISTEN
3786/cvslockd
tcp        0      0 ::1:2402                    *:*        LISTEN
3786/cvslockd
udp        0      0 *:5353                  *:*
3786/cvslockd
unix  2      [ ]         DGRAM                    10513  3786/cvslockd
[root at localhost cvsnt]#

Is the port 2412 for xinetd problematic? I think it's 2401 by default.

Using WinCVS, I even tried logging in using the above port no. but I'm
getting the following error:
----------------------------------------------
cvs -z9 -d :pserver:gchhabra at 10.5.68.161:2412:/usr/local/cvsrep/ login

Logging in to :pserver:gchhabra at 10.5.68.161:2412:/usr/local/cvsrep/

connect to 10.5.68.161:2412 failed: No connection could be made because the
target machine actively refused it.
-----------------------------------------------

[root at localhost cvsnt]# pwd
/etc/cvsnt
[root at localhost cvsnt]# cat PServer
Repository0=/usr/local/cvsrep/
Repository0Name=/usr/local/cvsrep/
[root at localhost cvsnt]#
Was this PServer file created when I ran 'cvs init' command?

I just was that there is a PServer.example file. Is this something similar
to the CVSNT 'control panel' that we have in Windows? Was your reference to
the attachment size meant for this file? I think, I have put the details of
my current PServer file in PServer.example and rename the 'PServer.example'
file to 'PServer'. Isn't it?


While writing this reply, I have done the following changes to my PServer
file:
-----------------------------------------------
[root at localhost cvsnt]# cat PServer | grep -v "#"

Repository0=/usr/local/cvsrep/
Repository0Name=/usr/local/cvsrep/

LockServer=localhost:2402

 1 = cvsnt (cvsnt client, wincvs, tortoisecvs, etc.)

-----------------------------------------------
[root at localhost CVSROOT]# less /etc/xinetd.d/cvspserver

service cvspserver
{
    socket_type = stream
    protocol    = tcp
    wait        = no
    user        = root
    passenv     = PATH
    server      = /usr/local/bin/
    server_args = --allow-root=/usr/local/cvsrep -f pserver
    disable     = no
}
-----------------------------------------------


Regards,
Gaurav


More information about the cvsnt mailing list