Software deployment unknown error

(imported topic written by pdentico91)

Hi,

I have created a software distribution task using the wizard to deploy and install some dll’s for a BlackBerry Enterprise Server. The part of the action script that is generated by the wizard is not touched but I do a lot of custom action scripting after it. In the console it says the job failed, and in the logs on the client exists the error “MoveFiles before running action failed”. I can’t find this error anywhere on your support site so I’m not sure what it really means. Below is the log info from the deployment and below that is the action script from the task.

Begin Log info

At 09:40:22 -0400 - actionsite (http://bigfix.xxxxx.com:52311/cgi-bin/bfgather.exe/actionsite)

Relevant - Software Distribution - Deploy: BLackBerry Enterprise Server pdf fix KB18327-CMT (fixlet:17346)

At 09:40:22 -0400 -

DownloadsAvailable: checking for ‘http://relay.xxxxxx.com:52311/bfmirror/downloads/17346/0

At 09:40:23 -0400 -

DownloadsAvailable: false (action id 17346)

At 09:40:25 -0400 -

Report posted successfully.

At 09:41:25 -0400 -

Report posted successfully.

At 09:41:34 -0400 -

DownloadPing command received

DownloadsAvailable: checking for ‘http://relay.xxxxx.com:52311/bfmirror/downloads/17346/0

At 09:41:35 -0400 -

DownloadsAvailable: true (action id 17346)

DownloadsAvailable: checking for ‘http://relay.xxxxx.com:52311/bfmirror/downloads/17346/0

DownloadsAvailable: true (action id 17346)

ActionLogMessage: (action 17346 ) Non-Distributed - DownloadsAvailable

ActionLogMessage: (action 17346 ) Submitting download request

ActionLogMessage: (action 17346 ) Download url: ‘http://bigfix.xxxxx.com:52311/Uploads/0c3be88803215fad0ab6e2ba361d418d90b664a9/bes_as_fix_324730_4.1.6.tmp

At 09:42:37 -0400 -

ActionLogMessage: (action 17346 ) JobReady - ok to start

At 09:42:38 -0400 -

ActionLogMessage: (action 17346 ) action signature verified

ActionLogMessage: (action 17346 ) MoveFiles before running action failed

At 09:42:41 -0400 -

ActionLogMessage: (action 17346 ) ending action

End Log info

Begin action script

download http://bigfix.xxxxx.com:52311/Uploads/0c3be88803215fad0ab6e2ba361d418d90b664a9/bes_as_fix_324730_4.1.6.tmp

continue if {(size of it = 2066385 AND sha1 of it = “0c3be88803215fad0ab6e2ba361d418d90b664a9”) of file “bes_as_fix_324730_4.1.6.tmp” of folder “__Download”}

extract bes_as_fix_324730_4.1.6.tmp

wait dos net stop “BBAttachServer”

wait dos net stop “BlackBerry Dispatcher”

wait dos regsvr32 /u BBDM_PDF.dll

wait dos regsvr32 /u BBRenderingDecorator.dll

wait dos regsvr32 /u BBXRenderingDecorator.dll

move “{preceding text of last “” of pathname of regapp “BlackBerryAgent.exe” as string & “\AttachServer\BBDecorator\BBRenderingDecorator.dll”}” “{preceding text of last “” of pathname of regapp “BlackBerryAgent.exe” as string & “\AttachServer\BBDecorator\BBRenderingDecorator.4.1.6.old”}”

move “{preceding text of last “” of pathname of regapp “BlackBerryAgent.exe” as string & “\AttachServer\BBDecorator\BBXRenderingDecorator.dll”}” “{preceding text of last “” of pathname of regapp “BlackBerryAgent.exe” as string & “\AttachServer\BBDecorator\BBRenderingDecorator.4.1.6.old”}”

move “{preceding text of last “” of pathname of regapp “BlackBerryAgent.exe” as string & “\AttachServer\BBDistiller\BBDM_PDF.dll”}” “{preceding text of last “” of pathname of regapp “BlackBerryAgent.exe” as string & “\AttachServer\BBDistiller\BBDM_PDF.4.1.6.old”}”

copy __Download\bes_as_fix_324730_4.1.6\BBDecorator\BBRenderingDecorator.dll “{preceding text of last “” of pathname of regapp “BlackBerryAgent.exe” as string & “\AttachServer\BBDecorator\BBRenderingDecorator.dll”}”

copy __Download\bes_as_fix_324730_4.1.6\BBDecorator\BBXRenderingDecorator.dll “{preceding text of last “” of pathname of regapp “BlackBerryAgent.exe” as string & “\AttachServer\BBDecorator\BBXRenderingDecorator.dll”}”

copy __Download\bes_as_fix_324730_4.1.6\BBDistiller\BBDM_PDF.dll “{preceding text of last “” of pathname of regapp “BlackBerryAgent.exe” as string & “\AttachServer\BBDistiller\BBDM_PDF.dll”}”

wait dos regsvr32 “{preceding text of last “” of pathname of regapp “BlackBerryAgent.exe” as string & “\AttachServer\BBDecorator\BBRenderingDecorator.dll”}”

wait dos regsvr32 “{preceding text of last “” of pathname of regapp “BlackBerryAgent.exe” as string & “\AttachServer\BBDecorator\BBXRenderingDecorator.dll”}”

wait dos regsvr32 “{preceding text of last “” of pathname of regapp “BlackBerryAgent.exe” as string & “\AttachServer\BBDistiller\BBDM_PDF.dll”}”

wait dos net start “BBAttachServer”

wait dos net start “BlackBerry Dispatcher”

End Action Script

Any help would be appreciated.

Thanks,

(imported comment written by BenKus)

Hi pdentico,

Do you happen to have any agent files/folders open on these systems? The agent will want to clean out and delete files/folders before it starts an action and I think this error is indicating it couldn’t do that…

Ben