This discussion is archived
3 Replies Latest reply: Aug 21, 2009 10:33 AM by 807567 RSS

smpatch analyze fails to run on Solaris 10 Sparc systems

807567 Newbie
Currently Being Moderated
I have two Sparc Solaris 10 systems that I am unable to get to successfully patch. The 'sconadm' tool runs correctly, but smpatch bombs out with one of the following two errors:
Failure: Cannot connect to retrieve current2.zip: You are not authorized to access this service.
Failure: Cannot connect to retrieve detectors.jar: You are not authorized to access this service.
'dmesg' suggests that it is failing to send the correct credentials to the update server:
Aug 18 12:23:01 pheasant root: [ID 702911 user.crit]  => com.sun.patchpro.cli.PatchServices@1bcdbf6 <=Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://getupdates1.sun.com/database/current2.zip
If I attempt to download this file in a web browser, my Sun Online credentials allow me to do so, so they are valid.

I've found threads of people with similar issues, but none of the presented solutions have worked for me. I've tried updating all the related patches, but to no avail.

I've downloaded the 'suc.sh' tool and supplied the output from one of my servers:
# ./suc.sh
User: root
Logname: root
Tue Aug 18 12:30:20 BST 2009
pheasant


smpatch settings:

patchpro.backout.directory      -       ""
patchpro.baseline.directory     -       /var/sadm/spool
patchpro.download.directory     -       /var/sadm/spool
patchpro.install.types          -       rebootafter:reconfigafter:standard
patchpro.patch.source           -       https://getupdates1.sun.com/
patchpro.patchset               -       current2
patchpro.proxy.host             -       ""
patchpro.proxy.passwd           ****    ****
patchpro.proxy.port             -       8080
patchpro.proxy.user             -       ""


smpatch analyze:

Failure: Cannot connect to retrieve current2.zip: You are not authorized to access this service.


Entitlement:

cat: cannot open /var/sadm/spool/cache/entitlement/*entitlement_client


Sun UC patch revision:

120335-04
121081-06
121081-08
121118-16
121453-02
122231-01
123003-03
123005-07
123630-03
123893-05
123893-15
124171-07
137137-09


Solaris release:

                       Solaris 10 5/09 s10s_u7wos_08 SPARC
           Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                             Assembled 30 March 2009


Solaris Kernel: Generic_141414-07
Machine Type: sun4v
Platform: SUNW,SPARC-Enterprise-T5120


Java versions:



System default:

java version "1.5.0_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02)
Java HotSpot(TM) Server VM (build 1.5.0_19-b02, mixed mode)


Java 5:

java version "1.5.0_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02)
Java HotSpot(TM) Server VM (build 1.5.0_19-b02, mixed mode)


Java 6:

Unable to locate JRE meeting specification "1.6*"


Java used by smpatch and updatemanager:

/usr/sbin/pprosvc:JAVACMD="/usr/jdk/latest/bin/java -version:1.5+"
/bin/updatemanager:JAVA_EXEC="/usr/jdk/latest/bin/java -version:1.5+"


Cacao Java version:

java-home=/usr/jdk/jdk1.5.0_19


Cacao Base Directories:

cacao.install.rt.base.dir=/
cacao.install.etc.base.dir=/


Software Cluster:

CLUSTER=SUNWCXall


All ccr properties:

18:
Property not defined: 18

cns.assetid:
EpZ/R8Qb0Pm6RveZcxEkQs65/+Q=

cns.br.SunUCenabled:
true

cns.ccr.keyGenPath:
/usr/lib/cc-ccr/bin/ccrKeyGen

cns.clientid:
ba7a3b27-d847-4abc-9453-ba80d2f6c2b0

cns.httpproxy.auth:


cns.httpproxy.ipaddr:


cns.httpproxy.port:


cns.regtoken:
3912c9d8-22e8-41d9-8e09-e7b50f186b44:1280448000000:T

cns.security.password:
tKb+Hl+DUx8YZdtTk4Dw+keG66XcqAr7FgkCJ2LT96im

cns.security.privatekey:
-----BEGIN ENCRYPTED PRIVATE KEY-----
MIICxjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQIp3u860rdprUCAggA
MBQGCCqGSIb3DQMHBAh/OGl0hwjEkASCAoAm9jJrEjhB0wKNCKR3LlrREJAcmRFP
2wkS0e7CNt+W8dMRJf5I7D/eRIxaa3INaGdSiuMCHJit44tcnQaB9L31EH3xAkLB
9afGErebRM9ldlt4ScZJ6LNlgeRYu+QO4dNGjsor5XVeGaAqhGaODqFdh1tLP6eI
r2UAkRJ6ATThIPhbtvNqBZ3Dq/UyJLS3sGSh6zBo/WA/poYHzOq0tuvrYZ4wd9PH
G5LW4wGac2vEL8/FlI8dSYDYY5ENsPxTC/AzYBdldcK0gmpLZpfQO7NnHo8Hipk3
/gVRLUIKbN2nX0pT5rA4AGxj/gNiBqGY9YnEp1np1W/ZaPuqwjXFNgWUBDwI6PmR
0mae0qbNIP9UHew+r9PfNd2YQrKwjZM7lUU4y04Y1mUjziy+jThAWBKP3VAsc0a2
Ztr4EN5dofGHO54Q8gyUyh3raV0HSSyjdGwOvmo/visRmhQ/SYT6gr+aGPd3RhjA
WJN2OwRWgO6GyZWqZP47CuS6sn1R9NSVgyNIyBf7rdXHNre6Y9FhYJFYYa0DzofB
iMb/z0fQpmUtRul/8AhlSSmwS1ZCzmpH5vADPMMvjOZrjsUV7n2Fi8pZ8pzXT06W
oHccis3qDSsp/PsIaK+bCKqcFimYWHblxgCle2gtI0+p47gE9zthLeNgGiYrV3bH
8MdrMgafggL9Tmu8lPBOTpkM2DMBdRkGf63g1WVlkw3Huq5mOAzCzywvxsOhqpf2
tX7aIzBSe1z9iWkyzBUWKCObrtZmGUkD6iHQIbhCPAObv8g+0odV3kiDHxnuMp8o
tjiVQMBiThzCBfypGiv5ub96SO2in693YybafQdOl2ZdGkHYq1975jIn
-----END ENCRYPTED PRIVATE KEY-----


cns.security.publickey:
-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDKy2n+88gjTxo/4za2Q92l4XBQ
ZqCpJq0WFpdRvaEiRFXQJHtv66+XfKTUufq8CuFR8OLTSrA/PpTqSNTEBvmBJf7n
NG6lXBM2fvgakxTwjtaZkvZl3Yhf8gBJp8pptuyMihStlt+u+0CBdwMmrz91wGDQ
3MNdlDRdukKn66llLwIDAQAB
-----END PUBLIC KEY-----


cns.swup.UMautolaunch:
false

cns.swup.autoAnalysis.enabled:
true

cns.swup.checkinInterval:
2

cns.swup.lastCheckin:
0

cns.swup.patchbaseline:
current

cns.swup.regRequired:
true

cns.transport.serverurl:
https://cns-transport.sun.com



patchsvr not installed.



Sun UC package status:

SUNWbreg not installed
SUNWdc not installed


Services in maintenance/disabled state: