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.

Déploiement OK mais agent qui plante

Bonjour à tous,

J'ai commencé à mettre en place une solution OCS sur mon parc informatique.

Apres des heures ou plutot des jours d'acharnement tout est ok, mes agents remontent bien, je peux déployer et installer des logiciels comme 7zip, firefox adobe ...

Quand j'utilise ( hors OCS ) mes scripts pour lancer par exemple un .exe en silencieux et que j'ai un message d'erreur pendant l'installation, l'installation ne se fait pas basta pas de problème.

(exemple => un patch de mise à jour d'un programme d'un programme déja à jour )

Quand je lance mon déploiement de ce paquet via OCS , il télécharge bien le paquet , le décompresse lance bien la commande qu eje lui ai associé et bien sur ne peux pas finir l'installation à cause de l'anomalie.

Au lieu de m'informer que l'installation n'a pas pu se faire correctement mes logs indiquent que la derniere chose effectuée et le lancement de la commande pour l'install de ce log.

Du coup l'agent ne se synchronise plus avec le serveur et mon deploiement reste en notified.

J'ai essayer de redemmarer le poste, les service de l'agent etc. rien n'y fait.

Je dois désinstaller l'agent.

Bien supprimer tout le dossier ocs dans programdata et re installer.

Quelqu'un à une idée?

Merci d'avance
in OCS Inventory NG agent for Windows by (160 points)

2 Answers

0 votes
Bonjour,

merci de poster le contenu des fichiers ocsinventory.log et download.log.

Cordialement

Frank
by (90.4k points)
0 votes

Ci dessous les logs du fichier download

On voit bien que l'agent ocs lance le .bat mais l'action ne finit jamais du coup ocs ne se resynchronise plus avec le serveur et devient inutilisable

 

 

Starting OCS Inventory NG Package Download and Setup Tool on Friday, December 18, 2015 15:27:20.
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\1450448662>
DOWNLOAD => Package <1450448662> verified and added to process queue
 DOWNLOAD => Processing packages for cycle 1 on Friday, December 18, 2015 15:27:20
 DOWNLOAD => Pausing for cycle latency (5 seconds)
 DOWNLOAD => Processing packages for cycle 2 on Friday, December 18, 2015 15:27:25
 DOWNLOAD => Pausing for cycle latency (5 seconds)
 DOWNLOAD => Processing packages for cycle 3 on Friday, December 18, 2015 15:27:30
 DOWNLOAD => Pausing for cycle latency (5 seconds)
 DOWNLOAD => Processing packages for cycle 4 on Friday, December 18, 2015 15:27:35
 DOWNLOAD => Pausing for cycle latency (5 seconds)
 DOWNLOAD => Processing packages for cycle 5 on Friday, December 18, 2015 15:27:40
DOWNLOAD => Downloading package fragment <1450448662-1>
 COM SERVER => Initializing cURL library for getFile
 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 fileGet request to URL <HTTP://srv-deploiement.advini.local/download/1450448662/1450448662-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 (5 seconds)
 DOWNLOAD => Processing packages for cycle 6 on Friday, December 18, 2015 15:27:55
 DOWNLOAD => Pausing for cycle latency (5 seconds)
 DOWNLOAD => Processing packages for cycle 7 on Friday, December 18, 2015 15:28:00
 DOWNLOAD => Pausing for cycle latency (5 seconds)
 DOWNLOAD => Processing packages for cycle 8 on Friday, December 18, 2015 15:28:05
 DOWNLOAD => Pausing for cycle latency (5 seconds)
 DOWNLOAD => Processing packages for cycle 9 on Friday, December 18, 2015 15:28:10
 DOWNLOAD => Pausing for cycle latency (5 seconds)
 DOWNLOAD => Processing packages for cycle 10 on Friday, December 18, 2015 15:28:15
DOWNLOAD => Building package <1450448662>
 PACKAGE => Verifying fragment files of package <1450448662>
 PACKAGE => Checking free disk space for package <1450448662>
 PACKAGE => Building ZIP for package <1450448662>
 PACKAGE => Verifying ZIP signature for package <1450448662>
 DOWNLOAD => Package <1450448662> built successfully
DOWNLOAD => Executing action <EXECUTE> for package <1450448662>
 PACKAGE => Executing command <SAPMAJ.bat> for package <1450448662> on <Friday, December 18, 2015 15:28:15>

by (160 points)
 
Powered by Question2Answer
...