Re: fetch hangs during Make, portupgrade -a, or portmanager -u..

2007-07-06 Thread Lowell Gilbert
Please don't top-post.

Dinesh Pandian [EMAIL PROTECTED] writes:

 On 7/5/07, Lowell Gilbert [EMAIL PROTECTED] wrote:

 Dinesh Pandian [EMAIL PROTECTED] 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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fetch hangs during Make, portupgrade -a, or portmanager -u..

2007-07-06 Thread Dinesh Pandian

Sorry about that.

Okay. will try downloading something large with fetch
with increased verbosity switch. Thanks guys!

On 7/6/07, Lowell Gilbert [EMAIL PROTECTED] wrote:


Please don't top-post.

Dinesh Pandian [EMAIL PROTECTED] writes:

 On 7/5/07, Lowell Gilbert [EMAIL PROTECTED]
wrote:

 Dinesh Pandian [EMAIL PROTECTED] 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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fetch hangs during Make, portupgrade -a, or portmanager -u..

2007-07-05 Thread RW
On Wed, 4 Jul 2007 22:42:44 +0100
RW [EMAIL PROTECTED] wrote:

 On Thu, 5 Jul 2007 02:34:16 +0800
 Dinesh Pandian [EMAIL PROTECTED] wrote:
 
  Good day all!
  
  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.
 
 
 This is a bit of a long-shot, but if you are using pf, and the
 relevant rule has a modulate state, try changing it to keep state 
 
 Otherwise, what is the output of 
 
 make  -V FETCH_CMD

Sorry, forgot to mention, you have to be in a port directory for that to
work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fetch hangs during Make, portupgrade -a, or portmanager -u..

2007-07-05 Thread Lowell Gilbert
Dinesh Pandian [EMAIL PROTECTED] 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?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fetch hangs during Make, portupgrade -a, or portmanager -u..

2007-07-05 Thread Dinesh Pandian

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

On 7/5/07, Lowell Gilbert [EMAIL PROTECTED] wrote:


Dinesh Pandian [EMAIL PROTECTED] 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?





--
Regards,
Dinesh Pandian,
SOLARA Networks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fetch hangs during Make, portupgrade -a, or portmanager -u..

2007-07-04 Thread RW
On Thu, 5 Jul 2007 02:34:16 +0800
Dinesh Pandian [EMAIL PROTECTED] wrote:

 Good day all!
 
 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.


This is a bit of a long-shot, but if you are using pf, and the relevant
rule has a modulate state, try changing it to keep state 

Otherwise, what is the output of 

make  -V FETCH_CMD
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]