From owner-freebsd-stable@FreeBSD.ORG Mon Dec 14 05:52:45 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 E75ED106566B for ; Mon, 14 Dec 2009 05:52:45 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from mail-fx0-f228.google.com (mail-fx0-f228.google.com [209.85.220.228]) by mx1.freebsd.org (Postfix) with ESMTP id 7ED198FC12 for ; Mon, 14 Dec 2009 05:52:45 +0000 (UTC) Received: by fxm28 with SMTP id 28so1030404fxm.13 for ; Sun, 13 Dec 2009 21:52:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=+OIrn1OTQKLo0B8Wie8BhCZARtdf9qVddtuWdCD2pj0=; b=WjbSKzCZRdWk1QndyLRhmYQDSdPp3XjK/rY+L8IKuov7qvuAxFMUljHjXv6fEa4G6L YALnFUIDvz5bCIydhhJeL3b8o4vtrQxYB9HTPPjcPXw383F2il/JCskATgKHaCaQd1UE wnwdw6zIEZoSIKgL5J/0yrWMH0kyYWPb//uV4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=dTHPlcLUkxFJyIjt00Mj5n+RCeyMmzwRl3Z9zobxYCUVOg+ueg2DumAXfQJQvG15SC CpYsmp9U2ZC5M8iGFKLN7ffvVSlcs6jsL/rjZZHFaMbAoPsZAmh202CcDK3QcT4OokkR LzxfAPwI9b60x07XAUBMp80IZOrpBJyJLdKDQ= MIME-Version: 1.0 Received: by 10.239.183.26 with SMTP id s26mr456588hbg.179.1260768197268; Sun, 13 Dec 2009 21:23:17 -0800 (PST) In-Reply-To: <20091213103237.d01b51f2.usselmann.m@icg-online.de> References: <20091213103237.d01b51f2.usselmann.m@icg-online.de> Date: Mon, 14 Dec 2009 00:23:17 -0500 Message-ID: <25ff90d60912132123x77198b1o6bfad3bffe0d01a0@mail.gmail.com> From: David Horn To: Manfred Usselmann Content-Type: text/plain; charset=ISO-8859-1 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 05:52:46 -0000 On Sun, Dec 13, 2009 at 4:32 AM, Manfred Usselmann wrote: > Hi, > > 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. 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) { Good Luck. ---Dave H