[cvsnt] Error: No connection could be made because the target machine actively refused it

Gaurav Chhabra messagegc at gmail.com
Sat May 9 11:57:50 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.


Hi,


Finally, I have been able to login successfully and checkout the code. I can
also checkin properly. After so many unsuccessful attempts, I yesterday
thought of trying using :ssh: [as Arthur suggested in one of his post :) ]
and it worked. For connecting using :ssh:, I had to create
$CVSROOT/CVSROOT/admin file. I added the system user name (present on CVSNT
server) to this file. Without this file, I was not able to checkout &
checkin.

After succeeding using :ssh:, I again thought of giving :pserver: a try.
Today was a great day! I can now checkout using :pserver: also.

For :pserver: --->
Almost everything remained same in the configuration files that I touched
earlier. Only thing that I did today was that I appended the name of the CVS
user (who is the first field in $CVSROOT/CVSROOT/passwd file) in the
$CVSROOT/CVSROOT/admin file.

[root at localhost ~]# cat /usr/local/cvsrep/CVSROOT/passwd
cvsuser:MH1PeBf7wNDa.:syscvs

[root at localhost ~]# cat /usr/local/cvsrep/CVSROOT/admin
syscvs
cvsuser

Without adding this CVS user, I was able to login but not able to checkout.

While checking out, it used to give the folowing error:
-------------------------------------------------------------
cvs -z9 -d :pserver:cvsuser at xx.x.xx.xxx:/usr/local/cvsrep checkout --
CVSROOT (in directory C:\Documents and Settings\servista7\Desktop)
cvsnt server: User cvsuser cannot read CVSROOT

***** CVS exited normally with code 1 *****
-------------------------------------------------------------

I am happy now but there is one thing that is causing worry. I referred the
CVSNT Official doc. It mentions that 'admin' file is for Repository
administrators. If this is the case, then obviously, I can't write
everyone's name in that file. I also tried using 'writers' file but to no
avail.
Can anyone please provide some guidance on this issue?


Thanks & Regards,
Gaurav


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook