Solaris9 smpatch not working

We've got a solaris 9 (118558-25) system with smpatch/patchpro installed on it. Running an smpatch analyze returns "No patches required." I know this is wrong... (I've cleared the /var/sadm/spool/cache)

If I do an smpatch get it returns https://updateserver.sun.com/solaris/ as the patchpro.patch.source which I'm thinking is wrong.

Also, is the new Solaris 10 tool available for Solaris 9 yet? The website information is contradictory as to this info (it says its available for 8,9 and 10 until you get to the download page...)

Thanks for any help on this!

Patrick

[600 byte] By [dickeypjeep] at [2007-11-26 11:36:57]
# 1

Sun Update Connection is not currently available for Solaris 8 or 9, currently you can use Sun Update Connection, Enterprise for Solaris 8 and 9, as well as several Linux distributions. See http://www.sun.com/service/sunupdate/enterprise/ for further details.

Patch Manager is to be EOL'd in the next few months. The replacement for this will be Sun Update Connection, which will be download via Patch Manager as another patch and applied automatically.

https://updateserver.sun.com/solaris/ is the correct url to use for smpatch for Patch Manager.

Please provide us with the output from the following commands:

$ uname -a

$ showrev -p | grep 112945

$ smpatch get

$ smpatch analyze

$ cat /etc/release

$ cat /var/sadm/system/admin/CLUSTER

$ pkginfo -l SUNWpmgr SUNWppror SUNWpprou

ForumModerator at 2007-7-7 11:35:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2

1. SunOS servername 5.9 Generic_118558-25 sun4u sparc SUNW,Sun-Fire-480R

2. Patch: 112945-40 Obsoletes: 113829-04, 114724-01 Requires: Incompatibles: Packages: SUNWmccom, SUNWmcc, SUNWwbapi, SUNWwbcor, SUNWwbcou, SUNWwbpro, SUNWlvma, SUNWwbmc, SUNWmga, SUNWdclnt, SUNWpmgr, SUNWwbdev

Patch: 117679-01 Obsoletes: Requires: 112945-27 Incompatibles: Packages: SUNWmcc, SUNWwbcor, SUNWwbcou, SUNWwbpro, SUNWmga, SUNWpmgr

Patch: 112945-27 Obsoletes: 113829-04, 114724-01 Requires: Incompatibles: Packages: SUNWwbapi, SUNWwbcor, SUNWwbcou, SUNWwbpro, SUNWlvma, SUNWmga, SUNWdclnt, SUNWpmgr, SUNWwbdev

3.patchpro.backout.directory-""

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

patchpro.install.types standard:singleuser:rebootafter:rebootimmediate rebootafter:reconfigafter:standard

patchpro.patch.source-https://updateserver.sun.com/solaris/

patchpro.patchsetpatchdb patchdb

patchpro.proxy.host -""

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

patchpro.proxy.port -8080

patchpro.proxy.user -""

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

patchpro.sun.usermyusername ""

4.No patches required.

5. Solaris 9 9/04 s9s_u7wos_09 SPARC

Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.

Use is subject to license terms.

Assembled 29 June 2004

6. CLUSTER=SUNWCall

7.PKGINST: SUNWpmgr

NAME: Solaris Patch Management Applications

CATEGORY: system

ARCH: sparc

VERSION: 3.0,REV=2002.04.14.23.49

BASEDIR: /

VENDOR: Sun Microsystems, Inc.

DESC: Solaris Patch Management Applications

PSTAMP: on81-adms-patch20050929162021

INSTDATE: Feb 01 2006 16:31

HOTLINE: Please contact your local service provider

STATUS: completely installed

FILES:47 installed pathnames

10 shared pathnames

22 directories

8 executables

1 setuid/setgid executables

2222 blocks used (approx)

ERROR: information for "SUNWppror" was not found

ERROR: information for "SUNWpprou" was not found

Just as a note, this has worked before. We currently patch semi-anually , so this worked 6 months ago. Java has been upgraded, which could be a probem...

thanks for the help

dickeypjeep at 2007-7-7 11:35:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3
Please manually download and apply patch 112945-44 from sunsolve which updates the certificates on the host to fall in line with a recent upgrade on our side. After thats installed post the "smpatch get" and "smpatch analyze" output again.
ForumModerator at 2007-7-7 11:35:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4

I installed the 112945-44 patch.

smpatch anaylze still returns "No patches required."

smpatch get returns:

patchpro.backout.directory-""

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

patchpro.install.types standard:singleuser:rebootafter:rebootimmediate rebootafter:reconfigafter:standard

patchpro.patch.source-https://updateserver.sun.com/solaris/

patchpro.patchsetpatchdb patchdb1

patchpro.proxy.host -""

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

patchpro.proxy.port -8080

patchpro.proxy.user -""

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

patchpro.sun.usermyusername ""

dickeypjeep at 2007-7-7 11:35:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5

Try running smpatch in debug mode to see if that provides more detail as to what is happening:

$ smpatch analyze -C patchpro.log.level=7 -C patchpro.debug=true -C patchpro.log.file=/tmp/debuglog

In a separate terminal do a "tail -f /tmp/debuglog" and see if you notice anything.

Also let us know if there are any systems you have which do work.

ForumModerator at 2007-7-7 11:35:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 6

I've reviewed the debuglog and nothing jumps out at me. It looks fairly normal for a java program (a lot of object references).

Just as a test, I did a 'smpatch download -i 118305', and the smpatch ran for a minute and then crashed with this message:

com.sun.patchpro.model.PatchProRuntimeException: Unexpected throwable

at com.sun.patchpro.cli.PatchServices.waitForThread(PatchServices.java:1284)

at com.sun.patchpro.cli.PatchServices.downloadAllPatches(PatchServices.java:820)

at com.sun.patchpro.cli.PatchServices.main(PatchServices.java:502)

Caused by:

java.lang.Throwable:

at com.sun.patchpro.model.PatchProModel$InnerSequencerThread.sequencerFailed(Patch ProModel.java:2695)

at com.sun.patchpro.model.PatchProModel.sequencerFailed(PatchProModel.java:3478)

at com.sun.patchpro.patch.GroupPatchSequencer.dispatchFailedEvent(GroupPatchSequen cer.java:402)

at com.sun.patchpro.patch.GroupPatchSequencer.sequencerFailed(GroupPatchSequencer. java:351)

at com.sun.patchpro.patch.GroupPatchSequencer.getPatchLists(GroupPatchSequencer.ja va:159)

at com.sun.patchpro.model.PatchProModel.runSequencer(PatchProModel.java:1922)

at com.sun.patchpro.model.PatchProStateMachine$9.run(PatchProStateMachine.java:482 )

at com.sun.patchpro.util.State.run(State.java:266)

at java.lang.Thread.run(Unknown Source)

Maybe this means something... a bad java install?

dickeypjeep at 2007-7-7 11:35:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 7
I'd advise raising a support case with Sun. Be sure to send them the debug log when you do as it will be help to identify where/what the problem is (though I suspect it may have something to do with showrev or the package/patch db on your host....but it needs looked at in more detail)
ForumModerator at 2007-7-7 11:35:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 8
From your smpatch config, it looks like you have the 'old' patchset specified.Try doing:smpatch unset patchpro.patchsetand see if that helps.-Brian
Pluto01 at 2007-7-7 11:35:17 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 9

I'm not sure if Sun fixed something on their end, but now the smpatch works. Here's the steps I followed this morning to get it working:

1. smpatch download -i 118558-26 (downloads -37)

2. smpatch analyze(prints out list of patches....)

I know these steps don't really seem to have a lot to do with the problem which is why I'm wondering if Sun fixed something upstream....or maybe the system needed to download at least one thing to update the caches on the system.

Thanks for the help!

dickeypjeep at 2007-7-7 11:35:17 > top of Java-index,Administration Tools,Sun Update Connection-System...