[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: What should I do with CVS after IP address changed
From: |
Christopher.Fouts |
Subject: |
RE: What should I do with CVS after IP address changed |
Date: |
Wed, 20 Apr 2005 17:42:18 -0400 |
Since your CVSROOT environment variable is NOT set, you'll
have to do a cvs -d :pserver:<etc> <cvs command> every time.
You don't have the c-shell, but the bash shell, hence the
bash error. Try
> set CVSROOT=:pserver:<etc>
> export CVSROOT
You can add these lines in your /homedir/.bashrc file.
-chris
>-----Original Message-----
>From: Hong, Yi [mailto:address@hidden
>Sent: Wednesday, April 20, 2005 5:33 PM
>To: Jason Viers; Fouts Christopher (IFNA MP DC)
>Cc: address@hidden
>Subject: RE: What should I do with CVS after IP address changed
>
>
>I was able to check out with the new IP address by using the
>command: "cvs -d
>:pserver:address@hidden:/usr/local/cvs-rep co healthlink"
>
>But I still got the same error message after I tried to update
>the file:
>
>"address@hidden images]# cvs update prevpic.gif
>cvs [update aborted]: connect to cvs-rep(141.106.32.35):2401
>failed: Connection timed out"
>
>It seems that the system was still trying to connect to the
>old IP address 141.106.32.35.
>
>When I tried to set my CVSROOT environment variable with the command
> "setenv CVSROOT :pserver:141.106.210.35:/usr/local/cvs-rep",
>I got the message "bash: setenv: command not found".
>
>We have a remote repository. The IP address was changed from
>141.106.32.35 to 141.106.210.35 on the machine which can mount
>the working directory (we called it test server). The
>question is how to connect to the server with the new IP
>address 141.106.210.35 instead of the old one(141.106.32.35).
>
>Thanks for your help,
>
>Yi
>
>
>
>-----Original Message-----
>From: Jason Viers [mailto:address@hidden
>Sent: Wednesday, April 20, 2005 2:07 PM
>To: address@hidden
>Cc: Hong, Yi; address@hidden; address@hidden
>Subject: Re: What should I do with CVS after IP address changed
>
>address@hidden wrote:
> > Either
> >
> > 1. set your CVSROOT environment variable in your startup scirpts
> > appropriately. Ex, for c-shell's .cshrc file
> > > setenv CVSROOT :<access type>:141.106.32.35:/your_cvs_path
> >
> > access type here is either pserver, rsh, ssh, etc.
> >
> > 2. Or from directly from command line
> >
> > > cvs co -d 141.106.32.35:/your_cvs_path blah_blah
> >
> > #1 is preferred.
>
>But in his situation, #2 is required. He needs to override
>the cvs/Root
>
>files in his tree with the new server information: #2 will do that, #1
>won't.
>
>But yes, you still need the full CVSROOT in the command line, not just
>the IP:
>
>cvs co -d :pserver:address@hidden:/path_to_repository co ...
>
>Jason
>
> >
> >
> >>-----Original Message-----
> >>From: address@hidden
> >>[mailto:address@hidden
> >>] On Behalf Of Hong, Yi
> >>Sent: Wednesday, April 20, 2005 1:57 PM
> >>To: Jim.Hyslop; address@hidden
> >>Subject: RE: What should I do with CVS after IP address
>changed >> >> >>Thanks, Jim! >> >>I tried to check out
>with the command "cvs -d 141.106.32.35 co >>healthlink" but
>got the following message: >> >>Cvs checkout: CVSROOT
>"141.106.32.35" must be an absolute >>pathname Csv [checkout
>aborted]: Bad CVSROOT. >> >>Any idea about this? Could you
>please let me know how to check >>out a fresh copy with
>$CVSROOT set to the new machine? >> >> >>Yi >>
>>>-----Original Message-----
> >>From: Jim.Hyslop [mailto:address@hidden
> >>Sent: Tuesday, April 19, 2005 2:43 PM
> >>To: Hong, Yi; address@hidden
> >>Subject: RE: What should I do with CVS after IP address
>changed >> >>Hong, Yi wrote: >> >>>I got the following
>error message after I tried "cvs update"
>command:
> >>>
> >>>cvs [update aborted]: connect to cvs-rep(141.106.32.35):2401
> >>>failed: Connection timed out
> >>>
> >>>We just readdressed IP of our test server. We are using
>CVS >>>to transfer modified files from test server to
>production >>>server. I think I need to update the IP address
>somewhere in >>>one of CVS administrative files but couldn't
>find it. >> >>First of all, don't use the server's IP
>address, use its name. >>That will prevent any future
>problems like this. >> >>The easiest thing to do is simply
>check out a fresh copy with >>your $CVSROOT set to the new
>machine. >> >>If you have outstanding changes that need to
>be checked in, >>then use the -d
> >>option:
> >>
> >>cvs -d :pserver:address@hidden:/path_to_repository commit >>
> >>--
> >>Jim Hyslop
> >>Senior Software Designer
> >>Leitch Technology International Inc. (
>http://www.leitch.com ) >>Columnist, C/C++ Users Journal (
>http://www.cuj.com/experts ) >> >>
>>>_______________________________________________
> >>Info-cvs mailing list
> >>address@hidden >>http://lists.gnu.org/mailman/listinfo/info-cvs
> >>
> >
> >
> >
> > _______________________________________________
> > Info-cvs mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/info-cvs
>
- What should I do with CVS after IP address changed, Hong, Yi, 2005/04/19
- RE: What should I do with CVS after IP address changed, Jim.Hyslop, 2005/04/19
- RE: What should I do with CVS after IP address changed, Hong, Yi, 2005/04/20
- RE: What should I do with CVS after IP address changed, Christopher.Fouts, 2005/04/20
- RE: What should I do with CVS after IP address changed, Hong, Yi, 2005/04/20
- RE: What should I do with CVS after IP address changed,
Christopher.Fouts <=
- RE: What should I do with CVS after IP address changed, dzielke, 2005/04/21
- RE: What should I do with CVS after IP address changed, Hong, Yi, 2005/04/21