fetch hangs during Make, portupgrade -a, or portmanager -u..
freebsd-questions-local at be-well.ilk.org
Fri Jul 6 15:00:35 UTC 2007
Please don't top-post.
"Dinesh Pandian" <dineshpandian at gmail.com> writes:
> On 7/5/07, Lowell Gilbert <freebsd-questions-local at be-well.ilk.org> wrote:
>> "Dinesh Pandian" <dineshpandian at gmail.com> 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.
More information about the freebsd-questions