Thanks to everyone for their responses. I contacted IBM, but since IBM AIX
Toolbox for Linux Applications is not officially supported, the support
rep. didn't offer much help. He did refer me to this link on rsync, which
was useful and got me thinking:

http://www.computerhope.com/unix/rsync.htm

My original understanding was that for rysnc to work on IBM i with a
remote client, it had to run in daemon mode, but that is not necessarily
case. Rsync will work in conjunction with the SSH daemon running on the
server, which is probably better and more secure. I created a file on my
Mac OS X machine, opened a terminal and then ran the following command:

rsync [OPTION...] SRC... [USER@]HOST:DEST

E.g., rsync test.txt blake@webserver:/home/blake

I checked the directory in the IFS on the web server, and the file was
there. Then I tried syncing a directory from my Mac, and that worked as
well. I am still learning all the ins and outs of rsync, but for my
purposes, I think I have what I need -- syncing files and folders both
locally on the server and remotely to the server. My guess is that I could
easily automate synchronization with SSH keys, though I haven't tried that
yet. The only caveat with this method is that it requires sshd running on
the IBM i server.

Blake


From: web400-request@xxxxxxxxxxxx
To: web400@xxxxxxxxxxxx,
Date: 03/11/2014 12:00 PM
Subject: WEB400 Digest, Vol 12, Issue 29
Sent by: web400-bounces@xxxxxxxxxxxx


date: Tue, 11 Mar 2014 08:15:37 -0600
from: Jim Essinger
subject: Re: [WEB400] Rsync daemon in PASE

Blake,

I installed rsync and one the web programmers configured it to run with
Amazon based content servers. He may have contacted IBM for help with
configuration. I have looked for the config files to see if there is any
hint there for you, but have as yet been unable to locate them. If I
remember that long, I will try to as when I see the programmer next, but
that is not until Friday.

Jim Essinger
Western Power Sports
Boise, ID



On Mon, Mar 10, 2014 at 8:39 AM, <BButterworth@xxxxxxxxxxxxxx> wrote:

Jim,

As I mentioned to Jack, the only config files I am using are rsyncd.conf
and rsyncd.scrt in /etc. For those, I followed the example in the MC
Press
article. His setup is similar to examples I've seen from others running
on
other platforms. Any tips?

Thanks,
Blake


date: Sat, 8 Mar 2014 08:25:26 -0700
from: Jim Essinger
subject: Re: [WEB400] Rsync daemon in PASE

We use it all the time to sync between our servers and external content
servers. We are at 7.1 of i5/OS. I too think you have a config issue.

Jim Essinger
Western Power Sports
Boise, ID
On Mar 7, 2014 3:02 PM, <BButterworth@xxxxxxxxxxxxxx> wrote:

Has anyone had success getting the rsync daemon to work in 7.1? I have
installed version 3.1.0-1 from Michael Perzl's website, along with
popt
1.16-1 (dependency). I would like to configure it to run as a daemon
to
synchronize files for our website from a development machine to the
IFS.
The rsync executable runs fine to sync files from one directory to
another
in the IFS (for example), but it fails when started as a
daemon/server.
When I check, nothing is running on the default port 873.

Command:
rsync --daemon --log-file=/tmp/rsync.log

Log:
2014/03/07 15:49:50 [47147] name lookup failed for : Address family
not
supported
2014/03/07 15:49:50 [47147] connect from UNKNOWN ()
2014/03/07 15:49:50 [47147] rsync: safe_write failed to write 14 bytes
to
socket [Receiver]: No such device (19)
2014/03/07 15:49:50 [47147] rsync error: error in rsync protocol data
stream (code 12) at io.c(337) [Receiver=3.1.0]

Thanks,
Blake


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.