On Sat, Jul 12, 2008 at 07:32:07PM +1200, Richard Toohey wrote:
> On 12/07/2008, at 12:31 PM, Daniel Ouellet wrote:
>
>> Ivo van der Sangen wrote:
>>> When trying to install texlive_texmf-minimal-2007p2.tgz I run into 
>>> problems. The
>>> pkg_add script does not terminate. The progress bar stops at 100% and 
>>> there are
>>> still 3 processes running: perl, ftp and gzip.
>>
>> It happen sometime when dependency are install. The FTP hang as it doesn't 
>> close the connection properly.
>>
>> Just look the process and kill ONLY the ftp one when it's at 100% and do 
>> not close by itself. This will allow the rest of the regular pkg_add to 
>> continue as usual.
>>
>> Then the install process will continue as normal and get the next 
>> dependency if any as nothing unusual happened.
>>
>> Not a big deal when you know.
>>
>> Hope this help you.
>>
>> Best,
>>
>> Daniel
>
> If it is FTP (and these are the symptoms I've seen when it has been
> an FTP issue) then ...
>
> My experience is that your FTP *control* channel is timed out, because the 
> FTP
> takes over a certain time (e.g. 10 minutes.)  Your FTP *data* channel is 
> busy,
> but dumb firewalls (usually M$ in my experience) see nothing happening on 
> the
> control channel, and kill it.  The data channel finishes the transfer, but 
> your control
> channel has gone ... so hang ...
>
> It's OpenBSD, so use the excellent docs ...
>
> http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_add&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html
>
> Near the bottom ...
>
> FTP_KEEPALIVE
>                   Have ftp(1) send a byte after every FTP_KEEPALIVE 
> seconds,
>                   so that incorrectly configured network equipment won't 
> ag-
>                   gressively drop it.  See ``ftp -k'' for more information.
>
> This will keep the control channel alive, so when the data channel is 
> finished,
> the control channel is still alive & bad things don't happen.
>
> Thanks.
In fact, this has been turned on by default after 4.3, so in current this
should no longer be an issue at all.

I'm going to remove the button from pkg_add soon, this does remind me to
do it...

Reply via email to