From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dr. Martin =?iso-8859-1?b?S/ZyZmVy?=" Newsgroups: gmane.os.tru64.managers Subject: summary:rsync-question Date: Mon, 31 Jan 2005 10:04:17 +0100 Message-ID: <1107162257.41fdf49191a26@www2.mpch-mainz.mpg.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1107162344 15074 80.91.229.6 (31 Jan 2005 09:05:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Jan 2005 09:05:44 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Jan 31 10:05:35 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CvXV0-0003d2-00 for ; Mon, 31 Jan 2005 10:05:34 +0100 Original-Received: (qmail 3878 invoked by uid 5); 31 Jan 2005 09:05:11 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 3794 invoked by uid 49501); 31 Jan 2005 09:05:10 -0000 Original-Received: from koerfer@mpch-mainz.mpg.de by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.110):SA:0(-2.6/5.0):. Processed in 4.518117 secs); 31 Jan 2005 09:05:10 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 31 Jan 2005 09:05:04 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IB6000SNBWDYM@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 31 Jan 2005 04:05:02 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.2-X27 #30899) id <0IB600E02BVE0M@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 31 Jan 2005 04:04:31 -0500 (EST) Original-Received: from mpch01.mpch-mainz.mpg.de (mpch01.mpch-mainz.mpg.de [192.67.218.34]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IB600D5MBVDKZ@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 31 Jan 2005 04:04:26 -0500 (EST) Original-Received: (from root@localhost) by mpch01.mpch-mainz.mpg.de (8.12.9/8.12.9) id j0V94OBb168400 for tru64-unix-managers@ornl.gov; Mon, 31 Jan 2005 10:04:24 +0100 (MET) Original-Received: from gemini.mpch-mainz.mpg.de (terra.mpch-mainz.mpg.de [141.5.0.17]) by mpch01.mpch-mainz.mpg.de (8.12.9/8.12.9) with ESMTP id j0V94IFg168628 for ; Mon, 31 Jan 2005 10:04:18 +0100 (MET) Original-Received: from dionysos.mpch-mainz.mpg.de (dionysos.mpch-mainz.mpg.de [141.5.0.24]) by gemini.mpch-mainz.mpg.de (8.12.11/) with ESMTP id j0V94IT6684337 for ; Mon, 31 Jan 2005 10:04:18 +0100 (MET) Original-Received: (from httpd@localhost) by dionysos.mpch-mainz.mpg.de (8.12.11/) id j0V94HeO244377 for tru64-unix-managers@ornl.gov; Mon, 31 Jan 2005 10:04:17 +0100 (MET) Original-Received: from pedali.mpch-mainz.mpg.de (pedali.mpch-mainz.mpg.de [141.5.0.84]) by www2.mpch-mainz.mpg.de (IMP) with HTTP for ; Mon, 31 Jan 2005 10:04:17 +0100 X-Originating-IP: 141.5.0.84 Original-To: tru64-unix-managers@ornl.gov User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Envelope-From: X-Virus-Scanned: by AMaViS perl-11 X-Authentication-warning: dionysos.mpch-mainz.mpg.de: httpd set sender to koerfer@mpch-mainz.mpg.de using -f Xref: main.gmane.org gmane.os.tru64.managers:7975 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7975 Hi managers, thanks for the extensive and (like most times) exhaustive answers to my problem below. Dr. Tom Blinn gave me a genaeral advice how to hnadle problems if the error "failed to exec" occurs; others pointed out that the appropriate path was not found; Tim Cutts, Martin Adolfsson, Warren Sturm told me to use the "-e" or "-rsh" - option of the rsync-command, what at least solved the problem. Shame on me: I should have read the "fucking man-page" a bit more carefully ! Martin ---------------------------------- Original question: Having successfully installed rsync on Tru64 5.1a, I was able to synchronize the data on our anonymous ftp-server with a disk on an "access-server for users" All worked fine if I typed in as root (form the access-server): /usr/bin/rsync -av --delete ftp:/ftp/pub /ftp The ftp-disks were synchronized by using "key-login" for root through "ssh2" running on both servers. Now putting this into the the crontab-file, execution failed with the error-message: rsync: Failed to exec ssh: No such file or directory (2) even putting the command into a script-file with the preceding lines: #!/bin/csh source /.cshrc (csh is the root-login-shell and the /usr/bin-path is defined in /.cshrc) results in the same error. Any idea how to run rsync thb in the "crontab" ??? Thanks Martin ------------------------------------------------- This mail sent through IMP: webmail.mpch-mainz.mpg.de ------------------------------------------------- This mail sent through IMP: webmail.mpch-mainz.mpg.de