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

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

Log incohérent lors d'un déploiement [closed]

Bonjour,

Lors d'un déploiement tout se passe bien sur la machine visée. Le paquet est chargé et le fichier bat associé bien exécuté. Pourtant dans les logs le déploiement génère une erreur (TIME-OUT):

Starting OCS Inventory NG Package Download and Setup Tool on Thursday, May 26, 2016 13:01:44.
DOWNLOAD => Running OCS Inventory NG Download Version 2.1.1.3
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.1.1.3
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.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\1464095598>
DOWNLOAD => Package <1464095598> verified and added to process queue
    DOWNLOAD => Processing packages for cycle 1 on Thursday, May 26, 2016 13:01:44
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 2 on Thursday, May 26, 2016 13:02:44
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 3 on Thursday, May 26, 2016 13:03:44
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 4 on Thursday, May 26, 2016 13:04:44
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 5 on Thursday, May 26, 2016 13:05:44
DOWNLOAD => Executing action <LAUNCH> for package <1464095598>
    PACKAGE => Launching command <go.bat> for package <1464095598> on <Thursday, May 26, 2016 13:05:49>
    WARNING *** PACKAGE => Command <go.bat> execution reached timeout on <Thursday, May 26, 2016 15:06:32> (    PACKAGE => No post execution command provided for package <1464095598>
ERROR *** DOWNLOAD => Will not register package <1464095598> in history: result <ERR_EXECUTE_TIMEOUT> not a success
DOWNLOAD => Sending result code <ERR_EXECUTE_TIMEOUT> for package <1464095598>
    DID_CHECK => Read DeviceID <N3SMOTL122-2016-02-02-15-18-02> and MACs <00:50:56:8E:71:1600:50:56:8E:64:C100:50:56:8E:79:E7> 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 <cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <https://n3smope933_adm/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 6 on Thursday, May 26, 2016 15:07:42
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 7 on Thursday, May 26, 2016 15:08:42
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 8 on Thursday, May 26, 2016 15:09:42
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 9 on Thursday, May 26, 2016 15:10:42
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 10 on Thursday, May 26, 2016 15:11:42
    DOWNLOAD => Pausing for cycle latency (60 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: 02:11:00.

Quels en peuvent être la cause et le moyen de le corriger ?

Nous avons un serveur OCS windows 2.1.2 et des agents windows 2.1.1.3

Merci.

Cordialement,
closed with the note: Abandonnée
in OCS Inventory NG server for Windows by (420 points)
closed by

2 Answers

0 votes
Hi

With .bat or .cmd command you must use launch method not execute method. Now you must delete your package and build a new with launch method.

Regards

Frank.
by (90.2k points)
edited by
0 votes
Bonjour,

Nous avons bien utilisé la méthode launch.

Cordialement.
by (420 points)
 
Powered by Question2Answer
...