smpatch and recommended

Hello everybody,

is there a way to apply a recommended patchcluster only? I tried, as described in http://docs.sun.com/app/docs/doc/817-1985/6mhm8o622?a=view, but have an error:

root@app02:/var/sadm/spool> smpatch get

patchpro.backout.directory-""

patchpro.download.directory-/var/sadm/spool

patchpro.install.types -rebootafter:reconfigafter:standard

patchpro.patch.sourcehttp://sunucproxy:3816/solaris/https://getupdates1.sun.com/solaris/

patchpro.patchset-current

patchpro.proxy.host""""

patchpro.proxy.passwd********

patchpro.proxy.port 80 8080

patchpro.proxy.user -""

root@app02:/var/sadm/spool> smpatch set patchpro.patchset=recommended

root@app02:/var/sadm/spool> smpatch analyze

Failure: Cannot connect to retrieve Database/recommended.zip: Internal Server Error

the SunUC proxy localhost_log shows a java backtrace, the significant lines are the following, as I see:

2006-08-07 11:49:37 Mon Aug 07 11:49:37 CEST 2006(INFO) => com.sun.patchpro.server.PatchProServerServlet@1a32ea4 <=Protocol version:

2.1

2006-08-07 11:49:37 Mon Aug 07 11:49:37 CEST 2006(DEBUG) => com.sun.patchpro.server.ServerPatchServiceProvider@1088a1b <=cacheFile i

s: /a/upcache/Database/https%3A%2F%2Fgetupdates1.sun.com%2Fsolaris%2F%2FDatabase%2Frecommended.zip

2006-08-07 11:49:37 Mon Aug 07 11:49:37 CEST 2006(DEBUG) => com.sun.patchpro.server.ServerPatchServiceProvider@1088a1b <=POST String

: action=getFile&name=Database%2Frecommended.zip&version=2.1

2006-08-07 11:49:39 Mon Aug 07 11:49:39 CEST 2006(ERROR) => com.sun.patchpro.server.PatchProServerServlet@1a32ea4 <=Problem detected

while servicing"download database file" request. Cannot connect to retrieve Database/recommended.zip: Server Error

2006-08-07 11:49:39 Mon Aug 07 11:49:39 CEST 2006(WARNING) => com.sun.patchpro.util.LocalizedMessages@484c6b <=Corrupt message catal

og: locale="en" messageID="Cannot connect to retrieve Database/recommended.zip: Server Error"default english="Cannot connect to ret

rieve Database/recommended.zip: Server Error"

2006-08-07 11:49:39 Mon Aug 07 11:49:39 CEST 2006(ERROR) => com.sun.patchpro.server.PatchProServerServlet@1a32ea4 <=com.sun.patchpro

.util.CannotConnectException: Cannot connect to retrieve Database/recommended.zip: Server Error

..................

Caused by: java.io.IOException: Server returned HTTP response code: 500for URL: https://getupdates1.sun.com/solaris/

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1149)at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getInputStream(HttpsURLConnectionOldImpl.java:204)

at com.sun.patchpro.util.Downloader.connectToURL(Downloader.java:358)

... 41 more

it seems, the file does not exist on the server. If I use a patchpro.patchset default value, it works.

The alternate way, as I see, to copy/paste a list of patches from the web and download them with -x idlist=...

any ideas, how can I do it automatically?

Regards

Vladimir

[3611 byte] By [v0vik] at [2007-11-26 9:17:31]
# 1
Are you using Solaris 10, and do you have a SunSolve Service Plan?
ForumModerator at 2007-7-6 23:45:24 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2
Dear FrumModeratorwe are using SunUC proxy, the prxy host is with our ContractID registerd. We would obtain recommended for Solaris 8, 9 and 10.
v0vik at 2007-7-6 23:45:24 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3

With Sun UC it is not currently possible to download recommended patches only like you have tried to do. However CR #6366823 has already been logged to request that Sun provide this functionality.

Currently it is expected that this will be available in the next release of the Sun Update Connection software but as with any change request this is subject to change.

ForumModerator at 2007-7-6 23:45:24 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4

it seems to work now, it was nothing changed on our side. I think, it was a server issue...

# cat /etc/release

Solaris 9 8/03 s9s_u4wos_08a SPARC

Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.

Use is subject to license terms.

Assembled 13 June 2003

# smpatch get

patchpro.backout.directory-""

patchpro.download.directory-/var/sadm/spool

patchpro.install.types -rebootafter:reconfigafter:standard

patchpro.patch.sourcehttp://10.204.4.91:3816/solaris/https://updateserver.sun.com/solaris/

patchpro.patchsetrecommendedpatchdb

patchpro.proxy.host -""

patchpro.proxy.passwd********

patchpro.proxy.port -8080

patchpro.proxy.user -""

patchpro.sun.passwd ********

patchpro.sun.user"" ""

# smpatch analyze

111711-16 32-bit Shared library patch for C++

111712-16 64-Bit Shared library patch for C++

114344-21 SunOS 5.9: kernel/drv/arp Patch

116561-13 SunOS 5.9: Volume System H/W Series platmod patch

112908-25 SunOS 5.9: gl_kmech_krb5 Patch

113319-24 SunOS 5.9: libnsl nispasswdd patch

112960-38 SunOS 5.9: patch libsldap ldap_cachemgr libldap

118558-30 SunOS 5.9: Kernel Patch

113713-22 SunOS 5.9: pkginstall Patch

113278-14 SunOS 5.9: NFS Daemon Patch

117067-04 SunOS 5.9: awk nawk oawk Patch

116669-19 SunOS 5.9: md Patch

113579-09 SunOS 5.9: ypserv/ypxfrd Patch

121321-03 SunOS 5.9: ldap Patch

119211-09 NSS_NSPR_JSS 3.11.2: NSPR 4.6.2 / NSS 3.11.2 / JSS 4.2.4

112817-29 SunOS 5.9: Sun GigaSwift Ethernet 1.0 driver patch

112785-54 X11 6.6.1: Xsun patch

Very many thanks!

v0vik at 2007-7-6 23:45:24 > top of Java-index,Administration Tools,Sun Update Connection-System...