[LUNA] Problems w/ rsync ....

William A. Mahaffey III wam at hiwaay.net
Wed Aug 12 21:47:23 CDT 2015


On 08/12/15 16:29, Branden Harper wrote:
> Did you enable inetd via /etc/rc.conf?
>
> 04:21:54 [bharper at harmony.chaosweb.us:/dev/pts/1 +1] ~
> $ sudo /etc/rc.d/inetd rcvar
> # inetd
> $inetd=YES
>
>
> On Wed, Aug 12, 2015 at 3:37 PM, William A. Mahaffey III <wam at hiwaay.net>
> wrote:
>
>>
>> .... I am trying to get my Q6600-based server, running FC14-x86_64 (button
>> it, I am going to upgrade to CentOS6 *soon*) to backup my RPiB+ timeserver
>> running NetBSD 7.0 beta as follows:
>>
>> [root at Q6600:/etc, Wed Aug 12, 03:43 PM] 1178 # rsync -avviiz root at rpitimer::root
>> /home/rsync/RPiTimer
>> opening tcp connection to rpitimer port 873
>> rsync: failed to connect to rpitimer (*inet_ntop failed*): Connection
>> refused (111)
>> rsync error: error in socket IO (code 10) at clientserver.c(122)
>> [Receiver=3.0.8]
>> [root at Q6600:/etc, Wed Aug 12, 03:43 PM] 1179 # uname -a
>> Linux Q6600 2.6.35.14-106.fc14.x86_64 #1 SMP Wed Nov 23 13:07:52 UTC 2011
>> x86_64 x86_64 x86_64 GNU/Linux
>> [root at Q6600:/etc, Wed Aug 12, 03:43 PM] 1180 # whoami
>> root
>> [root at Q6600:/etc, Wed Aug 12, 03:43 PM] 1181 #
>>
>>  From the RPi:
>>
>> rpi # uname -a
>> NetBSD rpi 7.0_BETA NetBSD 7.0_BETA (RPI.201503272230Z) evbarm
>> rpi # cat /usr/pkg/etc/rsync/rsyncd.conf
>> # rsyncd.conf - Example file, see rsyncd.conf(5)
>> #
>>
>> # Set this if you want to stop rsync daemon with rc.d scripts
>> pid file = /var/run/rsyncd.pid
>>
>> # Edit this file before running rsync daemon!!
>>
>> [root]
>>          path = /
>>          comment = root fs ....
>>          hosts allow = 192.168.0.0/24
>>
>> rpi # grep rsync inetd.conf
>> rsync           stream  tcp     nowait  root /usr/pkg/bin/rsync
>> rsyncd --daemon
>> rpi #
>>
>> Why doesn't this work ? Nothing in the messages or auth.log files on the
>> RPi, nothing in my messages file on the server .... *Any* clues appreciated
>> :-/ ....
>>
>>
>> --
>>
>>          William A. Mahaffey III
>>
>>   ----------------------------------------------------------------------
>>
>>          "The M1 Garand is without doubt the finest implement of war
>>           ever devised by man."
>>                             -- Gen. George S. Patton Jr.
>>
>> _______________________________________________
>> LUNA mailing list
>> LUNA at lunagroup.us
>> http://lunagroup.us/mailman/listinfo/luna
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lunagroup.us/pipermail/luna/attachments/20150812/19e9947b/attachment.html>
> _______________________________________________
> LUNA mailing list
> LUNA at lunagroup.us
> http://lunagroup.us/mailman/listinfo/luna
>

Yep (actually, enabled by default, was running):

rpi # grep inetd rc.conf
rpi # grep inetd defaults/rc.conf
# inetd is used to start the IP-based services enabled in /etc/inetd.conf
inetd=YES               inetd_flags="-l"        # -l logs libwrap
rpi #

-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.



More information about the LUNA mailing list