RE: [cvsnt] I couldn´t connect to cvs on port 2401. HELP..

Jason Williard jason at pcsafe.com
Tue Mar 22 18:13:29 GMT 2005


Hello,

I haven't worked with Solaris, but I believe you may find your solution in
the /etc/inetd.conf

Being that I use xinetd rather than inetd, I pulled this out of the
documentation.  I hope this helps:

cvspserver  stream  cp  nowait  root  /usr/local/bin/CVS CVS -f
--allow-root=/usr/local/cvsroot  authserver

The important part there is the use of authserver rather than pserver as
pserver is not a valid CVS command in cvsnt.

---
Thank You,
Jason Williard
PCSafe, Inc.
 
 

> -----Original Message-----
> From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
> Of Roberto Mínguez
> Sent: Tuesday, March 22, 2005 2:29 AM
> To: cvsnt at cvsnt.org
> Cc: rminguez at ipsistemas.com
> Subject: [cvsnt] I couldn´t connect to cvs on port 2401. HELP..
> 
> Hello,
> 
> 
>        I have configured CVS in a machine with Solaris 9/04 with the
> following files:
>         "/etc/services"
> 
>                 cvspserver      2401/tcp                        # CVS
> PServer
> 
>         "/etc/inetd.conf"
> 
>                   cvspserver      stream  tcp     nowait  cvs
> /usr/local/bin/cvs cvs --allow-root=/usr/local/cvsroot pserver
> 
>         Included in my ".profile"
> 
>             CVSROOT=/export/home/cvs
>             export CVSROOT
> 
>         "/etc/passwd"
> 
>             sshd:x:1010:104:sshd privsep:/var/empty:/bin/false
>             cvs:x:1011:103:CVS User:/export/home/cvs:/bin/ksh
> 
>         "/etc/group"
> 
>             cvs::103:root,cvs
>             sshd::104:
> 
> 
> NOTE: When i do "telnet" I got the following error:
> 
>     # telnet localhost 2401
>     Trying 127.0.0.1...
>     Connected to localhost.
>     Escape character is '^]'.
> 
>     cvs [pserver aborted]: bad auth protocol start:
> 
>     Connection to localhost closed by foreign host.
> 
>         "/var/adm/messages"
> 
> 
>         Mar 22 09:47:51 cmc-al inetd[161]: [ID 965992 daemon.error]
> 2401/tcp: unknown service
> 
> 
> 
> Can someone help me?
> 
> Thanks in advance,
> 
> Roberto
> rminguez at ipsistemas.com
> 
> 
> 
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt





More information about the cvsnt mailing list