[pca] PCA goes interactive

Andrew.Flint at Police.Govt.NZ Andrew.Flint at Police.Govt.NZ
Tue Mar 2 22:10:05 CET 2010



Hi

all of a sudden PCA is asking for Sun Online account user and password.
Even if I put in the details the download fails with patch not found (debug
output below). With the same account details I downloaded the same patch
from SunSolve through a web browser - no problem. Both pca client and proxy
are latest stable 20091216-02.

Is anyone else seeing this problem? Any idea how to get back to downloading
patches non-interactively?


# /nzp/bin/pca --patchurl=http://proxy/cgi-bin/ pca-proxy.cgi
--patchdir=/var/tmp --download 123456 --debug
Option download: 1
Option patchdir: /var/tmp
Option patchurl: http://proxy/cgi-bin/pca-proxy.cgi?
Option debug: 1
ARGV: 123456:
Version: 20091216-02
Found /usr/sfw/bin/wget (1.10.2, 11002, https)
Using /usr/sfw/bin/wget
Prerequisites for threads not met, setting threads to 0
Never update
Expanded patch list: 123456
xref mtime: Tue Feb 23 08:13:22 2010
xref now  : Wed Mar  3 09:18:26 2010
xref ctime: Wed Mar  3 09:15:57 2010
xref age  : 149
Local file /var/tmp/patchdiag.xref is up to date
Reading from /usr/bin/showrev -p  2>/dev/null
Using /var/tmp/patchdiag.xref from Feb/19/10
Bad patch installed: 119757-08
Bad patch installed: 120272-12
SUNWswmt patches: 106125 106126 107171 107172 108987 108988 110763 111666
111667 112951 114194 119254 119255
119850-14 required by 123456: obsolete, replaced with 118833-36
118833-36 required by 123456: already installed
Host: host (SunOS 5.10/Generic_120011-14/sparc/sun4u)
List: 123456 (1/1332)

Patch  IR   CR RSB Age Synopsis
------ -- - -- --- ---
-------------------------------------------------------
123456 -- < 01 --- 999 Hardware/PROM Sun Fire T1000 1064 Firmware update
V1.10.00.00IR

Looking for 123456-01 (1/1)
Trying http://proxy/cgi-bin/pca-proxy.cgi?
/usr/sfw/bin/wget --progress=dot:binary "
http://proxy/cgi-bin/pca-proxy.cgi?123456-01" --timeout 3600
-O /var/tmp/123456-01.tmp
--09:18:29--  http://proxy/cgi-bin/pca-proxy.cgi?123456-01
           => `/var/tmp/123456-01.tmp'
Connecting to proxy:80... connected.
HTTP request sent, awaiting response... 404 123456-01 not found
09:18:30 ERROR 404: 123456-01 not found.

Failed (Error 404: 123456-01 not found).
Trying SunSolve

Please enter Sun Online Account User: secret at police.govt.nz
Please enter Sun Online Account Password:

Trying https://sunsolve.sun.com/ (1/1)
Adding to /tmp/pca.988476: header=Authorization: Basic secret==
/usr/sfw/bin/wget --progress=dot:binary "
https://sunsolve.sun.com/pdownload.do?target=123456-01&method=h"
--ca-certificate=/nzp/bin/pca -O /var/tmp/123456-01.tmp
--09:18:49--
https://sunsolve.sun.com/pdownload.do?target=123456-01&method=h
           => `/var/tmp/123456-01.tmp'
Resolving sunsolve.sun.com... failed: node name or service name not known.
Removing /tmp/pca.988476
Failed (Unknown Error)
Failed (patch not found)
------------------------------------------------------------------------------.
Download Summary: 1 total, 0 successful, 0 skipped, 1 failed
#

regards
--
Andrew Flint, NZ Police
===============================================================
WARNING
This message may contain information that is confidential and may be subject to the provisions of section 50 of the Policing Act 2008, which creates an offence to have unlawful possession of Police property. If you are not the intended recipient of this message or have received this message in error, you must not peruse, use, pass or copy this message or any of its contents.
Also note, the views expressed in this message may not necessarily reflect those of the New Zealand Police.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.univie.ac.at/mailman/private/pca/attachments/20100303/8221c66d/attachment-0001.html 


More information about the pca mailing list