Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

ERROR *** DOWNLOAD

I'm able to store packages. But when I try to launch the error happens.

Starting OCS Inventory NG Package Download and Setup Tool on Friday, August 26, 2016 09:57:31.
DOWNLOAD => Running OCS Inventory NG Download Version 2.1.0.3
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.1.0.3
DOWNLOAD => Using network connection with Communication Server
    COM PROVIDER => Loading Communication Provider <C:\Program Files\OCS Inventory Agent\ComHTTP.dll>
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.0.3>
DOWNLOAD => Starting new period of 10 cycles
    DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
    DOWNLOAD => Verifying package <C:\ProgramData\OCS Inventory NG\Agent\download\1472215650>
DOWNLOAD => Package <1472215650> verified and added to process queue
    DOWNLOAD => Processing packages for cycle 1 on Friday, August 26, 2016 09:57:31
DOWNLOAD => Downloading package fragment <1472215650-1>
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Disabling cURL SSL server validation support
    COM SERVER => Sending fileGet request to URL <HTTP://172.20.3.67/download/1472215650/1472215650-1>
    COM SERVER => fileGet response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
    DOWNLOAD => Pausing for fragment latency (10 seconds)
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 2 on Friday, August 26, 2016 09:58:42
DOWNLOAD => Building package <1472215650>
    PACKAGE => Verifying fragment files of package <1472215650>
    PACKAGE => Checking free disk space for package <1472215650>
    PACKAGE => Building ZIP for package <1472215650>
    PACKAGE => Verifying ZIP signature for package <1472215650>
    DOWNLOAD => Package <1472215650> built successfully
DOWNLOAD => Executing action <LAUNCH> for package <1472215650>
    PACKAGE => Launching command <schedule_uninst_bsplayer.bat> for package <1472215650> on <Friday, August 26, 2016 09:58:43>
    PACKAGE => Package <1472215650> successfully launched. Command exit code is <255>
    PACKAGE => No post execution command provided for package <1472215650>
ERROR *** DOWNLOAD => Will not register package <1472215650> in history: result <EXIT_CODE_255> not a success
DOWNLOAD => Sending result code <EXIT_CODE_255> for package <1472215650>
    DID_CHECK => Read DeviceID <SZ-S400014912-2015-10-23-17-04-10> and MACs <00:14:0B:6E:A5:9F74:F0:6D:4D:80:640A:00:27:00:00:0016:F0:6D:4D:80:64> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Disabling cURL SSL server validation support
    COM SERVER => Sending HTTP Post request to URL <http://172.20.3.67/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
    DOWNLOAD => Result code request successfully sent
    DOWNLOAD => Pausing for fragment latency (10 seconds)
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 3 on Friday, August 26, 2016 09:59:55
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 4 on Friday, August 26, 2016 10:00:55
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 5 on Friday, August 26, 2016 10:01:55
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 6 on Friday, August 26, 2016 10:02:55
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 7 on Friday, August 26, 2016 10:03:55
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 8 on Friday, August 26, 2016 10:04:55
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 9 on Friday, August 26, 2016 10:05:55
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 10 on Friday, August 26, 2016 10:06:55
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Pausing for period latency (60 seconds)
DOWNLOAD => Starting new period of 10 cycles
    DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
DOWNLOAD => No package found, exiting
DOWNLOAD => Unloading communication provider
DOWNLOAD => Execution duration: 00:11:25.
in Package deployment by (730 points)

1 Answer

0 votes
Hi,

The OCS Agent execute correctly your package.

PACKAGE => Launching command <schedule_uninst_bsplayer.bat> for package
Package <1472215650> successfully launched. Command exit code is <255>

The script schedule_uninst_bsplayer.bat return exit code 255. OCS agent expect the exit code 0.

Regards
by (6.2k points)
 
Powered by Question2Answer
...