[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


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


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
directory

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
message:
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? 

Gert-Jan 

-----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 cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: Re: [cvsnt] Error reading from server xx.xx.xx.xxx: 0: No such
fileordirectory

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 10.5.68.161 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 '
http://tech.groups.yahoo.com/group/cvsgui/message/18939':

cvs -z9 -d :pserver:cvs at 10.5.68.161:/usr/local/cvsrep login

So, I changed it to the following but to no avail. Only difference now
is
the error message:
cvs -z9 -d :pserver:cvs at 10.5.68.161:/CVSROOT login
Logging in to :pserver:cvs at 10.5.68.161:2401:/CVSROOT
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 0.0.0.0:2401 0.0.0.0:* LISTEN 4074/xinetd

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


Regards,
Gaurav
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs

Upgrade to CVS Suite for more features and support:
http://march-hare.com/cvsnt/


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
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook