[pca] PCA not finding patches even with an account tied to a contract.
Ross, John W [NTK]
John.W.Ross at sprint.com
Fri Feb 27 17:14:03 CET 2009
Well,
Martin, maybe something WAS broken yesterday. I tried the patch suggestion you provided--
>Just to make sure whether it's really a problem with authentication, please >run "pca --debug --download 139506-01". If you get:
>
> Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
> HTTP request sent, awaiting response... 403 Forbidden
> 09:30:55 ERROR 403: Forbidden.
>
>then SunSolve does not see that your login is connected to a contract.
--and it successfully downloaded the patch as below. I have had this issue off and on, as I remember it now, so you are probably right, something was just broken (again) at Sun.
# ./pca --debug --download 139506-01
Option download: 1
Option xrefdir: /opt/pca/var
Option patchdir: /opt/pca/patches
Option askauth: 1
Option debug: 1
ARGV: 139506-01
Version: 20090224-01
Config files: ./../etc/pca.conf /etc/pca.conf Using /usr/sfw/bin/wget (1.10.2, 11002) Prerequisites for threads not met, setting threads to 0 Never update Expanded patch list: 139506-01 xref mtime: Thu Feb 26 20:02:41 2009 xref now : Fri Feb 27 15:59:37 2009 xref ctime: Thu Feb 26 20:02:41 2009 xref age : 71816 Downloading xref file to /opt/pca/var/patchdiag.xref Trying http://sunsolve.sun.com/patchdiag.xref (1/1) /usr/sfw/bin/wget "http://sunsolve.sun.com/patchdiag.xref" -O /opt/pca/var/patchdiag.xref
--15:59:37-- http://sunsolve.sun.com/patchdiag.xref
=> `/opt/pca/var/patchdiag.xref'
Resolving sunsolve.sun.com... 192.18.108.40 Connecting to sunsolve.sun.com|192.18.108.40|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,930,232 (2.8M) [text/plain]
100%[====================================>] 2,930,232 403.14K/s
ETA 00:00
15:59:50 (320.05 KB/s) - `/opt/pca/var/patchdiag.xref' saved [2930232/2930232]
old xref age: 2
new xref age: 1
Reading from /usr/bin/showrev -p 2>/dev/null Using /opt/pca/var/patchdiag.xref from Feb/26/09
118833-36 required by 139506: already installed
120011-14 required by 139506: already installed
127127-11 required by 139506: already installed
137137-09 required by 139506: already installed
Host: lnx-geonet1 (SunOS 5.10/Generic_138888-03/sparc/sun4u)
List: 139506-01 (1/84)
Patch IR CR RSB Age Synopsis
------ -- - -- --- ---
-------------------------------------------------------
139506 -- < 01 --- 84 SunOS 5.10: libc.so.1 patch
Looking for 139506-01 (1/1)
Please enter Sun Online Account User: <login removed> Please enter Sun Online Account Password:
Trying http://sunsolve.sun.com/ (1/1)
/usr/sfw/bin/wget
"http://sunsolve.sun.com/pdownload.do?target=139506-01&method=h"
--header="Authorization: Basic cG93ZXJjYXQ6Y2hlZXNlYmFsbHM=" -O /opt/pca/patches/139506-01.tmp
--16:00:12-- http://sunsolve.sun.com/pdownload.do?target=139506-01&method=h
=> `/opt/pca/patches/139506-01.tmp'
Resolving sunsolve.sun.com... 192.18.108.40 Connecting to sunsolve.sun.com|192.18.108.40|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location:
http://sunsolve.sun.com/CDW/139506-01.zip;jsessionid=876ef09145a862e612e36b29972d
[following]
--16:00:13--
http://sunsolve.sun.com/CDW/139506-01.zip;jsessionid=876ef09145a862e612e36b29972d
=> `/opt/pca/patches/139506-01.tmp'
Reusing existing connection to sunsolve.sun.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 1,556,164 (1.5M) [application/download]
100%[====================================>] 1,556,164 279.96K/s
ETA 00:00
16:00:23 (242.01 KB/s) - `/opt/pca/patches/139506-01.tmp' saved [1556164/1556164]
Done
------------------------------------------------------------------------------
Download Summary: 1 total, 1 successful, 0 skipped, 0 failed
--
Bacon is delicious. It's meat candy. - Kevin Davis
Never underestimate the power of bacon - or the Internet. - Tim Engle
Bacon - The food of the gods. - John Ross
John Ross
Network System Administrator II, Network Server Operations (NSO) - Solaris & AIX
Network Applications and Systems Operations (NASO)
Sprint
6550 Sprint Pkwy.
Mailstop: KSOPHR0312-3B506
Overland Park, KS 66251
Office: 913-794-5591
Cell: 913-439-9792
Email: mailto:john.w.ross at sprint.com
-----Original Message-----
From: pca-bounces at lists.univie.ac.at [mailto:pca-bounces at lists.univie.ac.at] On Behalf Of Martin Paul
Sent: Friday, February 27, 2009 5:27 AM
To: PCA (Patch Check Advanced) Discussion
Subject: Re: [pca] PCA not finding patches even with an account tied to a contract.
Jan Holzhueter wrote:
> Just run into the same problem. But for me I just can't get old patches
> like 118825-01. But I can't get them form the webpage either :(
> I can download never Patches though e.g. 140781-01
Yes, something's broken. I get "403 Forbidden" for e.g. both these:
118825 -- < 02 --- 280 Obsoleted by: 138216-01 SunOS 5.10_x86: sort patch
138216 -- < 01 --- 108 SunOS 5.10_x86: sort patch
And my Sun Online Account does have a valid contract for sure. Sigh.
Martin.
This e-mail may contain Sprint Nextel Company proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message.
More information about the pca
mailing list