From owner-freebsd-stable@FreeBSD.ORG Mon Dec 14 07:17:18 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1A831065695 for ; Mon, 14 Dec 2009 07:17:18 +0000 (UTC) (envelope-from usselmann.m@icg-online.de) Received: from oslo074.server4you.de (oslo074.server4you.de [62.75.178.74]) by mx1.freebsd.org (Postfix) with ESMTP id 2752D8FC1D for ; Mon, 14 Dec 2009 07:17:17 +0000 (UTC) Received: (qmail 24137 invoked from network); 14 Dec 2009 08:17:21 +0100 Received: from p54b23b42.dip.t-dialin.net (HELO icg-pc209.icg-pc213) (84.178.59.66) by oslo074.server4you.de with SMTP; 14 Dec 2009 08:17:21 +0100 Date: Mon, 14 Dec 2009 08:17:16 +0100 From: Manfred Usselmann To: David Horn Message-Id: <20091214081716.f6e96b85.usselmann.m@icg-online.de> In-Reply-To: <25ff90d60912132123x77198b1o6bfad3bffe0d01a0@mail.gmail.com> References: <20091213103237.d01b51f2.usselmann.m@icg-online.de> <25ff90d60912132123x77198b1o6bfad3bffe0d01a0@mail.gmail.com> Organization: ICG IT Consulting GmbH X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.3; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: duplicity ftp backup / ncftp no longer working since 8.0-Release X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 07:17:18 -0000 On Mon, 14 Dec 2009 00:23:17 -0500 David Horn wrote: > On Sun, Dec 13, 2009 at 4:32 AM, Manfred Usselmann > wrote: > > > > since my upgrade to 8.0-RELEASE my backup solution with duplicity is no > > longer working because ncftpput fails. > > > > The error message from ncftp 3.2.2_1: Could not read reply from control > > connection -- timed out. > > > > S.a. http://www.freebsd.org/cgi/query-pr.cgi?pr=140934 > > > > Does anybody know a solution or a workaround? > > I have seen this with ncftpput as well, but at least in my case, it > was a warning, and not a fatal error. Check your ftp server to see if > the backup file has indeed been transferred. The file is getting transferred, but duplicity assumes that it is not and abends. > I believe that there is something unusual going on with the checking > on select() return in ncftp3. If you change every instance of > select() result checking in ftp/ncftp3 from "==1" to ">=1" the problem > seems to go away. > > result = select(sfd + 1, NULL, SELECT_TYPE_ARG234 &ss, NULL, > SELECT_TYPE_ARG5 &tv); > -if (result == 1) { > +if (result >= 1) { I will try this. Thanks! Manfred -- Manfred Usselmann ICG IT Consulting GmbH, Kelkheim