From owner-freebsd-questions@FreeBSD.ORG Mon May 2 08:54:19 2005 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 9652516A4CE for ; Mon, 2 May 2005 08:54:19 +0000 (GMT) Received: from lmail.bathnetworks.co.uk (mail.bathnetworks.com [84.92.24.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29E1C43D45 for ; Mon, 2 May 2005 08:54:18 +0000 (GMT) (envelope-from bsd@bathnetworks.com) Received: (qmail 30753 invoked by uid 510); 2 May 2005 09:58:02 +0100 Received: from 84.92.24.252 by lmail.bathnetworks.co.uk (envelope-from , uid 508) with qmail-scanner-1.24-st-qms (clamdscan: 0.83/710. spamassassin: 3.0.2. perlscan: 1.24-st-qms. Clear:RC:0(84.92.24.252):SA:0(-1.7/5.0):. Processed in 2.049668 secs); 02 May 2005 08:58:02 -0000 X-Spam-Status: No, hits=-1.7 required=5.0 X-Antivirus-MYDOMAIN-Mail-From: bsd@bathnetworks.com via lmail.bathnetworks.co.uk X-Antivirus-MYDOMAIN: 1.24-st-qms (Clear:RC:0(84.92.24.252):SA:0(-1.7/5.0):. Processed in 2.049668 secs Process 30746) Received: from mail.bathnetworks.com (HELO ?84.92.24.252?) (bsd@bathnetworks.com@84.92.24.252) by lmail.bathnetworks.co.uk with SMTP; 2 May 2005 09:57:59 +0100 From: Robert Slade To: "freebsd-questions@freebsd.org" Content-Type: text/plain Message-Id: <1115024279.29920.24.camel@lmail.bathnetworks.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Mon, 02 May 2005 09:57:59 +0100 Content-Transfer-Encoding: 7bit Subject: FreeBSD + Heartbeat+ Samba+Rsync 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: Mon, 02 May 2005 08:54:19 -0000 Hi, Futher to my previous mail, I have got HB & Samba running ok now on FreeBSD 5.3. I am still trying to sort out the Perl Scripts for running rsync. The bit I am having trouble with is: # /etc/password - System Password File # /etc/shadow - Actual Encrypted passwords. # /etc/group - System Group File # /etc/ld.so.conf - System Linked Libraries. # /etc/shells - Valid Login Shells my @filelist = ( "/etc/passwd", "/etc/shadow", "/etc/group", "/etc/ld.so.conf", "/etc/shells" ); foreach $filename (@filelist) { system "/usr/bin/rsync --rsh=$EnvConfig::sshpath $EnvConfig::rsyncoptions $filename local$other:$filename"; Sorry about the wrapping. As far as I tell, FreeBSD has no System linked Libraries hence no ld.so.conf. I am not sure what this bit of code is trying to do and what to replace it with. I don't want to install the Linux Compatibility libs just to run a Perl script. Any ideas? Rob