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.6 available

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

Cannot install package

Hello,

 

I am trying to deploy a package (ccleaner), but I always get this error on all package deployment on all computer.

 

I used the launch command with this settings : ccsetup.exe /S /L=1036 :

Starting OCS Inventory NG Package Download and Setup Tool on Tuesday, April 21, 2015 08:24:56.
DOWNLOAD => Running OCS Inventory NG Download Version 2.1.1.1
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.1.1.1
DOWNLOAD => Using network connection with Communication Server
    COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.1>
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\1429600806>
DOWNLOAD => Package <1429600806> verified and added to process queue
    DOWNLOAD => Processing packages for cycle 1 on Tuesday, April 21, 2015 08:24:56
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 2 on Tuesday, April 21, 2015 08:24:57
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 3 on Tuesday, April 21, 2015 08:24:58
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 4 on Tuesday, April 21, 2015 08:24:59
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 5 on Tuesday, April 21, 2015 08:25:00
DOWNLOAD => Downloading package fragment <1429600806-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://IP/download/1429600806/1429600806-1>
    COM SERVER => fileGet response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
    DOWNLOAD => Pausing for fragment latency (1 seconds)
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 6 on Tuesday, April 21, 2015 08:25:04
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 7 on Tuesday, April 21, 2015 08:25:05
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 8 on Tuesday, April 21, 2015 08:25:06
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 9 on Tuesday, April 21, 2015 08:25:07
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 10 on Tuesday, April 21, 2015 08:25:08
DOWNLOAD => Building package <1429600806>
    PACKAGE => Verifying fragment files of package <1429600806>
    PACKAGE => Checking free disk space for package <1429600806>
    PACKAGE => Building ZIP for package <1429600806>
    PACKAGE => Verifying ZIP signature for package <1429600806>
    DOWNLOAD => Package <1429600806> built successfully
DOWNLOAD => Executing action <LAUNCH> for package <1429600806>
    PACKAGE => Launching command <ccsetup.exe /S /L=1036> for package <1429600806> on <Tuesday, April 21, 2015 08:25:08>
    PACKAGE => Package <1429600806> successfully launched. Command exit code is <1>
    PACKAGE => No post execution command provided for package <1429600806>
ERROR *** DOWNLOAD => Will not register package <1429600806> in history: result <EXIT_CODE_1> not a success
DOWNLOAD => Sending result code <EXIT_CODE_1> for package <1429600806>
    DID_CHECK => Read DeviceID <RAV3N-N3ST-2015-04-21-08-19-39> and MACs <44:8A:5B:D0:58:59> 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 <https://IP/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 (1 seconds)
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Pausing for period latency (1 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:00:18.

 

Do you have any idea?

 

Best regards,

 

Vincent
in OCS Inventory NG agent for Windows by (200 points)

3 Answers

0 votes
Hello,

 

This is strange even executing a command is not working ;

 

==============================================================================
Starting OCS Inventory NG Package Download and Setup Tool on Tuesday, April 21, 2015 10:37:28.
DOWNLOAD => Running OCS Inventory NG Download Version 2.1.1.1
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.1.1.1
DOWNLOAD => Using network connection with Communication Server
    COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.1>
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\1429608885>
DOWNLOAD => Package <1429608885> verified and added to process queue
    DOWNLOAD => Processing packages for cycle 1 on Tuesday, April 21, 2015 10:37:28
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 2 on Tuesday, April 21, 2015 10:37:29
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 3 on Tuesday, April 21, 2015 10:37:30
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 4 on Tuesday, April 21, 2015 10:37:31
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 5 on Tuesday, April 21, 2015 10:37:32
DOWNLOAD => Executing action <EXECUTE> for package <1429608885>
    PACKAGE => Executing command <\\guardian\ofcscan\autopcc.exe> for package <1429608885> on <Tuesday, April 21, 2015 10:37:32>
    PACKAGE => Package <1429608885> successfully executed. Command exit code is <0>
    PACKAGE => No post execution command provided for package <1429608885>
DOWNLOAD => Sending result code <SUCCESS> for package <1429608885>
    DID_CHECK => Read DeviceID <ALUCARD-2015-04-20-15-19-36> and MACs <00:15:5D:06:0C:0B> 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 => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\ocs.crt>
    COM SERVER => Sending HTTP Post request to URL <https://IP/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 (1 seconds)
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 6 on Tuesday, April 21, 2015 10:37:44
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 7 on Tuesday, April 21, 2015 10:37:45
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 8 on Tuesday, April 21, 2015 10:37:46
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 9 on Tuesday, April 21, 2015 10:37:47
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Processing packages for cycle 10 on Tuesday, April 21, 2015 10:37:48
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Pausing for period latency (1 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:00:23.

 

It says sucessfull but, the command was not launched and nothing happened.

could it be a right issue,do I need a script to elevate the right of the ocs agent (it is already running on the admin session)?

 

Bets regards,

 

N3ST
by (200 points)
0 votes
Je me demande si c'est moi qui ne sait pas déployer les package.

 

Si je cherche a déployer ccleaner.

 

Je met la création de package en launch, puis je rentre les information suivante :

ccsetup.exe /S /L=1036

 

Je vois bien que le fichier est bien téléchargé, la commande exécute mais rien en se passe.

 

est ce que quelqu'un a une idée?

 

Merci d'avance.
by (200 points)
0 votes
Hi,

Please post the content of ocsinventory-ng.log and download.log files.

Best regards
by (70.6k points)
 
Powered by Question2Answer
...