Re: Error reading from server xx.xx.xx.xxx: 0: No such fileordirectory

"Bilt, Gert-Jan van de" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.windows-nt.user
Message-ID <[email protected]>
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@nl02:/CVS login
Logging in to :pserver:test@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@nl02:/CVS login
Logging in to :pserver:testing@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: [email protected] [mailto:[email protected]] On Behalf
Of Gaurav Chhabra
Sent: vrijdag 24 april 2009 12:59
To: Arthur Barrett
Cc: [email protected]
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:[email protected]:/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:[email protected]:/CVSROOT login
Logging in to :pserver:[email protected]:2401:/CVSROOT
cvs [login aborted]: /CVSROOT: no such repository
***** CVS exited normally with code 1 *****

Also, is the port 2401 allocated properly below?
[root@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
[email protected]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

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.


_______________________________________________
cvsnt mailing list
[email protected]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.