[pca] Error: Failed (Error 401: Unauthorized)

2014-04-02 Thread Riedel, Matthew
Hi Everyone,

Before I start chasing my tail, I’m wondering if anyone else is having problems 
downloading patches from Oracle today? I had no issues last week with the 
20130502-01 version of pca on another machine. I had issues this morning, both 
with the latest (20140115-01) and previous (20130502-01) versions…

I /can/ download the patch manually using support.oracle.com… Sometimes Oracle 
just “breaks” and the issue will sometimes resolve itself. Just want to make 
sure it’s not just me. I have an example verbose output pasted below- limited 
to one patch for brevity.

Thanks,
Matt

[/var/patch]{518}# pca -V -a -d --minage=7 119254-89
Option download: 1
Option patchdir: /var/patch/.
Option askauth: 1
Option minage: 7
Option debug: 1
Command: /usr/local/bin/pca
ARGV: 119254-89
Version: 20140115-01
CWD: /var/patch
Found /usr/sfw/bin/wget (1.12, 11200, https)
Using /usr/sfw/bin/wget
Found /usr/bin/uname
Prerequisites for threads not met, setting threads to 0
Never update
Expanded patch list: 119254-89
xref mtime: Tue Apr  1 21:38:16 2014
xref now  : Wed Apr  2 10:41:16 2014
xref ctime: Wed Apr  2 10:29:58 2014
xref age  : 678
Local file /var/tmp/patchdiag.xref is up to date
osname from uname: SunOS
Reading from /usr/bin/showrev -p  2/dev/null
patchdiag.xref size: 2360990
Using /var/tmp/patchdiag.xref from Apr/01/14
All operands are fully qualified patch IDs plus revisions
Host: mulberry (SunOS 5.10/Generic_14-04/sparc/sun4v)
List: 119254-89 (1/0)

Patch  IR   CR RSB Age Synopsis
-- -- - -- --- --- ---
119254 88  89 RS-  46 SunOS 5.10: Install and Patch Utilities Patch

Looking for 119254-89 (1/1)
Trying Oracle

Please enter My Oracle Support Account User: username
Please enter My Oracle Support Account Password: password

Trying https://getupdates.oracle.com/ (1/1)
src: oracle, srcurl: 
Adding to /tmp/pca.315534: header=Authorization: Basic base64-user-passwd
/usr/sfw/bin/wget --progress=dot:binary --ca-certificate=/usr/local/bin/pca 
--secure-protocol=TLSv1 -O /var/patch/./119254-89.zip 
https://getupdates.oracle.com/all_unsigned/119254-89.zip;
--2014-04-02 10:41:30--  
https://getupdates.oracle.com/all_unsigned/119254-89.zip
Resolving getupdates.oracle.com... 141.146.44.51
Connecting to getupdates.oracle.com|141.146.44.51|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Cookie coming from updates.oracle.com attempted to set domain to 
updates.oracle.com
Location: 
https://login.oracle.com/pls/orasso/orasso.wwsso_app_admin.ls_login?site2pstoretoken=v1.2~E4066BF0~0A690B1EA545A69920B32DEFE20BA690E6D808C114CB73E0983D0238E5BB0948459636E6648BA89B76E0D0D058C509CFC21FCD0A7E63E5748AB2EB2AFDE5D60FCBFAA2B5B7470503D709D72F983FA845FA4597B6DB946AB50756AF0550ECDDD7C8EEEDB7CA15D81892CBEBFC072BA20C4510662480E903C93C21589AECF9DF5047BCB2A9A744550EDF1B5F2C725E08FDBED6B2EDFB0F216E466B69E94BB91493A5928242F94B4EB4DDB084AF88AC529A4D6A895C5347CAE8
 [following]
--2014-04-02 10:41:30--  
https://login.oracle.com/pls/orasso/orasso.wwsso_app_admin.ls_login?site2pstoretoken=v1.2~E4066BF0~0A690B1EA545A69920B32DEFE20BA690E6D808C114CB73E0983D0238E5BB0948459636E6648BA89B76E0D0D058C509CFC21FCD0A7E63E5748AB2EB2AFDE5D60FCBFAA2B5B7470503D709D72F983FA845FA4597B6DB946AB50756AF0550ECDDD7C8EEEDB7CA15D81892CBEBFC072BA20C4510662480E903C93C21589AECF9DF5047BCB2A9A744550EDF1B5F2C725E08FDBED6B2EDFB0F216E466B69E94BB91493A5928242F94B4EB4DDB084AF88AC529A4D6A895C5347CAE8
Resolving login.oracle.com... 209.17.4.8
Connecting to login.oracle.com|209.17.4.8|:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.
Removing /tmp/pca.315534
Failed (Error 401: Unauthorized)
Failed (patch not found)
--
Download Summary: 1 total, 0 successful, 0 skipped, 1 failed


Re: [pca] Error: Failed (Error 401: Unauthorized)

2014-04-02 Thread Glen Gunselman
I've successfully downloaded to three different servers this morning using the 
following:

sudo /var/tmp/pca --download 119254 121430 --xrefdir=/var/tmp/pcatmp 
--patchdir=/var/tmp/pcatmp


Glen Gunselman

-Original Message-
From: pca-boun...@lists.univie.ac.at [mailto:pca-boun...@lists.univie.ac.at] On 
Behalf Of Riedel, Matthew
Sent: Wednesday, April 02, 2014 10:01 AM
To: pca@lists.univie.ac.at
Subject: [pca] Error: Failed (Error 401: Unauthorized)

Hi Everyone,

Before I start chasing my tail, I'm wondering if anyone else is having problems 
downloading patches from Oracle today? I had no issues last week with the 
20130502-01 version of pca on another machine. I had issues this morning, both 
with the latest (20140115-01) and previous (20130502-01) versions...

I /can/ download the patch manually using support.oracle.com... Sometimes 
Oracle just breaks and the issue will sometimes resolve itself. Just want to 
make sure it's not just me. I have an example verbose output pasted below- 
limited to one patch for brevity.

Thanks,
Matt

[/var/patch]{518}# pca -V -a -d --minage=7 119254-89
Option download: 1
Option patchdir: /var/patch/.
Option askauth: 1
Option minage: 7
Option debug: 1
Command: /usr/local/bin/pca
ARGV: 119254-89
Version: 20140115-01
CWD: /var/patch
Found /usr/sfw/bin/wget (1.12, 11200, https)
Using /usr/sfw/bin/wget
Found /usr/bin/uname
Prerequisites for threads not met, setting threads to 0
Never update
Expanded patch list: 119254-89
xref mtime: Tue Apr  1 21:38:16 2014
xref now  : Wed Apr  2 10:41:16 2014
xref ctime: Wed Apr  2 10:29:58 2014
xref age  : 678
Local file /var/tmp/patchdiag.xref is up to date
osname from uname: SunOS
Reading from /usr/bin/showrev -p  2/dev/null
patchdiag.xref size: 2360990
Using /var/tmp/patchdiag.xref from Apr/01/14
All operands are fully qualified patch IDs plus revisions
Host: mulberry (SunOS 5.10/Generic_14-04/sparc/sun4v)
List: 119254-89 (1/0)

Patch  IR   CR RSB Age Synopsis
-- -- - -- --- --- ---
119254 88  89 RS-  46 SunOS 5.10: Install and Patch Utilities Patch

Looking for 119254-89 (1/1)
Trying Oracle

Please enter My Oracle Support Account User: username
Please enter My Oracle Support Account Password: password

Trying https://getupdates.oracle.com/ (1/1)
src: oracle, srcurl: 
Adding to /tmp/pca.315534: header=Authorization: Basic base64-user-passwd
/usr/sfw/bin/wget --progress=dot:binary --ca-certificate=/usr/local/bin/pca 
--secure-protocol=TLSv1 -O /var/patch/./119254-89.zip 
https://getupdates.oracle.com/all_unsigned/119254-89.zip;
--2014-04-02 10:41:30--  
https://getupdates.oracle.com/all_unsigned/119254-89.zip
Resolving getupdates.oracle.com... 141.146.44.51
Connecting to getupdates.oracle.com|141.146.44.51|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Cookie coming from updates.oracle.com attempted to set domain to 
updates.oracle.com
Location: 
https://login.oracle.com/pls/orasso/orasso.wwsso_app_admin.ls_login?site2pstoretoken=v1.2~E4066BF0~0A690B1EA545A69920B32DEFE20BA690E6D808C114CB73E0983D0238E5BB0948459636E6648BA89B76E0D0D058C509CFC21FCD0A7E63E5748AB2EB2AFDE5D60FCBFAA2B5B7470503D709D72F983FA845FA4597B6DB946AB50756AF0550ECDDD7C8EEEDB7CA15D81892CBEBFC072BA20C4510662480E903C93C21589AECF9DF5047BCB2A9A744550EDF1B5F2C725E08FDBED6B2EDFB0F216E466B69E94BB91493A5928242F94B4EB4DDB084AF88AC529A4D6A895C5347CAE8
 [following]
--2014-04-02 10:41:30--  
https://login.oracle.com/pls/orasso/orasso.wwsso_app_admin.ls_login?site2pstoretoken=v1.2~E4066BF0~0A690B1EA545A69920B32DEFE20BA690E6D808C114CB73E0983D0238E5BB0948459636E6648BA89B76E0D0D058C509CFC21FCD0A7E63E5748AB2EB2AFDE5D60FCBFAA2B5B7470503D709D72F983FA845FA4597B6DB946AB50756AF0550ECDDD7C8EEEDB7CA15D81892CBEBFC072BA20C4510662480E903C93C21589AECF9DF5047BCB2A9A744550EDF1B5F2C725E08FDBED6B2EDFB0F216E466B69E94BB91493A5928242F94B4EB4DDB084AF88AC529A4D6A895C5347CAE8
Resolving login.oracle.com... 209.17.4.8
Connecting to login.oracle.com|209.17.4.8|:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.
Removing /tmp/pca.315534
Failed (Error 401: Unauthorized)
Failed (patch not found)
--
Download Summary: 1 total, 0 successful, 0 skipped, 1 failed



Re: [pca] Error: Failed (Error 401: Unauthorized)

2014-04-02 Thread Riedel, Matthew
Well, that figures.. as soon as I posted that, it started working again… I love 
Oracle…

Thanks for the reply Glen,
Matt

--
Matthew Riedel
CITS Infrastructure
mrie...@umaryland.edu
+1-410-706-4860

On Apr 2, 2014, at 11:01 AM, Riedel, Matthew mrie...@umaryland.edu wrote:

 Hi Everyone,
 
 Before I start chasing my tail, I’m wondering if anyone else is having 
 problems downloading patches from Oracle today? I had no issues last week 
 with the 20130502-01 version of pca on another machine. I had issues this 
 morning, both with the latest (20140115-01) and previous (20130502-01) 
 versions…
 
 I /can/ download the patch manually using support.oracle.com… Sometimes 
 Oracle just “breaks” and the issue will sometimes resolve itself. Just want 
 to make sure it’s not just me. I have an example verbose output pasted below- 
 limited to one patch for brevity.
 
 Thanks,
 Matt
 
 [/var/patch]{518}# pca -V -a -d --minage=7 119254-89
 Option download: 1
 Option patchdir: /var/patch/.
 Option askauth: 1
 Option minage: 7
 Option debug: 1
 Command: /usr/local/bin/pca
 ARGV: 119254-89
 Version: 20140115-01
 CWD: /var/patch
 Found /usr/sfw/bin/wget (1.12, 11200, https)
 Using /usr/sfw/bin/wget
 Found /usr/bin/uname
 Prerequisites for threads not met, setting threads to 0
 Never update
 Expanded patch list: 119254-89
 xref mtime: Tue Apr  1 21:38:16 2014
 xref now  : Wed Apr  2 10:41:16 2014
 xref ctime: Wed Apr  2 10:29:58 2014
 xref age  : 678
 Local file /var/tmp/patchdiag.xref is up to date
 osname from uname: SunOS
 Reading from /usr/bin/showrev -p  2/dev/null
 patchdiag.xref size: 2360990
 Using /var/tmp/patchdiag.xref from Apr/01/14
 All operands are fully qualified patch IDs plus revisions
 Host: mulberry (SunOS 5.10/Generic_14-04/sparc/sun4v)
 List: 119254-89 (1/0)
 
 Patch  IR   CR RSB Age Synopsis
 -- -- - -- --- --- ---
 119254 88  89 RS-  46 SunOS 5.10: Install and Patch Utilities Patch
 
 Looking for 119254-89 (1/1)
 Trying Oracle
 
 Please enter My Oracle Support Account User: username
 Please enter My Oracle Support Account Password: password
 
 Trying https://getupdates.oracle.com/ (1/1)
 src: oracle, srcurl: 
 Adding to /tmp/pca.315534: header=Authorization: Basic base64-user-passwd
 /usr/sfw/bin/wget --progress=dot:binary --ca-certificate=/usr/local/bin/pca 
 --secure-protocol=TLSv1 -O /var/patch/./119254-89.zip 
 https://getupdates.oracle.com/all_unsigned/119254-89.zip;
 --2014-04-02 10:41:30--  
 https://getupdates.oracle.com/all_unsigned/119254-89.zip
 Resolving getupdates.oracle.com... 141.146.44.51
 Connecting to getupdates.oracle.com|141.146.44.51|:443... connected.
 HTTP request sent, awaiting response... 301 Moved Permanently
 Cookie coming from updates.oracle.com attempted to set domain to 
 updates.oracle.com
 Location: 
 https://login.oracle.com/pls/orasso/orasso.wwsso_app_admin.ls_login?site2pstoretoken=v1.2~E4066BF0~0A690B1EA545A69920B32DEFE20BA690E6D808C114CB73E0983D0238E5BB0948459636E6648BA89B76E0D0D058C509CFC21FCD0A7E63E5748AB2EB2AFDE5D60FCBFAA2B5B7470503D709D72F983FA845FA4597B6DB946AB50756AF0550ECDDD7C8EEEDB7CA15D81892CBEBFC072BA20C4510662480E903C93C21589AECF9DF5047BCB2A9A744550EDF1B5F2C725E08FDBED6B2EDFB0F216E466B69E94BB91493A5928242F94B4EB4DDB084AF88AC529A4D6A895C5347CAE8
  [following]
 --2014-04-02 10:41:30--  
 https://login.oracle.com/pls/orasso/orasso.wwsso_app_admin.ls_login?site2pstoretoken=v1.2~E4066BF0~0A690B1EA545A69920B32DEFE20BA690E6D808C114CB73E0983D0238E5BB0948459636E6648BA89B76E0D0D058C509CFC21FCD0A7E63E5748AB2EB2AFDE5D60FCBFAA2B5B7470503D709D72F983FA845FA4597B6DB946AB50756AF0550ECDDD7C8EEEDB7CA15D81892CBEBFC072BA20C4510662480E903C93C21589AECF9DF5047BCB2A9A744550EDF1B5F2C725E08FDBED6B2EDFB0F216E466B69E94BB91493A5928242F94B4EB4DDB084AF88AC529A4D6A895C5347CAE8
 Resolving login.oracle.com... 209.17.4.8
 Connecting to login.oracle.com|209.17.4.8|:443... connected.
 HTTP request sent, awaiting response... 401 Unauthorized
 Authorization failed.
 Removing /tmp/pca.315534
 Failed (Error 401: Unauthorized)
 Failed (patch not found)
 --
 Download Summary: 1 total, 0 successful, 0 skipped, 1 failed