List Info

Thread: WinCVS weird error




WinCVS weird error
user name
2006-08-23 14:00:51
Don't reply to me in private.
Keep the discussion inside the forum please. 


Best regards,

Bo Berglund


>> sorry about that, I hope you will forgive
me?<<

-----Original Message-----
From: notify@yahoogroups.com [mailto:notify@yahoogroups.com]
On Behalf
Of perfectionautos
Sent: den 22 augusti 2006 17:28
To: Bo Berglund
Subject: Re: WinCVS weird error

--- In cvsgui@yahoogroups.com, "Bo Berglund"
wrote:
> >
>> > > I have recently had no problem using a
linux
>> > > command line to 'checkout' from
different cvs servers, its seems
that
>> > > win cvs 'likes' only one repository and
I get the following
message 
>> > > 
> > 
> > Not true, cvs uses the CVSROOT it is told. It can
be told in different
> > ways:
> >   From the metadata in the CVS/Root file if used
within a sandbox
> >   On the command line using cvs -d <CVSROOT>
<cvscommand>
> >   Via the environment variable CVSROOT
> > 
> > Note that the first option overrides all other, so
if you are located
> > inside a checked out sandbox when you issue the
cvs command then
> > it will use that sandbox' metadata.
> > 

<<<<< thanks for that update, please note
that the information was
only meant to represent the actual output as name were
changed to
protect privacy so the information listed below is accurate
but the
naming was changed.

 If I could do screen captcha and show here I would 
 but it seems that is not possible. 

just for clarification  when i talk about the wincvs i mean
the
'client' when I talk about cvsnt I mean the 'cvsnt
server'.
this is the output from the bottom screen on the wincvs
client after
trying to login on the machine itself. The relevant
IPA.DD.RRe.SS has
been changed for obvious reasons. The names have been
changed as well
for obvious reasons.
....................................................
TCL is available, shell is enabled : help (select and press
enter)
cvs -z9 -w -x info 

***** CVS exited normally with code 0 *****

cvs -z9 -w -x info sserver 

***** CVS exited normally with code 0 *****

cvs -z9 -w -x -d :sserver:userIPA.DD.RRe.SS:/repository
login 
Logging in to :sserver:userIPA.DD.RRe.SS:2401:/repository
cvs [login aborted]: cvsadmin: no such user
Fatal error, aborting.

***** CVS exited normally with code 1 *****
............................................................
...

As far as the CVSNT server is concerned I have initialised
the
repository using the following
......................................
Server name:IPA.DD.RRe.SS

C:/cvsroot/repository  ...

/repository

CVS root repository

published
default
online


run as (client user)

Default domain (default)

Temorary Directory C:\TEMP
CVS sevrer port 2401
lock server localhost 2402
encryption   optional
compression optional
....................................

Don't resolve client name is set x
Lockserver listens locally only is set x
(as this is a remote machine)
Allow remote init commands

........................
this is a pure development server so we want to see the
changes as
they happen, so IIS virtual server has been set so that it
looks like
this

-Internet Infomation services/Every_CVS (running)/CVSROOT
                                                
/Graph_Oracle_DB_file


............................................................
....



> > If you are unable to execute the following command
successfully you
> > cannot expect cvs to work either:
> >   ping IPA.DD.RES.S
> > 

It pings just fine thats the first thing I checked as the
firewall had
to be specifically opened for this.


> > In such case you have to find out the IP address
of that server and
add
> > it to your
C:\Windows\system32\drivers\etc\HOSTS file
> > After that I suspect the connection problem goes
away.
 
I suspect you are probably right, this is what I found on my
mates
HOSTS file

...............................................
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for
Windows.
#
# This file contains the mappings of IP addresses to host
names. Each
# entry should be kept on an individual line. The IP address
should
# be placed in the first column followed by the
corresponding host name.
# The IP address and the host name should be separated by at
least one
# space.
#
# Additionally, comments (such as these) may be inserted on
individual
# lines or following the machine name denoted by a '#'
symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source
server
#       38.25.63.10     x.acme.com              # x client
host

127.0.0.1       localhost
......................................................
how would I set this up if the IPA.DD.RES.IS not related to
a domain
name?


>> > > 
>> > > cvs -z9 -w -x -d :pserver:SERVERNAME2.../repository login
>> > > Logging in to :pserver:SERVERNAME2...:2401:/repository 
>> > > cvs [login aborted]: authorization
failed: server 
>> > > IPA.DD.RES.SS rejected
>> > > access to /repository for user
SERVERNAME2
>> > > 
>> > > ***** CVS exited normally with code 1
*****
> > 
> > Did you really set up a pserver user by the name
SERVERNAME2???

no, that is what was being output on the bottom half of the
wincvs
client  screen

> > Both pserver and sserver protocols require
previous setup of the cvs
> > users on the server and if you haven't done so
you can't use these
> > protocols.
I actually followed your instructions to the letter made the
cvsuser
and cvsadmin users in the security tab and issued the
correct security
levels in the control panel management console


>> > > 
>> > > when asking for info which does not
require write permissions only
>> > > read/list permissions this is what I get
>> > > 
>> > > cvs -z9 -w -x info
>> > > 
>> > > ***** CVS exited normally with code 0
*****
>> > > 
>> > > cvs -z9 -w -x info pserver
>> > > 
>> > > ***** CVS exited normally with code 0
*****
> > 
> > Info is supposed to get you data from the server,
but you have not
> > specified the server to use....
> > 


the trouble is that using the GUI is that the commands
don't get
shown, the buttons pressed were 
1.open wincvs
2.Admin>click on
3.Login>click on
4.xCVSROOT>click on ellispeses ...>choose
5.protocal>sserver>click on
Repository Path>userIPA.DD.RES.Ss:/repository>click OK
6.click Ok>screen ask for login>
7.provide login password>
8.enter the password>eror screen shows the following



...............................................
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit
(Intel)]
on win32
Tk is available, Tk-macros are enabled
TCL is available, shell is enabled : help (select and press
enter)
cvs -z9 -w -x info 

***** CVS exited normally with code 0 *****

cvs -z9 -w -x info sserver 

***** CVS exited normally with code 0 *****

cvs -z9 -w -x info 

***** CVS exited normally with code 0 *****

cvs -z9 -w -x info sserver 

***** CVS exited normally with code 0 *****

cvs -z9 -w -x -d :sserver:hilaryIPA.DD.RES.SS;port=2401;/repository
login 
Logging in to :sserver:hilaryIPA.DD.RES.SS;port=2401;/repository 
Error connecting to host IPA.DD.RES.SS;port=2401;: No such
host is
known. 
........................



at this point I strongly suspect that you are right about
the host
file but do not know enough about win2k to act..... asid
from feeling
really foolish, I have to put my pride in my back pocket and
ask again
 for a little help.


again your asistance in this regard is appreciated....

Hilary (ps for those who are curious about the user name I
have had
this account with yahoo for a very long time, I was a motor
mechanic/technician for many years but after an industrial
accident
switched to my other passion, computers. in which I still
have as long
to learn as it took me to be the best I could be in my then
chosen
field in Africa, 20 years  - i intend to live for a very
very long
time as there is so much to learn and so little time)




> > 
>> > > Any help will be greatly appreciated. 
BTW once the code/programme
has
>> > > been completed how do I 'put' it to the
'live server' using winCVS?
Is
> > 
> > WinCvs is not a CVS server nor is it a CVS client.
It is only a *front
> > end*
> > to a cvsnt client. As such it has little to do
with mirroring the
module
> > to a public server.
> > 
> > 
>> > > there an elipses button or combination
that I use to publish to
>> > > another server, in this case a 'live'
poduction box (also win2k)
>> > > without a cvs server or client installed?
> > 
> > The normal way in such cases is to connect to the
webserver with FTP
and
> > then transfer the files you need to the proper
places on the server.
> >

>
> >snip<
> cvs -d :local:/backups init
> 
> 
> 
> ***** CVS exited normally with code 0 *****
> 
> cvs init: Repository /backups initialised
> Saved settings for C:\CVSROOT successfully...
> ls
> CVSROOT
> cvs --ver
> Concurrent Versions System (CVSNT) 2.5.03 (Scorpio)
Build 2382
> (client/server)
> 
> 
> Copyright (c) 1989-2001 Brian Berliner, david d `zoo'
zuhn, 
>                         Jeff Polk, and other authors
> CVSNT version (Jul  5 2006) Copyright (c) 1999-2005
Tony Hoyle and
others
> see http://www.cvsnt.org
> 
> Commercial support and training provided by March Hare
Software Ltd.
> see http://www.march-har
e.com/cvspro
> 
> CVSNT may be copied only under the terms of the GNU
General Public
> License v2,
> a copy of which can be found with the CVS distribution.
> 
> The CVSNT Application API is licensed under the terms
of the
> GNU Library (or Lesser) General Public License.
> 
> SSH connectivity provided by PuTTY:
>   PuTTY is copyright 1997-2001 Simon Tatham.
>   Portions copyright Robert de Bath, Joris van
Rantwijk, Delian
>   Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong,
Nicolas Barry,
>   Justin Bradford, and CORE SDI S.A.
>   See ht
tp://www.chiark.greenend.org.uk/~sgtatham/putty/
> 
> Perl Compatible Regular Expression Library (PCRE)
>   Copyright (c) 1997-2004 University of Cambridge.
>   Licensed under the BSD license.
>   See http://www.pcre.org/l
icense.txt
> 
> Specify the --help option for further information about
CVS
> 
> ...................
> 
> cvs -x info sserver 
> 
> ***** CVS exited normally with code 0 *****
> 
> cvs -x -d :sserver:hilaryASERVERSOMEWHERE:/repository login
> 
> 
> ***** CVS exited normally with code 1 *****
> 
> Logging in to :sserver:hilaryASERVERSOMEWHERE:2401:/repository
> cvs [login aborted]: /repository: no such repository
> .................
> 
> 
> Is it normal for cvs to create new folders on the C:/
drive not under
> the C:/cvsroot/folder when it initialises a repository?
>







 
Yahoo! Groups Links

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

<*> To unsubscribe from this group, send an email to:
    cvsgui-unsubscribe@yahoogroups.com

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


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )