info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs login failure


From: Derek R. Price
Subject: Re: cvs login failure
Date: Wed, 18 Oct 2000 10:32:06 -0400

address@hidden wrote:

> I did a strings on the Windows cvs.exe and on /usr/bin/cvs on Linux,
> and both have CVS_CLIENT_LOG, so I assume the facility works similarly
> as in the source to cvs 1.10.8 that I have handy: it just opens
> $CVS_CLIENT_LOG.in and $CVS_CLIENT_LOG.out and writes in there.

No, that's about it.  I'm not sure what shell you are using, but in Bourne, 
Bash, and
Korn, you need to export environment variables for a child process to see them:

    #!/bin/sh
    CVS_CLIENT_LOG=/tmp/xxx
    export CVS_CLIENT_LOG
    cvs ... login

Should produce two files, /tmp/xxx.in & /tmp/xxx.out .  The names are server 
relative
(YES, I know it's called a client log.  This one's a pet peeve of mine - maybe 
I'll
fix it someday), so *.in is a full transcript of what went into the server 
(what was
sent by the client) and *.out is a full transcript of what was sent by the 
server
(what was read by the client).

And I know it was working under Linux in 1.10.8 and in an almost 1.11 dev 
version, so
you shouldn't be having any problems there.

Whoops.   Just checked myself and CVS doesn't start writing to the client log 
until
after authentication, probably for the obvious reasons, but it does work under 
both
Linux & Windows in 1.11.

Anyway, I'd say your options are compiling a debug version under Windows and
attempting to trace the failed attempt or figure out what the difference 
between your
Windows & Linux CVSROOT specs are, since the Linux version worked.  Is LOGNAME 
set
differently on the two machines?  Try a CVSROOT with no variables in it.  CVS
shouldn't be filling anything into CVSROOT on either platform, so if the 
problem lies
there you should be able to fix it on the command line.

Also, try again to make sure that handy's IP address is the same regardless of 
which
machine you look it up on.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
--
I will not celebrate meaningless milestones.
I will not celebrate meaningless milestones.
I will not celebrate meaningless milestones...

          - Bart Simpson on chalkboard, _The Simpsons_






reply via email to

[Prev in Thread] Current Thread [Next in Thread]