I played around with this (just for fun). I found the following helpful
http://transamrit.net/docs/rsync/

I ended ADDSRVTBLE for rsync to try and have the INETD start the service,
but ran into errors in INETD.
I was able to start the deamon using "rsync --daemon -v"

maybe more playing as time allows....

Bryan


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

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-letter-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.html


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.

This thread ...

Replies:

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.