Weird error
Getting the following error.... lol
smpatch analyze
Exception in thread "Thread-11" com.sun.database.simpledatabase.DatabaseError: MemoryBTree.getSymetricSuccessor(): Ran out of memory.
at com.sun.database.simpleadapter.memory.MemoryBTree.getSymetricSuccessor(MemoryBT ree.java:635)
at com.sun.database.simpleadapter.memory.MemoryBTree.deleteFromTree(MemoryBTree.ja va:790)
at com.sun.database.simpleadapter.memory.MemoryBTree.removeLink(MemoryBTree.java:2 65)
at com.sun.database.simpleadapter.memory.MemoryAdapter.addObject(MemoryAdapter.jav a:217)
at com.sun.patchpro.host.Host.addPatch(Host.java:1392)
at com.sun.patchpro.plugins.sunos.patch.SunOSBaseDataExtension.buildDatabase(SunOS BaseDataExtension.java:276)
at com.sun.patchpro.plugins.sunos.patch.SunOSBaseDataExtension.run(SunOSBaseDataEx tension.java:111)
at java.lang.Thread.run(Thread.java:595)
[925 byte] By [
lmd] at [2007-11-26 11:06:36]

# 1
Solaris has minimum hardware requirements, please refer to the documentation for your version.In other words, don't expect it to run on a PII with 32Mb of RAM.
# 2
Ahhhhhhhhhhhh, this is a V890 with 16GB of Memory........
lmd at 2007-7-7 3:20:44 >

# 3
I think it has become corrupted somehow...... Can I remove and install the packages again?Also, when I run updatemnager, it hangs forever when analyzing, it completes about 50% of the task....Thanks
lmd at 2007-7-7 3:20:44 >

# 4
Hi.
I think the patch which smpatch is trying to add may be corrupt - could you run the following until you get the same Java backtrace, then post the last, say, 20 lines from both the console output and the /tmp/smpatchDebug.log file
# smpatch analyze -@ -C patchpro.internal.statustags=true -C patchpro.log.level=7 -C patchpro.debug=true -C patchpro.log.file=/tmp/smpatchDebug.log
Mod.
# 5
And this is where it hangs forever....
ildDatabase(): added 122652-03
Sat Oct 28 17:30:05 EDT 2006(DEBUG)=> com.sun.patchpro.plugins.sunos.patch.SunOSBaseDataExtension@ec4a87 <=SunOSBaseDataExtension.makePatch(): lineAsString is Patch: 119042-09 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcsd, SUNWtnamr, SUNWkrbr, SUNWtnetr, SUNWocfr, SUNWvolr, SUNWnfscr, SUNWgssc, SUNWaccr, SUNWmdr, SUNWnisr, SUNWypr, SUNWzoner, SUNWcvcr, SUNWsfdrr, SUNWatfsr, SUNWbnur, SUNWdhcsr, SUNWcnsr, SUNWpsr, SUNWdcsr, SUNWefcr, SUNWftpr, SUNWnfssr, SUNWpiclr, SUNWrcapr, SUNWrcmdr, SUNWslpr, SUNWsndmr, SUNWsndmu, SUNWsshdr
Sat Oct 28 17:30:08 EDT 2006(WARNING)=> com.sun.patchpro.util.CachingDownloader@cf66b <=response code is 200
Sat Oct 28 17:30:09 EDT 2006(INFO)=> com.sun.patchpro.util.CachingDownloader@cf66b <=Downloading done https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2Fcurrent.zip
Sat Oct 28 17:30:09 EDT 2006(DEBUG)=> com.sun.patchpro.database.MemoryPatchDBBuilder@491c4c <=zipInputStream = java.util.zip.ZipInputStream@db4fa2
Sat Oct 28 17:30:35 EDT 2006(DEBUG)=> com.sun.patchpro.database.MemoryPatchDBBuilder@491c4c <=MemoryPatchDBBuilder.transferFile(): Reached end of patchlist stream.
Sat Oct 28 17:30:35 EDT 2006(DEBUG)=> com.sun.patchpro.model.PatchProStateMachine$5@12f0999 <=downloadPatchDB(): finished, returning com.sun.patchpro.host.ExtendedHost@18bbc5a
Sat Oct 28 17:30:35 EDT 2006(DEBUG)=> com.sun.patchpro.model.PatchProStateMachine@1256ea2 <=reading state 4
Sat Oct 28 17:30:35 EDT 2006(DEBUG)=> com.sun.patchpro.model.PatchProStateMachine@1256ea2 <=State 4 is not terminal.
Sat Oct 28 17:30:35 EDT 2006(DEBUG)=> com.sun.patchpro.model.PatchProStateMachine@1256ea2 <=nextStates =
Sat Oct 28 17:30:35 EDT 2006(DEBUG)=> com.sun.patchpro.model.PatchProStateMachine@1256ea2 <= 7
Sat Oct 28 17:30:35 EDT 2006(DEBUG)=> com.sun.patchpro.model.PatchProStateMachine@1256ea2 <=Starting 7 with state state 0
Sat Oct 28 17:30:35 EDT 2006(DEBUG)=> com.sun.patchpro.util.State@87a5cc <=State: State is reserved.
Sat Oct 28 17:30:35 EDT 2006(DEBUG)=> com.sun.patchpro.util.State@87a5cc <=State: State number is 7
Sat Oct 28 17:30:35 EDT 2006(DEBUG)=> com.sun.patchpro.model.PatchProStateMachine@1256ea2 <=StateMachine: Started state 7
Sat Oct 28 17:30:35 EDT 2006(DEBUG)=> com.sun.patchpro.util.State@87a5cc <=State: run() begins
Sat Oct 28 17:30:35 EDT 2006(DEBUG)=> com.sun.patchpro.util.State@87a5cc <=State: beginning synchronizer
Sat Oct 28 17:30:35 EDT 2006(DEBUG)=> com.sun.patchpro.model.PatchProStateMachine$18@facf0b <=hostNDownloadComplete: started
lmd at 2007-7-7 3:20:44 >

# 6
I've only seen a hang at that point once before, on a 'testing' custom patchset.Could you post the output from:# smpatch get(removing any sensitive data from the output first)Mod.
# 7
atchpro.backout.directory-""
patchpro.baseline.directory-/var/sadm/spool
patchpro.download.directory-/var/sadm/spool
patchpro.install.types -rebootafter:reconfigafter:standard
patchpro.patch.source-https://getupdates1.sun.com/
patchpro.patchset-current
patchpro.proxy.host -""
patchpro.proxy.passwd********
patchpro.proxy.port -8080
patchpro.proxy.user -""
lmd at 2007-7-7 3:20:44 >

# 8
Hi again.Could you remove the following files:# rm -rf /var/sadm/spool/*then run smpatch again. This should force a re-download of the patchDB and the 'detectors' classes.
# 9
Don't know why I continue to get the following:
STATUS PROGRESS 53 "Analyzing system"
STATUS PROGRESS 54 "Analyzing system"
STATUS DOWNLOAD_PATCHDB END DOWNLOAD_PATCHDB.0 "Download of {0} was successful." "current"
Exception in thread "Thread-11" com.sun.database.simpledatabase.DatabaseError: MemoryBTree.getSymetricSuccessor(): Ran out of memory.
at com.sun.database.simpleadapter.memory.MemoryBTree.getSymetricSuccessor(MemoryBT ree.java:635)
at com.sun.database.simpleadapter.memory.MemoryBTree.deleteFromTree(MemoryBTree.ja va:790)
at com.sun.database.simpleadapter.memory.MemoryBTree.removeLink(MemoryBTree.java:2 65)
at com.sun.database.simpleadapter.memory.MemoryAdapter.addObject(MemoryAdapter.jav a:217)
at com.sun.patchpro.host.Host.addPatch(Host.java:1392)
at com.sun.patchpro.plugins.sunos.patch.SunOSBaseDataExtension.buildDatabase(SunOS BaseDataExtension.java:276)
at com.sun.patchpro.plugins.sunos.patch.SunOSBaseDataExtension.run(SunOSBaseDataEx tension.java:111)
at java.lang.Thread.run(Thread.java:595)
STATUS PROGRESS 54 "Analyzing system"
STATUS PROGRESS 54 "Analyzing system"
lmd at 2007-7-7 3:20:44 >

# 10
This isn't something I've seen before, and SunSolve doesn't seem to have seen this error either.Do you have a support contract you could raise a case on?Mod.
# 11
Yes I can.... I was hoping it was something simple.... lolThanks for the suggestions........
lmd at 2007-7-7 3:20:44 >

# 12
I am getting the same error, smpatch hangs at patch 54...Could you please tell me if you have found a solution?ThanksAntoine
AJG at 2007-7-7 3:20:44 >

# 13
This issue was caused by a problem with 'showrev'.A couple of question:Is the host SPARC or x86?What does 'showrev -p | head' look like?(( ref. 11132275 ))