Strange system log error related to Macports

Derek Ashley Thomas derekathomas at gmail.com
Fri Sep 21 00:30:15 PDT 2012


Hi,
I was having some system trouble earlier this week and started paying
attention to my system logs (/var/log/system.log) to try to narrow down a
cause.  I was immediately bombared by rampant macports related error
messages that come in every 20-30 seconds. A snipped is here:

Sep 21 16:05:06 koguriyama com.apple.launchd[1]
> (org.macports.rsyncd[3196]): Exited with code: 2
> Sep 21 16:05:06 koguriyama com.apple.launchd[1]
> (org.macports.rsyncd[3242]): open("/opt/local/var/log/rsyncd.log", ...): 2:
> No such file or directory
> Sep 21 16:05:06 koguriyama rsyncd[3244]: rsync error: syntax or usage
> error (code 1) at clientserver.c(1056) [Receiver=3.0.9]
> Sep 21 16:05:36 koguriyama com.apple.launchd[1]
> (org.macports.rsyncd[3242]): Exited with code: 2
> Sep 21 16:05:36 koguriyama com.apple.launchd[1]
> (org.macports.rsyncd[3327]): open("/opt/local/var/log/rsyncd.log", ...): 2:
> No such file or directory
> Sep 21 16:05:36 koguriyama rsyncd[3329]: rsync error: syntax or usage
> error (code 1) at clientserver.c(1056) [Receiver=3.0.9]
> Sep 21 16:05:44 koguriyama WindowServer[87]:
> CGXRegisterWindowWithSystemStatusBar: window c already registered
> Sep 21 16:06:06 koguriyama com.apple.launchd[1]
> (org.macports.rsyncd[3327]): Exited with code: 2
> Sep 21 16:06:06 koguriyama com.apple.launchd[1]
> (org.macports.rsyncd[3368]): open("/opt/local/var/log/rsyncd.log", ...): 2:
> No such file or directory
> Sep 21 16:06:06 koguriyama rsyncd[3370]: rsync error: syntax or usage
> error (code 1) at clientserver.c(1056) [Receiver=3.0.9]


This appears to be related to macports dameon services because `ps -ef |
grep macports.rsyncd` revealed a process

`/opt/local/bin/daemondo --label=rsyncd --start-cmd
/opt/local/etc/LaunchDaemons/org.macports.rsyncd/rsyncd.wrapper start ;
.....`

I checked and there was no /opt/local/var/log directory for some mysterious
reason. After creating the directory the "No such file or directory" error
went away, but the other related errors persist. What could be causing this
error "syntax or usage error"? And more importantly, how can it be
corrected? The file /opt/local/var/log/rsyncd.log has now been generated,
but it remains empty. I was previously on OSX 10.8.1, but am currently on
10.8.2.

Any thoughts or help would be greatly appreciated.

-Derek Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120921/65d162c3/attachment.html>


More information about the macports-users mailing list