updatemanager fails with "unknown subcommand getdocument" message

When I run update manager it fails with following message:

unknown subcommand getdocument

Stack Trace:

com.sun.swup.client.engine.solaris.CollectionFileException: Unknown subcommand getdocument.

at com.sun.swup.client.engine.solaris.PatchCollection.processCollections(PatchColl ection.java:91)

at com.sun.swup.client.engine.solaris.PatchCollection.<init>(PatchCollection .java:53)

at com.sun.swup.client.engine.solaris.PatchCollection.getInstance(PatchCollection. java:70)

at com.sun.swup.client.engine.solaris.SolarisDataCollector.getCollectionsObject(So larisDataCollector.java:392)

at com.sun.swup.client.engine.solaris.SolarisDataCollector.getAvailableCollectionN ames(SolarisDataCollector.java:279)

at com.sun.swup.client.engine.solaris.SolarisDataCollector.getAvailableUpdateColle ctions(SolarisDataCollector.java:158)

at com.sun.swup.client.ui.UpdateFrame$LoadDataWorker.construct(UpdateFrame.java:23 4)

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

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

$uname -a

SunOS asuman 5.11 snv_15 i86pc i386 i86pc

PS: patch manager was installed on SunOS 5.10.1 then the machine upgraded to SunOS 5.11

[1277 byte] By [todorov7] at [2007-11-26 6:03:15]
# 1

Is this the Preview Release version, or the final 1.0 version which was released on July 26?

Does typing the following command manually return successfully?

# smpatch getdocument collection/default

Do any smpatch commands work? e.g:

# smpath get

# smpatch list

I take it Update Manager was working OK before the Solaris upgrade? Might be worth trying a re-install of Update Manager. Not actually sure whether it works with Solaris 11 or not.

ncsupport at 2007-7-6 13:27:41 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2

Is your update manager configured to get updates from an LPS?

I suspect you would get this error message if you use a pre-Software Update LPS (now called the Sun Update Connection Proxy) with Update Manager.

If this is your problem, you should upgrade the LPS to the Sun Update Connection Proxy.

ejrider at 2007-7-6 13:27:41 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3

probably java interface (updatemanager) uses smpatch at backend and may be some libraries it uses upgraded with system upgrade. the smpatch command works well and does not support list & getdocument commands.

# smpatch get

patchpro.backout.directory"" ""

patchpro.download.directory/downloads/patches/var/sadm/spool

patchpro.install.types -rebootafter:reconfigafter:standard

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

patchpro.patchset-patchdb

patchpro.proxy.host "" ""

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

patchpro.proxy.port "" 8080

patchpro.proxy.user "" ""

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

patchpro.sun.user-""

# smpatch list

Unknown subcommand list.

# smpatch update

No patches required.

#

todorov7 at 2007-7-6 13:27:41 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4

The Update Manager client stack hasn't been integrated into Nevada yet. When you upgraded your system to 5.11, you overwrote the package that contains Patchpro and the smpatch utility.

You will probably need to reinstall the Patchpro packages (SUNWpprou and SUNWppror) before Update Manager can function.

Frederic

LostInColorado at 2007-7-6 13:27:41 > top of Java-index,Administration Tools,Sun Update Connection-System...