[LUNA] Problems w/ rsync ....

Branden Harper bharper at chaosweb.us
Wed Aug 12 23:01:45 CDT 2015


I was unable to reproduce that here with my 6.1.5 box.  Can you verify that
you don't have pf running and blocking that service?

pfctl -s all

I forgot to open my firewall during my first round of testing and I got a
similar message.
On Aug 12, 2015 9:53 PM, "Branden Harper" <bharper at chaosweb.us> wrote:

> I knew that was the default in 6.1.5, but I haven't installed 7.
>
> I'm going to try your settings out here when I get a chance and see if I
> can figure it out.
> On Aug 12, 2015 9:41 PM, "William A. Mahaffey III" <wam at hiwaay.net> wrote:
>
>> 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.
>>
>> _______________________________________________
>> 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/77e78870/attachment.html>


More information about the LUNA mailing list