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

Bilt, Gert-Jan van de gert.jan.van.de.bilt at logica.com
Fri Apr 24 14:36:17 BST 2009

Arthur, Gaurav, 

I have the CVSNT installation now running on my Solaris 10 machine but I
run into exactly the same error. 
- If I login with the CVS user "cvs" it works, I can check out modules. 
- I can create a new user "test" with password "test" without a problem,
even from my Windows laptop. The user is aliased to system user "cvs". I
checked the passwd file and indeed this passwd file is created and user
test is there. 
- If I try to login with user "test" and I get the error. 

C:\temp>cvs -d :pserver:test at nl02:/CVS login
Logging in to :pserver:test at nl02:2401:/CVS
CVS password: ****
cvs [login aborted]: Error reading from server nl02: 0: No such file or

Unfortunately we can't use SSH because none of the users have actual
system accounts on this server. 

If I try to log in with a random other user I do get a different error
C:\temp>cvs -d :pserver:testing at nl02:/CVS login
Logging in to :pserver:testing at nl02:2401:/CVS
CVS password: ****
cvs [login aborted]: authorization failed: server nl02 rejected access
to /CVS for user testing

Is there a problem with the cvs alias that is not documented, or am I
missing some configuration item somewhere? 


-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
Of Gaurav Chhabra
Sent: vrijdag 24 april 2009 12:59
To: Arthur Barrett
Cc: cvsnt at cvsnt.org
Subject: Re: [cvsnt] Error reading from server xx.xx.xx.xxx: 0: No such

Hi Arthur,

Thanks for your guidance.

My current setting for file /etc/xinetd.d/cvspserver are:
service cvspserver
socket_type = stream
protocol = tcp
wait = no
user = cvs
passenv = PATH
server = /usr/local/bin/cvsnt
server_args = authserver
disable = no

> cvs [login aborted]: authorization failed: server rejected
access to /usr/local/cvsrep/ for user cvs
>>>That is a different error to the subject of this thread.
>>> The error "authorization failed" usually means that you are not
authorized, common causes are:
* wrong password ---> Checked my password; it's correct.
* incorrect SystemAuth setting in /usr/local/cvsrep/CVSROOT/config --->
'SystemAuth=yes' in config file.
* problem with /usr/local/cvsrep/CVSROOT/passwd ---> Contents of
CVSROOT/passwd file are: cvs:XdmuQ8SRTP8U2

While connecting to the server using WinCVS, I was earlier passing the
following, which was wrong as pointed by J.R. Heisey in '

cvs -z9 -d :pserver:cvs at login

So, I changed it to the following but to no avail. Only difference now
the error message:
cvs -z9 -d :pserver:cvs at login
Logging in to :pserver:cvs at
cvs [login aborted]: /CVSROOT: no such repository
***** CVS exited normally with code 1 *****

Also, is the port 2401 allocated properly below?
[root at localhost CVSROOT]# netstat -nap | grep 2401
tcp 0 0* LISTEN 4074/xinetd

Arthur, I want to solve this 'pserver' access issue and then want to go
others. I think, I am just missing some small point in this connection

cvsnt mailing list
cvsnt at cvsnt.org

Upgrade to CVS Suite for more features and support:

Please help Logica to respect the environment by not printing this email  / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei die Umwelt zu schuetzen  /  Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

More information about the cvsnt mailing list