From owner-freebsd-questions@FreeBSD.ORG Thu Sep 25 07:45:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73CDD16A4B3 for ; Thu, 25 Sep 2003 07:45:53 -0700 (PDT) Received: from remt19.cluster1.charter.net (remt19.cluster1.charter.net [209.225.8.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3711144020 for ; Thu, 25 Sep 2003 07:45:52 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt19.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 2531315 for questions@freebsd.org; Thu, 25 Sep 2003 10:45:51 -0400 From: "Charles Howse" To: Date: Thu, 25 Sep 2003 09:45:47 -0500 Message-ID: <005201c38373$b5151000$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <004f01c3836a$ec08d640$04fea8c0@moe> Subject: RE: Mirroring another machine w/ cvsup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2003 14:45:53 -0000 > Hi, > I have 2 FBSD 4.8-RELEASE-p7 machines side-by-side on a home network, > curly and larry. > I want to mirror some directories from curly to larry with cvsup as an > exercise and as a backup. >=20 > The directories on curly I want to mirror are: > /root, /seeds, and /etc. >=20 > I have those working perfectly, now I want to add /usr/local/etc. >=20 > I created the directory=20 > /usr/local/etc/cvsup/sup/usr/local/etc on curly. > I created /usr/local/etc/cvsup/sup/usr/local/etc/etc.cvs and > /usr/local/etc/cvsup/sup/usr/local/etc/releases. >=20 > etc.cvs contains the lines: > Upgrade usr/local/etc > Rsymlink * >=20 > Releases contains the line: > Usr/local/etc list=3Detc.cvs prefix=3D/ >=20 > When I start cvsupd -b /usr/local/etc/cvsup -C 1 -l=20 > /dev/stdout, I get: > # Listen failed: Port in use >=20 > I checked the handbook section on cvsup, may have missed the=20 > answer, but > no joy. > Can anyone point me to my error? I have some further info... 'Listen failed: Port in use' is no longer an issue, I changed the cvsupd command to: # cvsupd -l /dev/stdout Which makes it serve 1 client and then exit. The issue now is that I cannot update /usr/local/etc. After re-reading man cvsupd, I have done the following on curly: # rm -dr /usr/local/etc/cvsup/sup/usr # cd /usr/local/etc/cvsup/sup # mkdir local # cd local # echo "local list=3Dlocal prefix=3D/usr/local/etc" > releases # echo "upgrade local" > local.cvs # echo "rsymlink *" >> local.cvs And on larry, I edited my /etc/mirror-supfile to include: *default base=3D/disk2 *default release=3Dlocal Local Now cvsupd runs successfully on curly, *but* it shows: 0Kin+0Kout local/local And no files are transferred from curly /usr/local/etc to larry /disk2/ What am I doing wrong?