From owner-freebsd-questions@FreeBSD.ORG Fri Jul 6 15:00:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 08D2216A46B for ; Fri, 6 Jul 2007 15:00:35 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id D7E2C13C45D for ; Fri, 6 Jul 2007 15:00:34 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 27239 invoked from network); 6 Jul 2007 15:00:33 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 6 Jul 2007 15:00:33 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 753F22842E; Fri, 6 Jul 2007 11:00:32 -0400 (EDT) To: "Dinesh Pandian" References: <3ea3ac8f0707041134o462a9e03od7223643d373ca49@mail.gmail.com> <44fy433t4c.fsf@be-well.ilk.org> <3ea3ac8f0707050827s165d532cs8967f46a7d48d4f3@mail.gmail.com> From: Lowell Gilbert Date: Fri, 06 Jul 2007 11:00:32 -0400 In-Reply-To: <3ea3ac8f0707050827s165d532cs8967f46a7d48d4f3@mail.gmail.com> (Dinesh Pandian's message of "Thu\, 5 Jul 2007 23\:27\:08 +0800") Message-ID: <44vecx4lwv.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: fetch hangs during Make, portupgrade -a, or portmanager -u.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2007 15:00:35 -0000 Please don't top-post. "Dinesh Pandian" writes: > On 7/5/07, Lowell Gilbert wrote: >> >> "Dinesh Pandian" writes: >> >> > Please help me out with a really annoying little problem that bugs me >> > everytime I try to install applications from ports. >> > >> > When I try to run portupgrade -a or portmanager -u, >> > when Make fetches the files from the servers, fetch >> > normally hangs randomly sometime through the downloading >> > of the distfile. The only solution I've thought about is aborting >> > the upgrade procedure and issuing the same command again, >> > hoping that fetch resumes where it left off. >> > >> > In bigger files, > 5MB, I'd have to repeat this process several >> > times to download a single distfile. >> > >> > I've tried setting the FTP_PASSIVE_MODE env ON and OFF >> > to no avail. >> > >> > I can't seem to find a problem with the internet connection >> > as httpd and ftpd works perfectly fine! >> >> Is there a firewall in the way? NAT? >> >> Have you tried using fetch(1) from the command line, with increased >> verbosity level? >> > No firewall/NAT along the path. It's a direct connection. > I'm pretty new to freebsd so I'm guessing that I did > something wrong with network config or something. :) > > -- Dinesh Possibly, but that would tend to make the transfer not start at all. Try to get more information from the download process, either by increasing the verbosity of the fetch(1) program, by comparing to other FTP download methods, by tracing the traffic, or better yet all of the above.