Hi,

I have some strange issue with pca and my sunsolve account. The
problem is, that I cannot download certain patches through pca but
when I log into sunsolve manually I can downlad the patch without a
hazzle.

I have pca running as proxy. When I try to download a patch, for
example 142284-01, I recieve on the proxy side in pca-proxy-debug.txt
the following error:

------8<---------
Tue Aug 18 16:38:07 2009: Option xrefdir: /var/tmp/pca
Tue Aug 18 16:38:07 2009: Option patchdir: /pca/repository
Tue Aug 18 16:38:07 2009: Option user: [email protected]
Tue Aug 18 16:38:07 2009: Option passwd: secret
Tue Aug 18 16:38:07 2009: Option wget: /usr/local/bin/wget
Tue Aug 18 16:38:07 2009: Option wgetproxy: http://proxy.company.com:80/
Tue Aug 18 16:38:07 2009: Option debug: 1
Tue Aug 18 16:38:07 2009: Option proxy: 142284-01
Tue Aug 18 16:38:07 2009: ARGV: 142284-01
Tue Aug 18 16:38:07 2009: Version: 20090723-01
Tue Aug 18 16:38:07 2009: Config files: /etc/pca-proxy.conf
Tue Aug 18 16:38:07 2009: Using /usr/local/bin/wget (1.11.4, 11104, https)
Tue Aug 18 16:38:07 2009: Prerequisites for threads not met, setting
threads to 0
Tue Aug 18 16:38:07 2009: Never update
Tue Aug 18 16:38:07 2009: Requested file: 142284-01
Tue Aug 18 16:38:07 2009: Trying https://sunsolve.sun.com/ (1/1)
Tue Aug 18 16:38:07 2009: /usr/local/bin/wget
"https://sunsolve.sun.com/pdownload.do?target=142284-01&method=h";
--execute https_proxy=http://proxy.company.com:80/
--ca-certificate=/var/apache2/cgi-bin/pca-proxy.cgi
--header="Authorization: Basic
Z2Vvcmcuc2Nod2FyekBkaGwuY29tOnByOHYwbCE=" -O
/pca/repository/142284-01.tmp >>/tmp/pca-proxy-debug.txt 2>&1
--2009-08-18 16:38:07--
https://sunsolve.sun.com/pdownload.do?target=142284-01&method=h
Resolving proxy.company.com... 10.195.0.225
Connecting to proxy.company.com|10.195.0.225|:80... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Location: https://getupdates2.sun.com/all_unsigned/142284-01.zip [following]
--2009-08-18 16:38:08--  https://getupdates2.sun.com/all_unsigned/142284-01.zip
Connecting to inet.dp-itsolutions.de|10.195.0.225|:80... connected.
Proxy request sent, awaiting response... 403 You are not entitled to
retrieve this content.
2009-08-18 16:38:11 ERROR 403: You are not entitled to retrieve this content..

Tue Aug 18 16:38:11 2009: Failed
Tue Aug 18 16:38:11 2009: Failed (patch not found)
Tue Aug 18 16:38:11 2009: Cleanup
------>8---------

On the Server that connects to the proxy to download the patch the
error messages are as follows:

------8<---------
Reading cffile pca.conf
Option install: 1
Option xrefdir: /export/home/pca
Option patchdir: /export/home/pca/instpatches
Option patchurl: http://patch-001.company.com/cgi-bin/pca-proxy.cgi?
Option xrefurl: http://patch-001.company.com/cgi-bin/pca-proxy.cgi?
Option wget: /usr/local/bin/wget
Option debug: 1
ARGV: 142284-01
Version: 20090723-01
Config files: /usr/local/bin/../etc/pca.conf pca.conf
Using /usr/local/bin/wget (1.11.4, 11104, https)
Prerequisites for threads not met, setting threads to 0
Never update
Expanded patch list: 142284-01
xref mtime: Wed Aug 19 04:42:48 2009
xref now  : Wed Aug 19 09:36:54 2009
xref ctime: Wed Aug 19 09:35:34 2009
xref age  : 80
Local file /export/home/pca/patchdiag.xref is up to date
Reading from /usr/bin/showrev -p  2>/dev/null
Using /export/home/pca/patchdiag.xref from Aug/18/09
118833-36 required by 142284: already installed
120011-14 required by 142284: already installed
127127-11 required by 142284: already installed
Host: sunbox007 (SunOS 5.10/Generic_141414-08/sparc/sun4u)
List: 142284-01 (1/26)

Patch  IR   CR RSB Age Synopsis
------ -- - -- --- --- -------------------------------------------------------
142284 -- < 01 ---  26 SunOS 5.10: fcpci patch

Looking for 142284-01 (1/1)
Trying http://patch-001.company.com/cgi-bin/pca-proxy.cgi?
/usr/local/bin/wget
"http://patch-001.company.com/cgi-bin/pca-proxy.cgi?142284-01";
--timeout 3600 -O /export/home/pca/instpatches/142284-01.tmp
--2009-08-19 09:36:59--
http://patch-001.company.com/cgi-bin/pca-proxy.cgi?142284-01
Resolving patch-001.company.com... 10.195.43.36
Connecting to patch-001.company.com|10.195.43.36|:80... connected.
HTTP request sent, awaiting response... 500 142284-01 not found
2009-08-19 09:37:04 ERROR 500: 142284-01 not found.

Failed
Failed (no Sun Online Account data)
Failed (patch not found)

Installing 142284-01 (1/1)
Failed (missing patch file)
------------------------------------------------------------------------------
Download Summary: 1 total, 0 successful, 0 skipped, 1 failed
Install Summary : 1 total, 0 successful, 0 skipped, 1 failed
------>8---------

The strange thing is, that that mentioned patch ist even public, so it
shouldn't be no problem related to the service-contracts linked to my
SOA.

I'm using wget 1.11.4 with https and pca 20090723-01 on the proxy and
the client side.

A lot of the missing patches can be downloaded and installed without
any problems, but on some patches pca fails for some reason, that I
don't understand, or can see, at the moment.

Any ideas?

Cheers
Georg

-- 
Wennts die Regeln beachtets, dann is da Berg euer Freund
<http://www.youtube.com/watch?v=4lrcrBz0ISk>

Reply via email to