updatemanager hanging when installing patches

updatemanager says I have 10 patches to install. I click on install 10 patches, a progress bar appears but only moves a small amount then hangs. Has anyone else seen this behavior?
[187 byte] By [Smooge] at [2007-11-26 6:02:54]
# 1
This may be related to some issues we are already working. To verify, please run update manager from the command line and post any suspicious output to the terminal here./usr/bin/updatemanager-Dave
rave@sun at 2007-7-6 13:26:53 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2
I have installed this package last week and am having the same problem, multiple instances. Will try running on the command line.Jim
seamans at 2007-7-6 13:26:53 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3

I have seen this and in all cases some patches did apply but hung the gui at that point. I was able to restart it and continue. I didn't research, but am wondering if smpatch or updatemanager was patched and broke that update.

once I got it updated completely the first time, it seemed to be ok after that. Just a bit flakey.

Much easier to just skip updatemanager and use smpatch. although that first registration for Solaris 10 boxes is required since the gui is all that's avaialble to register. (to my knowledge)

jwbledsoe at 2007-7-6 13:26:53 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4
Does the machine have zones.I see exactly the same symptom if I try to use the GUI on a machine with zones.As opposed to "smpatch update" which exits with a reasonable error message.
robertcohen at 2007-7-6 13:26:53 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5

We have found a bug that is preventing smpatch update from comminicating to Update Manager that it is not able to do an 'smpatch update' on a system with zones configured. Until this bug is fixed, UM will hang if asked to install an update on a system with zones configured. How does smpatch determine whether zones are configured? It executes:

zoneadm list -c

If anything gets listed other than the global zone, 'smpatch update' outputs "This operation is not supported by this application for systems with local zones." and exits.

-Dave

rave@sun at 2007-7-6 13:26:53 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 6

this is what I get when I click on install (running updatemanager from command line), it hangs

com.sun.cns.authentication.CMDExecutionException

at com.sun.cns.authentication.CSMAuthenticator.runCMD(CSMAuthenticator.java:532)

at com.sun.cns.authentication.CSMAuthenticator.runCMD(CSMAuthenticator.java:338)

at com.sun.swup.client.wrapper.PatchProWrapper.update(PatchProWrapper.java:330)

at com.sun.swup.client.engine.solaris.SolarisInstaller.beginInstall(SolarisInstall er.java:76)

at com.sun.swup.client.ui.InstallDialog$InstallWorker.construct(InstallDialog.java :321)

at com.sun.swup.client.ui.foundation.swing.SwingWorker$2.run(SwingWorker.java:109)

at java.lang.Thread.run(Thread.java:595)

nnnno at 2007-7-6 13:26:53 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 7
Is there an update to this yet? I am running into the same problem, exact same stack trace from java running updatemanager from the command line. As of right now I cannot apply patches to my systems.
JoeGainey01 at 2007-7-6 13:26:53 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 8
Joe,Do you have zones installed?What does the "zoneadm list -c" command return?
ForumModerator at 2007-7-6 13:26:53 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 9

Yes zones are installed. Running updatemanager on the command line with the -debug option shows:

"STDERR: This operation is not supported by this application for systems with local zones." There is a more general problem that i'm trying to address. I tried to download and apply patch 120468-04 manually in the global zone. This seems like it should work fine, but errors out on checkinstall. The full output is here:

patchadd $PWD/120468-04

Validating patches...

Loading patches installed on the system...

Done!

Loading patches requested to install.

Done!

Checking patches that you specified for installation.

Done!

Approved patches will be installed in this order:

120468-04

Preparing checklist for local zone check...

Checking local zones...

This patch passes the local zone check.

120468-04

Summary for zones:

Zone myatc01

Rejected patches:

None.

Patches that passed the dependency check:

120468-04

Patching global zone

Adding patches...

Checking installed patches...

Verifying sufficient filesystem capacity (dry run method)...

Patch 120468-04 failed to install due to a failure produced by pkgadd.

See /var/sadm/patch/120468-04/log for details

Patchadd is terminating.

WARNING: patchadd returned <5> for global zone

# cat /var/sadm/patch/120468-04/log

This appears to be an attempt to install the same architecture and

version of a package which is already installed. This installation

will attempt to overwrite this package.

/root/120468-04/SUNWpcu/install/checkinstall: /root/120468-04/SUNWpcu/install/checkinstall: cannot open

pkgadd: ERROR: checkinstall script did not complete successfully

Dryrun complete.

No changes were made to the system.

# showrev -p | egrep '120468|119016'

Patch: 120468-03 Obsoletes: 118858-01, 118921-01, 119563-01, 119588-01 Requires: Incompatibles: Packages: SUNWpcu, SUNWscplp, SUNWppm, SUNWpsu

Patch: 119255-10 Obsoletes: 119016-03 Requires: Incompatibles: Packages: SUNWswmt, SUNWpkgcmdsu

JoeGainey01 at 2007-7-6 13:26:54 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 10

The checkinstall error is probably a permissions issue on the patch you've choosen to store the patch in. I'd recommend re-downloading it and extracting it to /tmp and then try to install it again.

With regards to the Update Connection issue and zones, I include below an extract from the tech FAQ -

Q.

Can I use Sun Update Connection 1.0, System Edition on a Solaris 10 system that has zones installed?

A.

Yes, but Sun Update Connection only provides partial support for systems that have non-global zones installed.

* Supports the sconadm, smpatch analyze, and smpatch download commands, and the Sun Update Manager registration and analysis features in the global zone only.

The Sun Update Connection web application, the Sun Update Manager application, and the smpatch analyze command can be used to perform an update analysis of the global zone.

* Does not support the smpatch update, smpatch add, and smpatch remove commands, or the install and remove features of the Sun Update Manager application or the Sun Update Connection web application.

Note that you can use the patchadd and patchrm commands to install and remove updates from global zones as well as from non-global zones. The patchadd and patchrm commands fully support Solaris 10 systems that have zones installed.

ForumModerator at 2007-7-6 13:26:54 > top of Java-index,Administration Tools,Sun Update Connection-System...