[pca] Downloading patches from proxy

Fairburn, Jeremy Jeremy.Fairburn at wyn.com
Tue Feb 8 16:32:06 CET 2011


I think I may be confused with the local caching proxy and the web
proxy.  The local caching proxy has access to the internet so I guess I
don't need a web proxy.  Is that correct?  Here is the debug output from
the client and the local caching proxy after making your requested
changes:

Client debug output:

Option download: 1
Option patchdir: /var/sadm/patch/.
Option patchurl:
http://local_proxy_server_name:port_number/cgi-bin/pca-proxy.cgi?
Option xrefurl:
http://local_proxy_server_name:port_number/cgi-bin/pca-proxy.cgi?
Option noreboot: 1
Option safe: 1
Option debug: 1
Command: /usr/sfw/bin/pca
ARGV: 144221-02
Version: 20101221-01
CWD: /var/sadm/patch
Config files: /etc/pca.conf
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: 144221-02
xref mtime: Tue Feb  8 07:26:37 2011
xref now  : Tue Feb  8 07:30:45 2011
xref ctime: Tue Feb  8 07:26:37 2011
xref age  : 248
Local file /var/tmp/patchdiag.xref is up to date
osname from uname: SunOS
Reading from /usr/bin/showrev -p  2>/dev/null
Using /var/tmp/patchdiag.xref from Jan/19/11
All operands are fully qualified patch IDs plus revisions
Host: wwpxpsdb03 (SunOS 5.10/Generic_142909-17/sparc/sun4u)
List: 144221-02 (1/0)

Patch  IR   CR RSB Age Synopsis
------ -- - -- --- ---
-------------------------------------------------------
144221 01 < 02 ---  90 Solaris Cluster 3.2: CORE patch for Solaris 10

Looking for 144221-02 (1/1)
Trying http://local_proxy_server_name:port_number/cgi-bin/pca-proxy.cgi?
/usr/sfw/bin/wget --progress=dot:binary
"http://local_proxy_server_name:port_number/cgi-bin/pca-proxy.cgi?144221
-02" --timeout 3600 -O /var/sadm/patch/./144221-02.tmp
--2011-02-08 07:30:52--
http://local_proxy_server_name:port_number/cgi-bin/pca-proxy.cgi?144221-
02
Resolving local_proxy_server_name... x.x.x.x
Connecting to local_proxy_server_name|x.x.x.x|:port_number... connected.
HTTP request sent, awaiting response... 500 144221-02 not found
2011-02-08 07:31:27 ERROR 500: 144221-02 not found.

Failed (Error 500: 144221-02 not found)
Trying Oracle

Please enter My Oracle Support Account User:
Failed (no My Oracle Support Account data)
Failed (patch not found)
------------------------------------------------------------------------
------
Download Summary: 1 total, 0 successful, 0 skipped, 1 failed

Local caching proxy debug output:

Tue Feb  8 07:26:34 2011: Option xrefdir: /ops/solaris_os_patches
Tue Feb  8 07:26:34 2011: Option patchdir: /ops/solaris_os_patches
Tue Feb  8 07:26:34 2011: Option user: username
Tue Feb  8 07:26:34 2011: Option passwd: Password
Tue Feb  8 07:26:34 2011: Option dltries: 5
Tue Feb  8 07:26:34 2011: Option debug: 1
Tue Feb  8 07:26:34 2011: Option wgetq:
Tue Feb  8 07:26:34 2011: Option wgetout: >>/tmp/pca-proxy-debug.txt
2>&1
Tue Feb  8 07:26:34 2011: Option proxy: patchdiag.xref
Tue Feb  8 07:26:34 2011: ARGV: patchdiag.xref
Tue Feb  8 07:26:34 2011: Version: 20080507-01
Tue Feb  8 07:26:34 2011: Config files: /etc/pca-proxy.conf
Tue Feb  8 07:26:34 2011: Using /usr/sfw/bin/wget (1.12, 11200)
Tue Feb  8 07:26:34 2011: Never update
Tue Feb  8 07:26:34 2011: Requested file: patchdiag.xref
Tue Feb  8 07:26:35 2011: xref now    : Tue Feb  8 07:26:35 2011
Tue Feb  8 07:26:35 2011: xref current: Mon Feb  7 13:16:55 2011
Tue Feb  8 07:26:35 2011: xref age    : 65380
Tue Feb  8 07:26:35 2011: Downloading xref file to
/ops/solaris_os_patches/patchdiag.xref
Tue Feb  8 07:26:35 2011: Trying http://sunsolve.sun.com/patchdiag.xref
(1/5)
--2011-02-08 07:26:35--  http://sunsolve.sun.com/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... 302 Moved Temporarily
Location: https://sunsolve.sun.com/patchdiag.xref [following]
--2011-02-08 07:26:35--  https://sunsolve.sun.com/patchdiag.xref
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:26:35--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/patchdiag.xref'

     0K                                                       100%
12.9M=0s

2011-02-08 07:26:36 (12.9 MB/s) -
`/ops/solaris_os_patches/patchdiag.xref' saved [159/159]

Tue Feb  8 07:26:36 2011: old xref age: 20
Tue Feb  8 07:26:36 2011: Downloaded file () older than local file
(Jan/19/11)
Tue Feb  8 07:26:54 2011: Option xrefdir: /ops/solaris_os_patches
Tue Feb  8 07:26:54 2011: Option patchdir: /ops/solaris_os_patches
Tue Feb  8 07:26:54 2011: Option user: username
Tue Feb  8 07:26:54 2011: Option passwd: Password
Tue Feb  8 07:26:54 2011: Option dltries: 5
Tue Feb  8 07:26:54 2011: Option debug: 1
Tue Feb  8 07:26:54 2011: Option wgetq:
Tue Feb  8 07:26:54 2011: Option wgetout: >>/tmp/pca-proxy-debug.txt
2>&1
Tue Feb  8 07:26:54 2011: Option proxy: 144221-02
Tue Feb  8 07:26:54 2011: ARGV: 144221-02
Tue Feb  8 07:26:54 2011: Version: 20080507-01
Tue Feb  8 07:26:54 2011: Config files: /etc/pca-proxy.conf
Tue Feb  8 07:26:54 2011: Using /usr/sfw/bin/wget (1.12, 11200)
Tue Feb  8 07:26:54 2011: Never update
Tue Feb  8 07:26:54 2011: Requested file: 144221-02
Tue Feb  8 07:26:54 2011: Trying http://sunsolve.sun.com/ (1/5)
--2011-02-08 07:26:54--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:26:54--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:26:54--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
15.0M=0s

2011-02-08 07:26:55 (15.0 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:26:55 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:26:55 2011: Failed (unknown file type)
Tue Feb  8 07:26:59 2011: Trying http://sunsolve.sun.com/ (2/5)
--2011-02-08 07:26:59--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:26:59--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:26:59--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
15.5M=0s

2011-02-08 07:27:00 (15.5 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:27:00 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:27:00 2011: Failed (unknown file type)
Tue Feb  8 07:27:06 2011: Trying http://sunsolve.sun.com/ (3/5)
--2011-02-08 07:27:06--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:27:06--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:27:06--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
13.1M=0s

2011-02-08 07:27:06 (13.1 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:27:06 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:27:06 2011: Failed (unknown file type)
Tue Feb  8 07:27:14 2011: Trying http://sunsolve.sun.com/ (4/5)
--2011-02-08 07:27:14--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:27:15--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:27:15--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
15.8M=0s

2011-02-08 07:27:15 (15.8 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:27:15 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:27:15 2011: Failed (unknown file type)
Tue Feb  8 07:27:25 2011: Trying http://sunsolve.sun.com/ (5/5)
--2011-02-08 07:27:25--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:27:25--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:27:26--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
12.9M=0s

2011-02-08 07:27:26 (12.9 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:27:26 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:27:26 2011: Failed (unknown file type)
Tue Feb  8 07:27:26 2011: Failed (patch not found)
Tue Feb  8 07:27:26 2011: Cleanup
Tue Feb  8 07:28:21 2011: Option xrefdir: /ops/solaris_os_patches
Tue Feb  8 07:28:21 2011: Option patchdir: /ops/solaris_os_patches
Tue Feb  8 07:28:21 2011: Option user: username
Tue Feb  8 07:28:21 2011: Option passwd: Password
Tue Feb  8 07:28:21 2011: Option dltries: 5
Tue Feb  8 07:28:21 2011: Option debug: 1
Tue Feb  8 07:28:21 2011: Option wgetq:
Tue Feb  8 07:28:21 2011: Option wgetout: >>/tmp/pca-proxy-debug.txt
2>&1
Tue Feb  8 07:28:21 2011: Option proxy: 144221-02
Tue Feb  8 07:28:21 2011: ARGV: 144221-02
Tue Feb  8 07:28:21 2011: Version: 20080507-01
Tue Feb  8 07:28:21 2011: Config files: /etc/pca-proxy.conf
Tue Feb  8 07:28:21 2011: Using /usr/sfw/bin/wget (1.12, 11200)
Tue Feb  8 07:28:21 2011: Never update
Tue Feb  8 07:28:21 2011: Requested file: 144221-02
Tue Feb  8 07:28:21 2011: Trying http://sunsolve.sun.com/ (1/5)
--2011-02-08 07:28:21--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:28:21--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:28:22--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
15.0M=0s

2011-02-08 07:28:22 (15.0 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:28:22 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:28:22 2011: Failed (unknown file type)
Tue Feb  8 07:28:26 2011: Trying http://sunsolve.sun.com/ (2/5)
--2011-02-08 07:28:26--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:28:26--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:28:26--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
12.3M=0s

2011-02-08 07:28:27 (12.3 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:28:27 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:28:27 2011: Failed (unknown file type)
Tue Feb  8 07:28:33 2011: Trying http://sunsolve.sun.com/ (3/5)
--2011-02-08 07:28:33--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:28:33--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:28:33--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
12.5M=0s

2011-02-08 07:28:34 (12.5 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:28:34 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:28:34 2011: Failed (unknown file type)
Tue Feb  8 07:28:42 2011: Trying http://sunsolve.sun.com/ (4/5)
--2011-02-08 07:28:42--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:28:42--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:28:42--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
14.9M=0s

2011-02-08 07:28:43 (14.9 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:28:43 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:28:43 2011: Failed (unknown file type)
Tue Feb  8 07:28:53 2011: Trying http://sunsolve.sun.com/ (5/5)
--2011-02-08 07:28:53--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:28:53--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:28:53--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
15.7M=0s

2011-02-08 07:28:53 (15.7 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:28:53 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:28:53 2011: Failed (unknown file type)
Tue Feb  8 07:28:53 2011: Failed (patch not found)
Tue Feb  8 07:28:53 2011: Cleanup
Tue Feb  8 07:30:53 2011: Option xrefdir: /ops/solaris_os_patches
Tue Feb  8 07:30:53 2011: Option patchdir: /ops/solaris_os_patches
Tue Feb  8 07:30:53 2011: Option user: username
Tue Feb  8 07:30:53 2011: Option passwd: Password
Tue Feb  8 07:30:53 2011: Option dltries: 5
Tue Feb  8 07:30:53 2011: Option debug: 1
Tue Feb  8 07:30:53 2011: Option wgetq:
Tue Feb  8 07:30:53 2011: Option wgetout: >>/tmp/pca-proxy-debug.txt
2>&1
Tue Feb  8 07:30:53 2011: Option proxy: 144221-02
Tue Feb  8 07:30:53 2011: ARGV: 144221-02
Tue Feb  8 07:30:53 2011: Version: 20080507-01
Tue Feb  8 07:30:53 2011: Config files: /etc/pca-proxy.conf
Tue Feb  8 07:30:53 2011: Using /usr/sfw/bin/wget (1.12, 11200)
Tue Feb  8 07:30:53 2011: Never update
Tue Feb  8 07:30:53 2011: Requested file: 144221-02
Tue Feb  8 07:30:54 2011: Trying http://sunsolve.sun.com/ (1/5)
--2011-02-08 07:30:54--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:30:54--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:30:55--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
15.4M=0s

2011-02-08 07:30:55 (15.4 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:30:55 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:30:55 2011: Failed (unknown file type)
Tue Feb  8 07:30:59 2011: Trying http://sunsolve.sun.com/ (2/5)
--2011-02-08 07:30:59--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:30:59--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:31:00--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
12.3M=0s

2011-02-08 07:31:00 (12.3 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:31:00 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:31:00 2011: Failed (unknown file type)
Tue Feb  8 07:31:06 2011: Trying http://sunsolve.sun.com/ (3/5)
--2011-02-08 07:31:06--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:31:06--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:31:06--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
16.0M=0s

2011-02-08 07:31:07 (16.0 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:31:07 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:31:07 2011: Failed (unknown file type)
Tue Feb  8 07:31:15 2011: Trying http://sunsolve.sun.com/ (4/5)
--2011-02-08 07:31:15--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:31:15--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:31:15--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
12.5M=0s

2011-02-08 07:31:16 (12.5 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:31:16 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:31:16 2011: Failed (unknown file type)
Tue Feb  8 07:31:26 2011: Trying http://sunsolve.sun.com/ (5/5)
--2011-02-08 07:31:26--
http://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
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:
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
[following]
--2011-02-08 07:31:26--
https://sunsolve.sun.com/pdownload.do?target=144221-02&method=h
Connecting to sunsolve.sun.com|192.18.108.40|:443... connected.
WARNING: cannot verify sunsolve.sun.com's certificate, issued by `/O=Sun
Microsystems Inc/OU=VeriSign Trust Network/OU=Class 3 MPKI Secure Server
CA/CN=Sun Microsystems Inc SSL CA':
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.oracle.com [following]
--2011-02-08 07:31:26--  https://support.oracle.com/
Resolving support.oracle.com... 141.146.54.16
Connecting to support.oracle.com|141.146.54.16|:443... connected.
WARNING: cannot verify support.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':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/html]
Saving to: `/ops/solaris_os_patches/144221-02.tmp'

     0K                                                       100%
13.9M=0s

2011-02-08 07:31:27 (13.9 MB/s) -
`/ops/solaris_os_patches/144221-02.tmp' saved [159/159]

Tue Feb  8 07:31:27 2011: Unknown Filetype:
/ops/solaris_os_patches/144221-02.tmp
Tue Feb  8 07:31:27 2011: Failed (unknown file type)
Tue Feb  8 07:31:27 2011: Failed (patch not found)
Tue Feb  8 07:31:27 2011: Cleanup

-jeremy


-----Original Message-----
From: pca-bounces at lists.univie.ac.at
[mailto:pca-bounces at lists.univie.ac.at] On Behalf Of Martin Paul
Sent: Tuesday, February 08, 2011 1:19 AM
To: PCA (Patch Check Advanced) Discussion
Subject: Re: [pca] Downloading patches from proxy

Fairburn, Jeremy wrote:
> The apache server is the local caching proxy as well.  I am trying to
> download the patches from a server without access to the internet
> through the local caching proxy.

Ok. And the server running the PCA local caching proxy has a direct
connection 
to the Internet, or does it have to go through a standard web proxy? If
not, 
your setup can be simplified.

> Pca.conf of client:
> 
> user=xxxxxx
> passwd=xxxxxxx
> debug=1

As you are using a PCA local caching proxy, it's not necessary to set 
user/passwd in pca.conf on the client. Setting it on the PCA proxy is
enough - 
so remove these.

> pca-proxy.conf of local caching proxy:
> 
> xrefdir=/patches
> patchdir=/patches
> wgetproxy=http://servername:portnumber
> dltries=5
> threads=5
> user=Oracle username
> passwd=Oracle password
> debug=1

You set wgetproxy here, so you tell wget that it can't connect to the
Internet 
directly, but has to go through a web proxy. Is this correct, and is 
"servername" the same machine running the PCA local caching proxy? It is
*not* 
necessary to set "wgetproxy" if only a PCA local caching proxy is
involved.

Please remove the "threads" setting here. It doesn't make sense on a PCA
proxy, 
and might introduce other problems.

> Changed values from wgetrc of client:
> 
> http_proxy = http://servername:portnumber/
> https_proxy = http://servername:portnumber/
> ftp_proxy = http://servername:portnumber/

As the client is configured to use a PCA local caching proxy, it will
only 
connect to that server and not to the Internet directly. So you do not
need 
these settings on the client.

> Debug output of trying to download one patch that does not reside on
the
> proxy server:
> ...
> --2011-02-07 13:18:35--  http://
> servername:portnumber/cgi-bin/pca-proxy.cgi?144221-02
> Resolving servername... x.x.x.x
> Connecting to servername|x.x.x.x|:portnumber... connected.
> Proxy request sent, awaiting response... 500 Internal Server Error
> 2011-02-07 13:18:35 ERROR 500: Internal Server Error.

So the PCA local caching proxy fails with a rather generic error. Please
make 
the above mentioned changes in your setup, re-run this same pca command,
and 
show me debug output of this command, but also debug output from the PCA
local 
caching proxy, which is logged to /var/tmp/pca-proxy-debug.txt on the
server.

> Removing /tmp/pca.803954
> Failed (Error 500: Internal Server Error)
> Trying Oracle
> Trying https://getupdates.oracle.com/ (1/1)

As downloading the patch from the PCA proxy failed, pca on the client
now tries 
to connect to the Oracle server through your local web proxy, but it
fails with 
an error from the web proxy:

> Connecting to servername|x.x.x.x|:portnumber... connected.
> Proxy tunneling failed: Authorization RequiredUnable to establish SSL
> connection.

That's a problem with your local web proxy, but we'll ignore that. In a
working 
PCA local caching proxy setup, the PCA client will never try to connect
to the 
Internet at all, as the PCA proxy will fulfill all download queries.

Martin.

</PRE>The information in this electronic mail ("e-mail") message may contain information that is confidential and/or privileged, or may otherwise <br>be protected by work product or other legal rules. It is solely for the use of the individual(s) or the entity (ies) originally intended. <br>Access to this electronic mail message by anyone else is unauthorized. If you are not the intended recipient, be advised that any unauthorized<br> review, disclosure, copying, distribution or use of this information, or any action taken or omitted to be taken in reliance on it, is prohibited <br>and may be unlawful. Please notify the sender immediately if you have received this electronic message by mistake, and destroy all copies of the<br> original message.
<br><br>
The sender believes that this e-mail and any attachments were free of any virus, worm, Trojan horse, malicious code and/or other contaminants <br>when sent. E-mail transmissions cannot be guaranteed to be secure or error-free, so this message and its attachments could have been infected, <br>corrupted or made incomplete during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility <br>for any viruses or other defects that may arise, and for taking remedial action relating to such viruses and other defects. Neither <br>Wyndham Worldwide Corporation nor any of its affiliated entities is liable for any loss or damage arising in any way from, or for errors or <br>omissions in the contents of, this message or its attachments





More information about the pca mailing list