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.

Mon problème avec Ocsinventory.ini

Bonjour,

J'ai installé un serveur Ocsinventory sous Ubuntu 16.04... Je déploie l'agent OCS par une GPO pour mon parc informatique Windows!!

Le problème c'est que je n'ai aucune remontée d'inventaire ; Pourtant, l'inventaire s'effectue parfaitement en local (mon ocsinventory.log montre l'erreur :ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>).

Aussi, je n'arrive pas à modifier mon fichier ocsinventory.ini qui s'affiche comme suit :

[OCS Inventory Service]
TTO_WAIT=840
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=0
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://X.X.X.X/ocsinventory:80/ocsinventory
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=

Aidez-moi
in OCS Inventory NG agent for Windows by (320 points)

1 Answer

0 votes
Bonjour

Il faut arrêter le service ocsinventory, ensuite tu pourras modifier le fichier ocsinventory.ini.

Quelles erreurs as-tu dans le fichier error_log d'apache?

Cordialement

Frank
by (88.5k points)
Merci pour votre réponse

Même si j'arrête le service, je n'arrive pas à modifier le fichier (erreur: accès refusé)

Où puis-je trouver le fichier error_log??
Bonjour,

Pour editer ton ocsinventory.ini, il faut que ton editeur de texte (Notepad j'imagine) soit lancé en tant qu'administrateur. Personnellement, je lance une invite de commande en tant qu'admin, puis je lance notapad depuis cette ligne de commande et je vais ouvrir ensuite le fichier .ini.

Bexounet.
Super!!  J'ai modifié le fichier ocsinventory.ini ainsi l'inventaire s'effectue parfaitement.

Merci beaucoup pour votre aide...
J'ai une petite question!!

Est-ce que je dois faire le tour de mon parc informatique afin de modifier ocsinventory.ini de chaque ordinateur??
 
Powered by Question2Answer
...