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

