This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 19243 - Unable to connect to CVS server (login fail)
Summary: Unable to connect to CVS server (login fail)
Status: CLOSED WORKSFORME
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 3.x
Hardware: Other Windows ME/2000
: P2 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-09 23:05 UTC by vm47644
Modified: 2003-07-01 13:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vm47644 2002-01-09 23:05:50 UTC
I am unable to connect to CVS server. I get "Login failed" error.
This is on win2000. My collegaues tell me they are able to connect from Solaris.

Steps to see the bug :

   1. Install CVS on windows2000. 
       My cvs.exe is available at C:\winnt\system32\cvs.exe
   2. Select "Versioning->Mount VersionControl->CVS" and you will see a dialog
box
   3. Provide working dir and click "next"
   4. Select "Password Server" (my CVS server is running on solaris machine)
   5. Provide servername, username, repository and click "next"
   6. Select "Use CVS command-line client support" and provide the path to
cvs.exe
   7. Select "login to Pserver at .." and provide password

I am unable to login. It says login failed. But, in step 6, if I choose "Use
built-in CVS client"
I am able to connect successfully.

The problem is only with "Use CVS command-line client support" login.
Comment 1 Milos Kleint 2002-01-10 06:56:28 UTC
reassigning to vcsgeneric module..
Comment 2 Martin Entlicher 2002-01-10 12:42:31 UTC
I have no idea what can be wrong.
Please after the unsuccessfull login select the offline mode and click
Finish to mount the filesystem. Then go to Runtime tab and find the
mounted filesystem under "VCS Commands" node. Double-click on
LOGIN_CHECK command to see the error message.

Please provide the error message, otherwise I can not know what's bad.
Thanks.
Comment 3 Martin Entlicher 2002-01-10 16:15:35 UTC
Resolving as works for me in the mean time, since this works for all
of us...
Please reopen in case it's not a user error.
Comment 4 vm47644 2002-01-11 00:53:27 UTC
The output that I see in the "output of VCS commands [LOGIN_CHECK]"
dialog box :
"cvs server : cannot find module `-c`  -ignored
cvs [checkout aborted] : cannot expand modules".
Comment 5 vm47644 2002-01-11 02:00:03 UTC
The output that I see in the "output of VCS commands [LOGIN_CHECK]"
dialog box :
"cvs server : cannot find module `-c`  -ignored
cvs [checkout aborted] : cannot expand modules".


I tested on Win2000, in MS-DOS window, the follwoing command
"cvs co ."  It does not work. I get an error saying :
"cvs checkout: cannot open CVS/Entries for reading: No such file
or directory. cvs [checkout] aborted: no repository".

Comment 6 Jiri Kovalsky 2002-01-11 09:43:14 UTC
Well, frankly it seems to me like some kind of configuration problem
... Are you sure your CVS settings are correct ? Could you send us
"Execution String" of LOGIN_CHECK command ?
Comment 7 Martin Entlicher 2002-01-11 10:29:52 UTC
Can you please try "cvs checkout -c" on the command line? Which
version of cvs.exe do you have?
This command should execute without problems if the cvs installation
is O.K.
Do you use Window's CVS executable or cvs from some Unix distribution
(like CygWin)?

BTW: if you log in by built-in cvs, then you do not need to log in for
command-line cvs. It shoud tell you, that you're already logged in and
you can proceed with Next or Finish.
Comment 8 vm47644 2002-01-11 20:25:53 UTC
Here is all the information you are asking for :


C:\WINNT\system32>cvs -version

Concurrent Versions System (CVS) 1.11.1p1 (client)

Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn,
                        Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU General Public
License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS






C:\WINNT\system32>dir cvs*
 Volume in drive C is Win2k
 Volume Serial Number is 98B0-133F

 Directory of C:\WINNT\system32

10/22/2001  08:28a             638,976 cvs.exe
               1 File(s)        638,976 bytes
               0 Dir(s)   2,722,566,656 bytes free





C:\WINNT\system32>cvs checkout -c
cvs server: cannot find module `-c' - ignored
cvs [checkout aborted]: cannot expand modules

C:\WINNT\system32>


Comment 9 vm47644 2002-01-12 01:29:39 UTC
The command string for DO_LOGIN is :
vcs.commands.CvsLoginCheck.class

and the Standard error is :
Login failed. cvs [checkout aborted]: cannot expand modules


The command string for LOGIN_CHECK is :

cmd /X /C "cd /D \"E:\test\"&&   \"cvs\" -d
\":pserver:vijayam@bsqe-giant:/expor
t/home2/cfcvs\" -d \":pserver:vijayam@bsqe-giant:/export/home2/cfcvs\"
checkout
-c "



and the Standard error is :
[cvs server: cannot find module `-c' - ignored]
[cvs [checkout aborted]: cannot expand modules]




I am able to checkout sucessfully from DOS command prompt using CVS.
I had to create an environment variable "HOME" setting to somevalue
(in my case I
set it to C:\temp".  Then CVS checkout worked.  But this solution did
not help
with my problem of using command-line cline in FFJ.

Comment 10 Milos Kleint 2002-01-15 15:24:54 UTC
I wonder if  using the command-line You have done plain "cvs checkout
." or "cvs -d <your CSVROOT> co -c" . It would help us if you could
try the latter and let us know if there's a problem or it works correctly.

The error message: 
[cvs server: cannot find module `-c' - ignored]
[cvs [checkout aborted]: cannot expand modules]

usually indicates that there are problems with access rights to the
repository (as described for example in "K. Fogel: Open Source
Development with CVS") In your particular case, this seems like the
problem might lie (just a wild guess here) in the access rights to the
CVSROOT directory.. can you checkout the CVSROOT directory without
problems? Could you please send us the modules+config files that
resides there? Thanks..

Comment 11 Martin Entlicher 2002-01-21 10:51:09 UTC
Well, since the command
C:\WINNT\system32>cvs checkout -c
does not work for you, there has to be some problem in CVS
configuration. I think, that Milos is right with his interpretation of
the problem.
Resolvind as "works for me".
Comment 12 Jiri Kovalsky 2002-01-22 13:53:56 UTC
Unless you provide us with desired information I verify this issue.
Comment 13 Quality Engineering 2003-07-01 13:03:06 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.