rsyncd with macports 2.5.4 on macOS 10.13.6

Kevin Layer layer at franz.com
Thu Oct 25 14:00:28 UTC 2018


Rainer Müller wrote:

>> On 2018-10-24 16:51, Kevin Layer wrote:
>> > When I installed rsync, I executed the command that was suggested by
>> > the port command.  I forget what it was.
>> 
>> Probably that was the usual 'sudo port load rsync'.

That was it.

>> 
>> > After a reboot, every 30 seconds, I see this in /var/log/system.log:
>> > 
>> > com.apple.xpc.launchd[1] (org.macports.rsyncd[1044]): Service exited with abnormal code: 2
>> 
>> That means the rsyncd process exited with an error. You need to look at
>> the error messages to find out why.
>> 
>> Try this command to capture the output:
>> sudo launchctl debug system/org.macports.rsync --stdout --stderr
>> 
>> Rainer

Found this in the console:

2018-10-25 06:55:16.072468 -0700	default	06:55:16.072468 -0700	rsync	unable to bind any inbound sockets on port 873


And

# ps ax | grep rsync
21693   ??  Ss     0:00.00 /opt/local/bin/rsync --daemon --config=/opt/local/etc/rsyncd.conf
23272   ??  Ss     0:00.01 /opt/local/bin/daemondo --label=rsyncd --start-cmd /opt/local/etc/LaunchDaemons/org.macports.rsyncd/rsyncd.wrapper start ; --stop-cmd /opt/local/etc/LaunchDaemons/org.macports.rsyncd/rsyncd.wrapper stop ; --restart-cmd /opt/local/etc/LaunchDaemons/org.macports.rsyncd/rsyncd.wrapper restart ; --pid=fileauto --pidfile /opt/local/var/run/rsyncd.pid
# 


Is the first one supposed to be running, or should daemondo start it
when needed?

I'm wondering if that's why the port is already in use.

Thanks.

Kevin


More information about the macports-users mailing list