From owner-freebsd-questions@FreeBSD.ORG Fri Jul 6 22:03:05 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 0F92916A4A5 for ; Fri, 6 Jul 2007 22:03:05 +0000 (UTC) (envelope-from dineshpandian@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.227]) by mx1.freebsd.org (Postfix) with ESMTP id C038313C487 for ; Fri, 6 Jul 2007 22:03:04 +0000 (UTC) (envelope-from dineshpandian@gmail.com) Received: by wr-out-0506.google.com with SMTP id i23so289182wra for ; Fri, 06 Jul 2007 15:03:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Enr/mtZNxB9toWSE6NXuGW7kmA2yhbwlgzmLy4FbUuTFzdokUr0pqrWAZVd7sbakqeoBtdVTQumwl1DxyovSEyVgC0BuQZs0uV0CbMvgGHIaSfhR49f9+zmGG+D+7BRBzO08/3uXNg0DO2fjji3ix3eSHpy4EPBj0vWz/nKPXdc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=AU82cTDGaqNSCPcucTnq+wqrDKiB7V7axBw+UTs/mlqg4wZr3u7wDrJx4Y2rXhh3o46fakNxoooI2Ifos8Grr8tIkVDxW+4HHfPQcMVe/ULpWJG7B40cAfsGcwEnzVTS/g4nPg22xk47Hn6wPcKdq/pUtyEIqingCgNgXrf4plw= Received: by 10.142.111.14 with SMTP id j14mr84107wfc.1183759380041; Fri, 06 Jul 2007 15:03:00 -0700 (PDT) Received: by 10.142.89.5 with HTTP; Fri, 6 Jul 2007 15:02:59 -0700 (PDT) Message-ID: <3ea3ac8f0707061502t141b9933wc5c5307e1a31abee@mail.gmail.com> Date: Sat, 7 Jul 2007 06:02:59 +0800 From: "Dinesh Pandian" To: freebsd-questions@freebsd.org In-Reply-To: <44vecx4lwv.fsf@be-well.ilk.org> MIME-Version: 1.0 References: <3ea3ac8f0707041134o462a9e03od7223643d373ca49@mail.gmail.com> <44fy433t4c.fsf@be-well.ilk.org> <3ea3ac8f0707050827s165d532cs8967f46a7d48d4f3@mail.gmail.com> <44vecx4lwv.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2007 22:03:05 -0000 Sorry about that. Okay. will try downloading something large with fetch with increased verbosity switch. Thanks guys! On 7/6/07, Lowell Gilbert wrote: > > 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. > > -- Regards, Dinesh Pandian, SOLARA Networks.