smpatch hanging on Solaris 9

Our Solaris 9 machines had been updating fine for some months, but now thesmpatch analyze or download commands hang indefinitely. How can I debug this?Thanks.
[179 byte] By [drooks0a] at [2007-11-27 3:51:50]
# 1

# smpatch analyze -C patchpro.log.level=3 -C patchpro.debug=true

Try the command above. Also, make sure you have the latest versions of the PM 2.0 patches installed including the LPS patches if applicable. If you are suing an lps you can also review the lps to see if there are any problems indicated there.

ForumModeratora at 2007-7-12 8:55:50 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2

Thanks for that. The command you gave hangs with no output on three different machines. All have PM patch 112945-44 installed. We are not using a Local Patch Server. Here is the config, same on all machines:

ls0003: smpatch get

patchpro.backout.directory-""

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

patchpro.install.types -rebootafter:reconfigafter:standard

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

patchpro.patchset-patchdb1

patchpro.proxy.host -""

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

patchpro.proxy.port -8080

patchpro.proxy.user -""

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

patchpro.sun.user-""

drooks0a at 2007-7-12 8:55:50 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3
Try the following command: # smpatch set patchpro.patchset=patchdbIf this does not work, try backing out 112945-44 and then reinstall it and run the above command again
ForumModeratora at 2007-7-12 8:55:50 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4

Thanks again. Using patchdb server rather than patchdb1 causes the analyze to say "No patches required." Removing and reapplying the PM patch did not help.

In studying the system, the behavior is always the same: the java process stops receiving data from the update server but the TCP connection remains open. If I run several times, I get the hang always at a different place, sometime while the /var/sadm/spool/cache files are being downloaded, sometimes in the middle of a particular patch. On a few occasions, as many as three patches will come across the wire before the hang.

I tried adding the debug options you gave to the "smpatch update" and "smpatch download" commands but it won't accept those args.

Any other ideas?

DRooksa at 2007-7-12 8:55:50 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5

Hi

Please show us the output of the following search for Update Connection related patches :

# showrev -p | egrep '^Patch: (11978[8|9]|12033[5|6]|12108[1|2])'

# showrev -p | egrep '^Patch: (12111[8|9]|12145[3|4]|12156[3|4])'

# showrev -p | egrep '^Patch: (12223[1|2]|12300[3|4|5|6]|124463|12461[4|5])'

I believe the patchsource url you are using is deprecated. However we should check out these patches first.

Mod.

ForumModeratora at 2007-7-12 8:55:50 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 6
I believe these must be Solaris 10 patches, I'm on 9.
DRooksa at 2007-7-12 8:55:50 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 7

Apologies for that, they are indeed the Solaris 10 patches.

Have you tried clearing out the cache directory and restarting the wbem service?

# rm /var/sadm/spool/cache/*

# /etc/init.d/init.wbem stop

# /etc/init.d/init.wbem start

If this does not work, have there been any changes made to the system recently such as upgrading Java?

ForumModeratora at 2007-7-12 8:55:50 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 8

I had tried clearing the cache, but not bouncing wbem; the latter did not help either.

Here is the Java version on all four machines:

ls0003: /usr/bin/java -version

java version "1.4.2_08"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)

Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)

I really need to get these machines updated!

drooks0a at 2007-7-12 8:55:50 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 9
We'd probably need to see truss output from smpatch analyze run to assist any further but as thats likely to be too much data to post on the forum we'd advise you to raise a support case with your local solution centre so that an engineer can review the issue fully.
ForumModeratora at 2007-7-12 8:55:50 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 10
Lo and behold, just tried again she's working now on all our Solaris 9 machines with no changes on our end. Thanks and may God bless.
drooks0a at 2007-7-12 8:55:50 > top of Java-index,Administration Tools,Sun Update Connection-System...