Bonjour,
j'ai OCSInventory sur un serveur Win 2003 et un agent sur un poste windows 7 installé avec ocsagentsetup.exe et jusque là je jongle entre une erreur 404 de communication avec le serveur et un probleme de non-résolution de l'adresse du serveur.
Pour la non-résolution (ce que j'ai actuellement) :
Voilà mon fichier service.ini :
Mon fichier <posteclient>.log :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 [OCS_SERVICE] Server=192.168.1.XXX Pnum=80 NoProxy=0 Miscellaneous= /SERVER:192.168.1.XXX /PNUM:80 /DEBUG auth_user=none auth_pwd=none PROLOG_FREQ=10 OLD_PROLOG_FREQ=10 TTO_WAIT=16680
Bizarrement il ne prend pas l'adresse du serveur, idem si j'essaye avec le nom du serveur.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 HTTP SERVER: Opening Internet connection to download <http://ocsinventory-ng:80/ocsinventory/deploy/label>...ERROR: Unable to download <http://ocsinventory-ng:80/ocsinventory/deploy/label>: L'adresse ou le nom de serveur n'a pas pu être résolu HTTP SERVER: Closing HTTP connection...OK WMI Connect: Trying to connect to WMI namespace root\cimv2 on device <Localhost>...OK. Registry Connect: Trying to connect to HKEY_LOCAL_MACHINE on device <Localhost>...OK. CHECKINGS: read <PC-006-2010-09-07-17-03-51> and <00:25:64:94:8D:2308:00:27:00:B0:52> in ocsinventory.dat IpHlpAPI GetNetworkAdapters... IpHlpAPI GetNetworkAdapters: Calling GetIfTable to determine network adapter properties...OK IpHlpAPI GetNetworkAdapters: Calling GetAdapterInfo to determine IP Infos...OK IpHlpAPI GetNetworkAdapters: OK (2 objects). CHECKINGS: write <PC-006-2010-09-07-17-03-51> and <00:25:64:94:8D:2308:00:27:00:B0:52> in ocsinventory.dat HTTP SERVER: Creating CInternetSession to get inventory parameters...OK. HTTP SERVER: Getting HTTP Connection to server ocsinventory-ng port 80 using no authentication...OK. HTTP SERVER: Sending prolog query... HTTP SERVER: L'adresse ou le nom de serveur n'a pas pu être résolu HTTP SERVER: Closing HTTP connection WMI Disconnect: Disconnected from WMI namespace. Writing last inventory state not required. Execution duration: 00:00:05.
j'ai retenté l'install de l'agent en vérifiant tout les paramètres mais le problème persiste.
quelqu'un aurait-il une idée du problème ?
ensuite, quand la résolution se fait, j'ai une erreur 404 sur apache avec le log suivant :
et effectivement je n'ais aucun répertoire ocsinventory dans htdocs
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 [Tue Sep 07 16:48:19 2010] [error] [client 192.168.x.x] File does not exist: D:/xampp/htdocs/ocsinventory
Que dois je faire ?
D'avance merci !
Partager