Re: Error:No connection could be made because the target machine actively refused it

"Gaurav" <[email protected]> Thu, 14 May 2009 05:27:04 -0000
Newsgroups gmane.comp.version-control.cvs.gui.user
Message-ID <[email protected]>
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. 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



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cvsgui/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/cvsgui/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/