I did some experiments with running rsync in daemon mode both on V5R3 and on
V6R1 and could not make it work. (It is the daemon mode that is
interesting to me - it is an extremely efficient way of moving IFS files in
and out)
My guess was then that the mechanism for going in the background (detaching
the terminal) fails for some reason taking the rsync process down but that
could easily have been caused by a configuration file problem.
Can anyone confirm that they have successfully followed the instructions in
http://www.mcpressonline.com/operating-systems/linux-open-source/the-linux-l
etter-getting-in-rsync.html ?
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of BButterworth@xxxxxxxxxxxxxx
Sent: 10. marts 2014 15:36
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] Rsync daemon in PASE
Thanks, Jack. The config files that I am using are rsyncd.conf and
rsyncd.scrt in /etc. I played around with adding hosts and services files in
/etc to no avail. The article was helpful for installing, thanks, but
doesn't cover running in daemon mode. This 2003 article from MC Press Online
does:
http://www.mcpressonline.com/operating-systems/linux-open-source/the-linux-l
etter-getting-in-rsync.html
Except for the RPM install, I believe I am doing what the author does in the
article. He doesn't mention anything in terms of config files beyond the
rsyncd.* files in/etc. As for software, we recently upgraded our hardware
and are at the latest cume.
Blake
date: Sat, 8 Mar 2014 04:47:19 -0500
from: Jack Kingsley
subject: Re: [WEB400] Rsync daemon in PASE
Blake, found this link, name lookup failed sounds like a DNS or host name
problem possibly. I had not heard of rsync, I am going to read up more
about it.
http://as400topics.blogspot.com/2012/01/installing-rsync-on-iseries-as400.ht
ml
Also, are you current on groups and cume ptfs.
On Fri, Mar 7, 2014 at 5:04 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
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.