I am unable to deploy the May PRU on a ZCM11.2 (with monthly update 1)
server.

The result is ERROR and the
/var/opt/novell/log/zenworks/loader-messages.log shows the following
lines:


1:27:03 PM] [] [Loader.SystemUpdateModule] [61] [] [FINER: Download of
https://you.novell.com/zenworks/syst.../external//pru
/10.1/5D023C0602F248d9AEEB7CCA2E351111/zcmpru.zip complete (9460863
bytes).] [] []
[DEBUG] [5/4/12 1:27:03 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Attempting to update command 07a8770dbefd14485d0ed1ac3a960572]
[] []
[DEBUG] [5/4/12 1:27:03 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: expected checksum not set...will not validate checksum of
file] [] []
[DEBUG] [5/4/12 1:27:04 PM] [] [Content Datamodel] [61] [] [Entered
content session clean-up] [] []
[DEBUG] [5/4/12 1:27:04 PM] [] [ImportContent] [61] [] [Setting the
tempFilename, externalContentType is true, unpackagedContentType is
false, packagingType is 4, filename should be
/var/opt/novell/zenworks/content-repo/system-update/5D023C0602F248d9AEEB
7CCA2E351111/zcmpru.zip] [] []
[DEBUG] [5/4/12 1:27:04 PM] [] [ImportContent] [61] [] [Done
processing: 69264c504bfe6acec0e97ba70cdd693e] [] []
[DEBUG] [5/4/12 1:27:04 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Attempting to set update status to DOWNLOADING with message:
null] [] []
[DEBUG] [5/4/12 1:27:04 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Status for update (5d023c0602f248d9aeeb7cca2e351111):
DOWNLOADING] [] []
[DEBUG] [5/4/12 1:27:04 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Updated update (5d023c0602f248d9aeeb7cca2e351111) status to
DOWNLOADING] [] []
[DEBUG] [5/4/12 1:27:04 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Attempting to set update status to IMPORTING with message:
null] [] []
[DEBUG] [5/4/12 1:27:04 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Status for update (5d023c0602f248d9aeeb7cca2e351111):
DOWNLOADING] [] []
[DEBUG] [5/4/12 1:27:04 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Updated update (5d023c0602f248d9aeeb7cca2e351111) status to
IMPORTING] [] []
[DEBUG] [5/4/12 1:27:04 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Attempting to set update status to DOWNLOADED with message:
null] [] []
[DEBUG] [5/4/12 1:27:04 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Status for update (5d023c0602f248d9aeeb7cca2e351111):
IMPORTING] [] []
[DEBUG] [5/4/12 1:27:04 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Updated update (5d023c0602f248d9aeeb7cca2e351111) status to
DOWNLOADED] [] []
[DEBUG] [5/4/12 1:27:07 PM] [] [TransferSMTPSettings] [61] [] [SMTP &
EMAIL notification settings loader module is not loaded as this is not
a reporting server] [] []
[DEBUG] [5/4/12 1:27:07 PM] [] [TransferFileFTPSettingsToBO] [61] []
[File & FTP notification settings loader module is not loaded as this
is not a reporting server] [] []
[DEBUG] [5/4/12 1:29:05 PM] [] [Loader.Status Storer Module] [27] []
[Processing Status_f2fb4debf6fec1429ca1b1ab5eac672d_1336130919 287.xml]
[] []
[DEBUG] [5/4/12 1:29:24 PM] [] [Content Datamodel] [61] [] [select
distinct c.ZUID from zContent c where (c.Replicate=:repSpec and exists
(select 1 from zContentServers cps where cps.id = c.ZUID and
cps.Servers = :serverUID) or c.Replicate=:repExcept and not exists
(select cps1.Servers from zContentServers cps1 where cps1.id = c.ZUID
and cps1.Servers = :serverUID) or c.Replicate=:repAll or
c.Replicate=:repPrimary) and c.AliasedContentUID is null and
(c.MetaVersion>0 or c.AliasedContentUID IS NOT NULL) and not exists
(select 1 from zContentSyncState cs where cs.ServerUID=:serverUID and
(cs.SyncState='AVAILABLE' or cs.SyncState='PACKAGING') and
(cs.ContentUID=c.ZUID or cs.ContentUID=c.AliasedContentUID))] [] []
[DEBUG] [5/4/12 1:29:24 PM] [] [Content Datamodel] [61] [] [serverUID =
f4367a1476ee6e330cb7d7b68ead20a2 , isSQLQuery = true] [] []
[DEBUG] [5/4/12 1:30:01 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Attempting to set update status to GLOBAL_PRE_ACTIONS with
message: ] [] []
[DEBUG] [5/4/12 1:30:01 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Status for update (5d023c0602f248d9aeeb7cca2e351111):
SCHEDULED] [] []
[DEBUG] [5/4/12 1:30:01 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Updated update (5d023c0602f248d9aeeb7cca2e351111) status to
GLOBAL_PRE_ACTIONS] [] []
[DEBUG] [5/4/12 1:30:01 PM] [] [Loader.SystemUpdateModule] [61] []
[FINE: Checking if we should run PreGlobalActions: true] [] []
[DEBUG] [5/4/12 1:30:01 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: PRU action starting] [] []
[DEBUG] [5/4/12 1:30:01 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Currently applied pru date: Thu Mar 01 00:00:00 CET 2012] [] []
[DEBUG] [5/4/12 1:30:01 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Update pru date:
java.util.GregorianCalendar[[time=1335842317000,areFieldsSet=true,areAll
FieldsSet=true,lenient=true,zone=sun.util.calendar .ZoneInfo[[id="Europe/
Vienna",offset=3600000,dstSavings=3600000,useDayli ght=true,transitions=1
39,lastRule=java.util.SimpleTimeZone[[id=Europe/Vienna,offset=3600000,ds
tSavings=3600000,useDaylight=true,startYear=0,star tMode=2,startMonth=2,s
tartDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode =2,endMode=2,
endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]]]],fi
rstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR =2012,MONTH=4,WEEK_OF_
YEAR=18,WEEK_OF_MONTH=1,DAY_OF_MONTH=1,DAY_OF_YEAR =122,DAY_OF_WEEK=3,DAY
_OF_WEEK_IN_MONTH=1,AM_PM=0,HOUR=5,HOUR_OF_DAY=5,M INUTE=18,SECOND=37,MIL
LISECOND=0,ZONE_OFFSET=3600000,DST_OFFSET=3600000]]] [] []
[DEBUG] [5/4/12 1:30:01 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Update pru is newer...starting extraction of pru files] [] []
[DEBUG] [5/4/12 1:30:01 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Executing ZIP action] [] []
[DEBUG] [5/4/12 1:30:01 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Extract directory specified as ''] [] []
[DEBUG] [5/4/12 1:30:01 PM] [] [Loader.SystemUpdateModule] [61] []
[FINE: There was an error getting the content from the content system]
[java.io.IOException: Destination
'/var/opt/novell/zenworks/system-update/apply/5d023c0602f248d9aeeb7cca2e
351111/zcmpru.zip' directory cannot be created
at org.apache.commons.io.FileUtils.copyFile(FileUtils .java:777)
at org.apache.commons.io.FileUtils.copyFile(FileUtils .java:731)
at
com.novell.zenworks.systemupdate.SystemUpdateUtil. copyFile(SystemUpdateU
til.java:456)
at
com.novell.zenworks.systemupdate.SystemUpdateUtil. extractExternalContent
To(SystemUpdateUtil.java:288)
at
com.novell.zenworks.systemupdate.SystemUpdateUtil. extractExternalContent
To(SystemUpdateUtil.java:259)
at
com.novell.zenworks.systemupdate.handlers.Abstract CommandHandler.extract
Content(AbstractCommandHandler.java:38)
at
com.novell.zenworks.systemupdate.handlers.ZipComma ndHandler.executeComma
nd(ZipCommandHandler.java:53)
at
com.novell.zenworks.systemupdate.handlers.PruComma ndHandler.executeComma
nd(PruCommandHandler.java:75)
at
com.novell.zenworks.loader.modules.queue.handlers. ProcessCommandsHandler
..executeCommands(ProcessCommandsHandler.java:65)
at
com.novell.zenworks.loader.modules.queue.handlers. PreGlobalHandler.proce
ssAction(PreGlobalHandler.java:117)
at
com.novell.zenworks.loader.modules.queue.runner.Qu eueThreadWorker.proces
sAction(QueueThreadWorker.java:212)
at
com.novell.zenworks.loader.modules.queue.runner.Qu eueThreadWorker.run(Qu
eueThreadWorker.java:143)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecuto
r.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.ja
va:908)
at java.lang.Thread.run(Thread.java:662)
] []
[DEBUG] [5/4/12 1:30:01 PM] [] [Loader.SystemUpdateModule] [61] []
[FINE: Unable to run global pre actions]
[com.novell.zenworks.systemupdate.exceptions.System UpdateException:
Unable to execute pru command
at
com.novell.zenworks.systemupdate.handlers.PruComma ndHandler.executeComma
nd(PruCommandHandler.java:96)
at
com.novell.zenworks.loader.modules.queue.handlers. ProcessCommandsHandler
..executeCommands(ProcessCommandsHandler.java:65)
at
com.novell.zenworks.loader.modules.queue.handlers. PreGlobalHandler.proce
ssAction(PreGlobalHandler.java:117)
at
com.novell.zenworks.loader.modules.queue.runner.Qu eueThreadWorker.proces
sAction(QueueThreadWorker.java:212)
at
com.novell.zenworks.loader.modules.queue.runner.Qu eueThreadWorker.run(Qu
eueThreadWorker.java:143)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecuto
r.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.ja
va:908)
at java.lang.Thread.run(Thread.java:662)
Caused by:
com.novell.zenworks.systemupdate.exceptions.System UpdateException:
Unable to unzip file
at
com.novell.zenworks.systemupdate.handlers.ZipComma ndHandler.executeComma
nd(ZipCommandHandler.java:65)
at
com.novell.zenworks.systemupdate.handlers.PruComma ndHandler.executeComma
nd(PruCommandHandler.java:75)
... 7 more
Caused by: java.io.IOException: Unable to extract content: zcmpru.zip
at
com.novell.zenworks.systemupdate.handlers.Abstract CommandHandler.extract
Content(AbstractCommandHandler.java:40)
at
com.novell.zenworks.systemupdate.handlers.ZipComma ndHandler.executeComma
nd(ZipCommandHandler.java:53)
... 8 more
] []
[DEBUG] [5/4/12 1:30:01 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Attempting to set update status to ERROR with message:
SystemUpdate.error.preglobalactions] [] []
[DEBUG] [5/4/12 1:30:01 PM] [] [Loader.SystemUpdateModule] [61] []
[FINEST: Updated update (5d023c0602f248d9aeeb7cca2e351111) status to
ERROR] [] []

The line:

[FINE: There was an error getting the content from the content system]
[java.io.IOException: Destination
'/var/opt/novell/zenworks/system-update/apply/5d023c0602f248d9aeeb7cca2e
351111/zcmpru.zip' directory cannot be created

seems to be suspect to me as there does not exist a
'/var/opt/novell/zenworks/system-update/apply/' directory

(despite of the fact that the zenworks user has full rights in the
zenworks directory, so it could be created if necessary) but the
downloaded zcmpru.zip is found in

/var/opt/novell/zenworks/content-repo/system-update/5D023C0602F248d9AEEB
7CCA2E351111

Should the '/var/opt/novell/zenworks/system-update/apply/' directory
exist?

--
W. Prindl