[pca] Problem install patch which the proxy has already started to download

Michele Vecchiato michele.vecchiato at gmail.com
Mon Dec 27 16:52:21 CET 2010


2010/12/27 Martin Paul <martin at par.univie.ac.at>:
> This could be a different problem - if the pca-proxy returns 404 to the pca
> client, it failed to download the patch successfully. To find out why, you
> would need to add "debug=1" to the pca-proxy.conf file and watch
> /var/tmp/pca-proxy-debug.txt for debug output of the proxy. Trigger the
> download just like you already did: Remove 120185-22.zip on the proxy, and
> download the patch via a PCA client.
>
> If you try that, and see 404 again, please let me know what you find in the
> pca-proxy-debug file.
>
> Martin.

Thanks Martin!
Setup "debug=1" to the pca-proxy.conf and i watched the trouble is
"/etc/wgetrc" permissions:

root at pdpcasrv1 # ls -al /etc/wgetrc
-rwxr-x---   1 root     sys         4436 Dec 13 15:01 /etc/wgetrc
root at pdpcasrv1 #
root at pdpcasrv1 # tail -f /var/tmp/pca-proxy-debug.txt
Mon Dec 27 16:02:36 2010: To connect to getupdates.oracle.com
insecurely, use `--no-check-certificate'.
Mon Dec 27 16:02:36 2010: Removing /tmp/pca.408269
Mon Dec 27 16:02:36 2010: Failed (Unknown Error)
Mon Dec 27 16:02:40 2010: Trying https://getupdates.oracle.com/ (2/5)
Mon Dec 27 16:02:40 2010: Adding to /tmp/pca.129686:
header=Authorization: Basic <base64-user-passwd>
Mon Dec 27 16:02:40 2010: /usr/sfw/bin/wget
"https://getupdates.oracle.com/all_unsigned/120185-22.zip" --execute

https_proxy=http://MyInternetCompanyProxy:8080 -O /patches/pca/120185-22.tmp
------>  Mon Dec 27 16:02:40 2010: wget: Cannot read /etc/wgetrc
(Permission denied).  <------
Mon Dec 27 16:02:40 2010: --2010-12-27 16:02:40--
https://getupdates.oracle.com/all_unsigned/120185-22.zip
Mon Dec 27 16:02:40 2010: Resolving MyInternetCompanyProxy...
xxx.xxx.xxx.xxx (My Internal IP)
Mon Dec 27 16:02:40 2010: Connecting to
MyInternetCompanyProxy|xxx.xxx.xxx.xxx (My Internal IP)|:8080...
connected.
Mon Dec 27 16:02:41 2010: ERROR: cannot verify getupdates.oracle.com's
certificate, issued by `/O=VeriSign Trust Network/OU=VeriSign,
Inc./OU=VeriSign

International Server CA - Class 3/OU=www.verisign.com/CPS Incorp.by
Ref. LIABILITY LTD.(c)97 VeriSign':
Mon Dec 27 16:02:41 2010:   Unable to locally verify the issuer's authority.
Mon Dec 27 16:02:41 2010: To connect to getupdates.oracle.com
insecurely, use `--no-check-certificate'.
Mon Dec 27 16:02:41 2010: Removing /tmp/pca.129686
Mon Dec 27 16:02:41 2010: Failed (Unknown Error)
Mon Dec 27 16:02:47 2010: Trying https://getupdates.oracle.com/ (3/5)
Mon Dec 27 16:02:47 2010: Adding to /tmp/pca.556565:
header=Authorization: Basic <base64-user-passwd>
Mon Dec 27 16:02:47 2010: /usr/sfw/bin/wget
"https://getupdates.oracle.com/all_unsigned/120185-22.zip" --execute

https_proxy=http://MyInternetCompanyProxy:8080 -O /patches/pca/120185-22.tmp
Mon Dec 27 16:02:47 2010: wget: Cannot read /etc/wgetrc (Permission denied).
Mon Dec 27 16:02:47 2010: --2010-12-27 16:02:47--
https://getupdates.oracle.com/all_unsigned/120185-22.zip
Mon Dec 27 16:02:47 2010: Resolving MyInternetCompanyProxy...
xxx.xxx.xxx.xxx (My Internal IP)
[...output truncated...]

root at pdpcasrv1 # chmod 644 /etc/wgetrc && ls -la /etc/wgetrc
-rw-r--r--   1 root     sys         4436 Dec 13 15:01 /etc/wgetrc
root at pdpcasrv1 # tail -f /var/tmp/pca-proxy-debug.txt
Mon Dec 27 16:05:54 2010: Option xrefdir: /patches/pca
Mon Dec 27 16:05:54 2010: Option patchdir: /patches/pca
Mon Dec 27 16:05:54 2010: Option user: <user>
Mon Dec 27 16:05:54 2010: Option passwd: <passwd>
Mon Dec 27 16:05:54 2010: Option syslog: local4.info
Mon Dec 27 16:05:54 2010: Option dltries: 5
Mon Dec 27 16:05:54 2010: Option wgetproxy:
http://GRFPRA002RM001.griffon.local:8080
Mon Dec 27 16:05:54 2010: Option threads: 5
Mon Dec 27 16:05:54 2010: Option debug: 1
Mon Dec 27 16:05:54 2010: Option proxy: 120185-22
Mon Dec 27 16:05:54 2010: Command: /patches/pca/cgi-bin/pca-proxy.cgi
Mon Dec 27 16:05:54 2010: ARGV: 120185-22
Mon Dec 27 16:05:54 2010: Version: 20101221-01
Mon Dec 27 16:05:54 2010: CWD: /patches/pca/cgi-bin
Mon Dec 27 16:05:54 2010: Config files: /etc/pca-proxy.conf
Mon Dec 27 16:05:54 2010: Found /usr/sfw/bin/wget (1.12, 11200, https)
Mon Dec 27 16:05:54 2010: Using /usr/sfw/bin/wget
Mon Dec 27 16:05:54 2010: Found /usr/bin/uname
Mon Dec 27 16:05:54 2010: Prerequisites for threads not met, setting
threads to 0
Mon Dec 27 16:05:54 2010: Never update
Mon Dec 27 16:05:54 2010: Requested file: 120185-22
Mon Dec 27 16:05:54 2010: Trying Oracle
Mon Dec 27 16:05:54 2010: Trying https://getupdates.oracle.com/ (1/5)
Mon Dec 27 16:05:54 2010: Adding to /tmp/pca.577837:
header=Authorization: Basic <base64-user-passwd>
Mon Dec 27 16:05:54 2010: /usr/sfw/bin/wget --progress=dot:binary
"https://getupdates.oracle.com/all_unsigned/120185-22.zip" --execute

https_proxy=http://GRFPRA002RM001.griffon.local:8080
--ca-certificate=/patches/pca/cgi-bin/pca-proxy.cgi -O
/patches/pca/120185-22.tmp
Mon Dec 27 16:05:54 2010: --2010-12-27 16:05:54--
https://getupdates.oracle.com/all_unsigned/120185-22.zip
Mon Dec 27 16:05:54 2010: Resolving grfpra002rm001.griffon.local...
10.173.119.123
Mon Dec 27 16:05:54 2010: Connecting to
grfpra002rm001.griffon.local|10.173.119.123|:8080... connected.
Mon Dec 27 16:05:56 2010: Proxy request sent, awaiting response... 302
Moved Temporarily
Mon Dec 27 16:05:56 2010: Location:

https://a248.e.akamai.net/f/248/21808/15m/sun.download.akamai.com/21808/patches/patchroot/all_unsigned/120185-22.zip?AuthParam=1293462367_af50a912596a6afcc0c

979854f846c23&TicketId=C1Ra%2BUuPVlc%3D&GroupName=SWUP&FilePath=/21808/patches/patchroot/all_unsigned/120185-22.zip&File=120185-22.zip
[following]
Mon Dec 27 16:05:56 2010: --2010-12-27 16:05:56--

https://a248.e.akamai.net/f/248/21808/15m/sun.download.akamai.com/21808/patches/patchroot/all_unsigned/120185-22.zip?AuthParam=1293462367_af50a912596a6afcc0c

979854f846c23&TicketId=C1Ra%2BUuPVlc%3D&GroupName=SWUP&FilePath=/21808/patches/patchroot/all_unsigned/120185-22.zip&File=120185-22.zip
Mon Dec 27 16:05:56 2010: Connecting to
grfpra002rm001.griffon.local|10.173.119.123|:8080... connected.
Mon Dec 27 16:05:57 2010: Proxy request sent, awaiting response... 200 OK
Mon Dec 27 16:05:57 2010: Length: 292265504 (279M) [application/zip]
Mon Dec 27 16:05:57 2010: Saving to: `/patches/pca/120185-22.tmp'
Mon Dec 27 16:05:57 2010:
Mon Dec 27 16:05:58 2010:      0K ................ ................
................  0%  275K 17m18s
Mon Dec 27 16:06:00 2010:    384K ................ ................
................  0%  289K 16m50s
Mon Dec 27 16:06:01 2010:    768K ................ ................
................  0%  356K 15m39s
Mon Dec 27 16:06:02 2010:   1152K ................ ................
................  0%  402K 14m39s
Mon Dec 27 16:06:03 2010:   1536K ................ ................
................  0%  403K 14m3s
Mon Dec 27 16:06:04 2010:   1920K ................ ................
................  0%  370K 13m49s
Mon Dec 27 16:06:05 2010:   2304K ................ ................
................  0%  296K 14m6s
Mon Dec 27 16:06:06 2010:   2688K ................ ................
................  1%  315K 14m11s
Mon Dec 27 16:06:08 2010:   3072K ................ ................
................  1%  339K 14m8s
Mon Dec 27 16:06:09 2010:   3456K ................ ................
................  1%  221K 14m50s
Mon Dec 27 16:06:11 2010:   3840K ................ ................
................  1%  261K 15m6s
Mon Dec 27 16:06:12 2010:   4224K ................ ................
................  1%  333K 14m59s
Mon Dec 27 16:06:14 2010:   4608K ................ ................
................  1%  200K 15m37s
Mon Dec 27 16:06:16 2010:   4992K ................ ................
................  1%  193K 16m13s
[...output truncated...]
Mon Dec 27 16:29:53 2010: 280320K ................ ................
................ 98%  183K 24s
Mon Dec 27 16:29:55 2010: 280704K ................ ................
................ 98%  187K 22s
Mon Dec 27 16:29:57 2010: 281088K ................ ................
................ 98%  220K 20s
Mon Dec 27 16:29:58 2010: 281472K ................ ................
................ 98%  267K 18s
Mon Dec 27 16:30:00 2010: 281856K ................ ................
................ 98%  210K 16s
Mon Dec 27 16:30:02 2010: 282240K ................ ................
................ 99%  183K 14s
Mon Dec 27 16:30:04 2010: 282624K ................ ................
................ 99%  185K 12s
Mon Dec 27 16:30:06 2010: 283008K ................ ................
................ 99%  247K 10s
Mon Dec 27 16:30:07 2010: 283392K ................ ................
................ 99%  307K 8s
Mon Dec 27 16:30:09 2010: 283776K ................ ................
................ 99%  220K 6s
Mon Dec 27 16:30:10 2010: 284160K ................ ................
................ 99%  268K 4s
Mon Dec 27 16:30:12 2010: 284544K ................ ................
................ 99%  285K 2s
Mon Dec 27 16:30:13 2010: 284928K ................ ................
................ 99%  335K 1s
Mon Dec 27 16:30:13 2010: 285312K ............
             100%  432K=24m16s
Mon Dec 27 16:30:13 2010:
Mon Dec 27 16:30:13 2010: 2010-12-27 16:30:13 (196 KB/s) -
`/patches/pca/120185-22.tmp' saved [292265504/292265504]
Mon Dec 27 16:30:13 2010:
Mon Dec 27 16:30:13 2010: Removing /tmp/pca.577837
Mon Dec 27 16:30:13 2010: Done



More information about the pca mailing list