SCIENTIFIC-LINUX-USERS Archives

February 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jean-Michel Barbet <[log in to unmask]>
Reply To:
Jean-Michel Barbet <[log in to unmask]>
Date:
Wed, 1 Feb 2006 16:52:13 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (62 lines)
Troy Dawson wrote:
[...]
> Well ... it seems that there is already a fix in place for "REST not 
> supported" error ... BUT ... it is expecting a return code of 501 and 
> not 502 which you are getting.
> 
> For now, see if switching the line
> 
>             except ftplib.error_perm, reason:
>                 if str(reason)[:3] == '501':
> 
> to
> 
>             except ftplib.error_perm, reason:
>                 if str(reason)[:3] == '502':
> 
> and see what you get.

Thanks Troy,

Did it tried it. Here is what I get :

Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for httpd-suexec to pack into transaction set.
ftp://mirror.in2p3.fr/pub/linux/scientific/42/i386/errata/SL/RPMS/httpd-suexec-2.0.52-22.ent.i386.rpm: 
[Errno 4] IOError: [Errno ftp error] (111, 'Connection refused')
Trying other mirror.
Error: failure: httpd-suexec-2.0.52-22.ent.i386.rpm from sl-errata: 
[Errno 256] No more mirrors to try.

Wget worked...

We do have an antiviral protection on ftp flows. I have hand on it,
so I tried to disable ftp inspection.

=> It works much better, so your clue is right.

I never had this problem with older SL distro (3.0.2,3.0.3).

Why do I get a 502 error instead of 501 ?

Any way of solving this in a clean manner ? (I mean avoiding
patching byterange.py) ?

Thank you very much.

 > Sorry for chuckling, it just reminds me of some old tv series.  "missed
 > it by *that* much"

'xcuse me, being french, I am suffering of cultural blindness
and I am not able to figure out what you are talking about :-[
What TV serie ?

JM
-- 
------------------------------------------------------------------------
Jean-michel BARBET                    | Tel: +33 (0)2 51 85 84 86
Laboratoire SUBATECH Nantes France    | Fax: +33 (0)2 51 85 84 79
CNRS-IN2P3/Ecole des Mines/Universite | E-Mail: [log in to unmask]
------------------------------------------------------------------------

ATOM RSS1 RSS2