[Top][All Lists]

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

Re: Adding new repository to cvs

From: Todd Denniston
Subject: Re: Adding new repository to cvs
Date: Thu, 20 Sep 2007 14:06:50 -0500
User-agent: Thunderbird (X11/20070716)

bomahony wrote, On 09/20/2007 05:30 AM:
Hi im pretty new to CVS, and to this list as well.

Anyways, my companyhas asked me to look after the two CVS server, as
the previous admin is gone. Anyways, eher is my issue.

As you are a newbie to CVS and also being assigned the the job of being the admin, do yourself a huge favor: figure out if you are running CVS 1.11.X or 1.12.X on the server, and choose the appropriate manual[1], read it cover to cover. you SHALL thank yourself later.

We have two servers in different locations. The primary location has
most of the development work done. the secondary location does a small
bit of work, and the CVS server on that site has a number of
repositories rsync'd to it.

The primary server has a number of repositories at /cvs/* and a number
at /cvs1/*. To date all the sync's were from /cvs/* to /cvs/* on the
secondary offsite server. They have now asked me to replicate one of
the repositories from /cvs1/EJB. I have set up the synch, and synched
the data.

I then logged into the server, and ran
cvs -d /cvs1/EJB init

I think you also should read the man page for rsync.
it should be something _like_
rsync primary:/cvs1/EJB /

Also your setup (using rsync to put servers local) seems very brittle, and a bit strange. I would suggest reading a couple of the FAQs[2][3] and see if their answers would help you.

I thought this would make the repository appear. However i get a "/
cvs1/EJB: no such repository"

This error means /cvs1/EJB does not exist, try mkdir /cvs1/EJB first.
However in your setup (rsyncing from primary to secondary, I think you have a fundamental misunderstanding of what you wanted to do, i.e., I think you needed to run rsync not cvs for your setup. I suspect your rsync method is basically a variation on "How do I backup and restore complete CVS repository?"[4]

I know it has to be something stupid, but i have no idea what. I have
restarted the xiinetd service. The machines are running RHEL3.

Are you using pserver?
(please don't, but if you are then we need to know so we can better help you.)
Any help would be appreciated.

any commands I gave above are only guesses, use them at your own risk.
Good luck.


Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

reply via email to

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