[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: login problem in unix
From: |
Larry Jones |
Subject: |
Re: login problem in unix |
Date: |
Mon, 2 Jul 2001 10:14:47 -0400 (EDT) |
Bhavaniprasad Polimetla writes:
>
> 1. I provided the rwx access to /root/.cvsignore
Don't do that -- it's not necessary.
> 2. added the following two lines to services
> cvspserver 2401/tcp # cvs client/server
> operations
> cvspserver 2401/udp # cvs client/server
> operations
CVS doesn't use UDP, so you don't need the second entry.
> 3. In inetd.conf, tried the following two options.
>
> #cvspserver stream tcp nowait root /usr/bin/cvs cvs -f
> --allow-root=/data2/cvsroot pserver
> cvspserver stream tcp nowait root /usr/bin/cvs cvs -b /usr/local/bin
> pserver
What release of CVS do you have? The first entry (which is commented
out above) should be correct for any reasonably recent release. The
current version is 1.11.1p1, which you can get from www.cvshome.org.
> 4. restarted the services.
> #/etc/init.d/inetinit stop
> #/etc/init.d/inetinit start
>
> $cvs -d :pserver:address@hidden:/data2/cvsroot login
> Logging in to :pserver:address@hidden:2401/data2/cvsroot
> CVS password:
> cvs [login aborted]: connect to 182.20.110.19(172.20.10.19):2401 failed:
> Connection refused
"Connection refused" indicates that inetd isn't listening for connection
on the cvspserver port. Check your syslog for error messages from
inetd. Check that you're actually using /etc/services -- many Sun
systems use NIS instead. See the troubleshooting section of the manual:
http://cvshome.org/docs/manual/cvs_21.html#SEC182
-Larry Jones
Just when I thought this junk was beginning to make sense. -- Calvin