logging problems

Bartick, Brett Bbartick at us.nomura.com
Mon Apr 10 19:23:06 GMT 2006


Hi Wayne!
I downloaded the latest CVS version (rsync-HEAD-20060406-0751GMT.tar.gz at the time) and gave it a try. It seemed to intermittently work. Reading through this thread and your conversations with Julian Pace Ross, I believe I am having the same problem he is. I downloaded the new CVS build (rsync-HEAD-20060408-1643GMT.tar.gz) and that seemed to fix the problem I was having! Upon some further investigation, I found out how I could easily duplicate the problem. If the source machine I was rsyning from couldn't be resolved on the destination machine running rsyncd from inetd.conf, I wouldn't get any output in the log file. As soon as I added an entry in /etc/hosts, it would log again.


2006/04/10 15:05:40 [26642] name lookup failed for XXX.XXX.XXX.XXX: DNS temporary failure
2006/04/10 15:05:40 [26642] connect from UNKNOWN (XXX.XXX.XXX.XXX)
2006/04/10 15:05:40 [26642] rsync on ABC-upload from jsmith at unknown (XXX.XXX.XXX.XXX)
2006/04/10 15:05:40 [26642] sent 141 bytes  received 117 bytes  total size 36352

Hope this helps info helps.

Brett

-----Original Message-----
From: Wayne Davison [mailto:wayned at samba.org]
Sent: Thursday, April 06, 2006 4:05 AM
To: Bartick, Brett
Cc: rsync at lists.samba.org
Subject: Re: logging problems


On Wed, Apr 05, 2006 at 07:47:03PM -0400, Bartick, Brett wrote:
> When I run rsync in daemon mode invoked at a command prompt, it does
> log information in my configured log file (i.e. /var/log/rsyncd.log).
> But when I invoke it via inetd with an entry in inetd.conf, it does
> not log any information.

It does log, just not to the named log file (check your syslog).  This
was discussed on the list recently in the context of a single-use daemon
over ssh, but the bug is the same.  One patch is here:

    http://lists.samba.org/archive/rsync/2006-March/015143.html

You'll also find this is fixed in the latest CVS version (which is
available in the latest "nightly" tar file).

..wayne..


PLEASE READ: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please delete it and all copies from your system, destroy any hard copies and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Nomura Holding America Inc., Nomura Securities International, Inc, and their respective subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state the views of such entity. Unless otherwise stated, any pricing information in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation.


More information about the rsync mailing list