[pca] 401 Unauthorized

Martin Paul martin at par.univie.ac.at
Wed Dec 15 12:22:20 CET 2010


Pierre-Yves.Thillier at infineon.com wrote:
> I may have missed some emails about this, but this morning I noticed that we
> were having the 401 problem.
> 
> I had previously registered for an MOS account. Test downloads from Oracle
> with our new account worked fine.

Have you tested both before and after the last weekend, where the transition 
happenend? There were reports from people who said that it worked before 10-12th 
Dec, but failed after.

> Here is what I can see when I look into my MOS account :

Looks fine.

Let's try a direct download with wget, outside of PCA to isolate the problem. 
Try a command like this (with your real MOS user/passwd of course):

/opt/csw/bin/wget --http-user='user at domain.org' --http-passwd='secret' 
--no-check-certificate --execute 
https_proxy=http://proxyconf.vlb.infineon.com:81 
https://getupdates.oracle.com/all_unsigned/119254-78.zip -O 119254-78.zip

If that doesn't work, the problem is outside of PCA (wget or Oracle). If it does 
work we'll concentrate on your PCA setup - at first double-check that you set 
user and passwd correctly; for a beginning, try to not specify them in a 
pca.conf file or on the command line but let PCA ask for it instead.

> Found /usr/sfw/bin/wget (1.10.2, 11002, https)

If possible, you might want to install the most recent wget patch (125215-03). 
This should up /usr/sfw/bin/wget to v1.12. I don't think that this is the reason 
for the problems, though - I've tested various versions of wget with Oracle's 
server, and found no problems. Plus, currently PCA is using this one anyway:

> Found /opt/csw/bin/wget (1.11, 11100, https)
> Using /opt/csw/bin/wget

This will change automatically when /usr/sfw/bin/wget has higher version.

Martin.



More information about the pca mailing list