smpatch via lsp message "Failure: MemoryPatchDBBuilder: Patch list version"

hi,

today another error

# smpatch analyze

Failure: MemoryPatchDBBuilder: Patch list version of null is malformed.

#

# smpatch analyze -@ -C patchpro.internal.statustags=true -C patchpro.log.level=7 -C patchpro.debug=true

STATUS ANALYZE BEGIN

STATUS DOWNLOAD_PATCHDB BEGIN

Effective proxy host : ""

Effective proxy port : ""

Effective proxy user : ""

STATUS DOWNLOAD_DETECTORS BEGIN

Effective proxy host : ""

Effective proxy port : ""

Effective proxy user : ""

STATUS PROGRESS 5 "Analyzing system"

STATUS PROGRESS 5 "Analyzing system"

... Submitting download request against a GUUS server

... ... Hostname of URL is huh7620.public1.EX.TKMS.ThyssenKrupp.com

... ... Filename of URL is /detector/detectors.jar

... ... File path portion of URL is /detector/detectors.jar

STATUS PROGRESS 10 "Analyzing system"

STATUS PROGRESS 10 "Analyzing system"

... Submitting download request against a GUUS server

... ... Hostname of URL is huh7620.public1.EX.TKMS.ThyssenKrupp.com

... ... Filename of URL is /database/current.zip

... ... File path portion of URL is /database/current.zip

STATUS PROGRESS 10 "Analyzing system"

STATUS PROGRESS 10 "Analyzing system"

STATUS PROGRESS 10 "Analyzing system"

... Caught IO Exception.

((HttpURLConnection)connection).getResponseCode() : 500

((HttpURLConnection)connection).getResponseMessage() : Internal Server Error

... Caught IO Exception.

((HttpURLConnection)connection).getResponseCode() : 500

((HttpURLConnection)connection).getResponseMessage() : Internal Server Error

STATUS PROGRESS 11 "Analyzing system"

STATUS PROGRESS 11 "Analyzing system"

STATUS PROGRESS 11 "Analyzing system"

STATUS PROGRESS 11 "Analyzing system"

STATUS PROGRESS 12 "Analyzing system"

STATUS PROGRESS 12 "Analyzing system"

STATUS PROGRESS 12 "Analyzing system"

STATUS PROGRESS 12 "Analyzing system"

STATUS PROGRESS 13 "Analyzing system"

STATUS PROGRESS 13 "Analyzing system"

STATUS PROGRESS 13 "Analyzing system"

STATUS PROGRESS 13 "Analyzing system"

STATUS PROGRESS 14 "Analyzing system"

STATUS PROGRESS 14 "Analyzing system"

STATUS PROGRESS 14 "Analyzing system"

STATUS PROGRESS 14 "Analyzing system"

STATUS PROGRESS 15 "Analyzing system"

STATUS PROGRESS 15 "Analyzing system"

STATUS PROGRESS 15 "Analyzing system"

STATUS PROGRESS 15 "Analyzing system"

STATUS PROGRESS 16 "Analyzing system"

STATUS PROGRESS 16 "Analyzing system"

STATUS PROGRESS 16 "Analyzing system"

STATUS PROGRESS 16 "Analyzing system"

STATUS PROGRESS 17 "Analyzing system"

STATUS PROGRESS 17 "Analyzing system"

STATUS PROGRESS 17 "Analyzing system"

STATUS PROGRESS 17 "Analyzing system"

STATUS PROGRESS 18 "Analyzing system"

STATUS PROGRESS 18 "Analyzing system"

STATUS PROGRESS 18 "Analyzing system"

STATUS PROGRESS 18 "Analyzing system"

STATUS PROGRESS 18 "Analyzing system"

STATUS PROGRESS 18 "Analyzing system"

STATUS PROGRESS 18 "Analyzing system"

STATUS PROGRESS 18 "Analyzing system"

STATUS PROGRESS 19 "Analyzing system"

STATUS PROGRESS 19 "Analyzing system"

STATUS PROGRESS 19 "Analyzing system"

STATUS PROGRESS 19 "Analyzing system"

STATUS PROGRESS 20 "Analyzing system"

STATUS DOWNLOAD_DETECTORS END DOWNLOAD_DETECTORS.0 "Download of {0} was successful." "detectors"

STATUS ANALYZE END ANALYZE.255 "Error occurred while executing the command or while downloading the {0} or database {1} or while analyzing the system to determine the updates. Verify that valid options and arguments are specified with the command and that the system is configured and registered properly. The detailed error message is: {2}" "detectors" "current" "Failure: MemoryPatchDBBuilder: Patch list version of null is malformed."

Failure: MemoryPatchDBBuilder: Patch list version of null is malformed.

#

# patchsvr setup -d

Property not defined: cns.patchsrv.cachelocation

#

any idea?

Thanks Eric :-(((

Message was edited by:

eric.

[4334 byte] By [eric.a] at [2007-11-26 15:08:33]
# 1

Hi.

A corrupt patchdb made it onto the Sun Update servers which caused this error, but this has since been rectified. You may still have a cached copy of this on your patch server, so could you clear out its cache:

# rm -rf /var/sadm/spool/patchsvr/*

If the error remains, try the following on the client:

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

# mkdir /var/sadm/spool/cache/updatemanager

# mkdir /var/sadm/spool/cache/updatemanager/analysis.results

# chmod -R 755 /var/sadm/spool/cache/updatemanager

# chown -R root:root /var/sadm/spool/cache/updatemanager

Mod.

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

Hi,

it doesn't help. Please take a look. I made the following changes at lsp, this server is also client.

# rm -r Database Misc Patches category entitlement

# mkdir /var/sadm/spool/cache/updatemanager

# mkdir /var/sadm/spool/cache/updatemanager/analysis.results

# chmod -R 755 /var/sadm/spool/cache/updatemanager

# chown -R root:root /var/sadm/spool/cache/updatemanager

#

# smpatch analyze

Failure: MemoryPatchDBBuilder: Patch list version of null is malformed.

# patchsvr stop

Shutting down Local Patch Server

# patchsvr start

Starting Local Patch Server

#

#

#

# smpatch analyze

Failure: MemoryPatchDBBuilder: Patch list version of null is malformed.

#

Regards Eric

eric.a at 2007-7-8 8:58:58 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3

Could you please confirm the current settings on the client, check the size of the current.zip file downloaded from the UC Proxy to the client and check the settings of the UC Proxy (obfuscating as necessary);

S10client $ smpatch get

S10client $ ls -l /var/sadm/spool/cache/Database/*current*

S10proxy $ patchsvr setup -l

If you already have support case we can we progress it via email.

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

Hi,

thanks a lot for answer. I opened a support case #37762670

# smpatch get

patchpro.backout.directory-""

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

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

patchpro.install.types -rebootafter:reconfigafter:standard

patchpro.patch.sourcehttp://ourlsp:3816/https://getupdates1.sun.com/

patchpro.patchset-current

patchpro.proxy.host "" ""

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

patchpro.proxy.port "" 8080

patchpro.proxy.user "" ""

#

#

#

# ls -l /var/sadm/spool/cache/Database/*current*

/var/sadm/spool/cache/Database/*current*: No such file or directory

#

#

#

# patchsvr setup -l

Patch source URL: https://getupdates1.sun.com/

Cache location: /var/sadm/spool/patchsvr

#

Regards Eric

eric.a at 2007-7-8 8:58:58 > top of Java-index,Administration Tools,Sun Update Connection-System...