J'ai installer GLPI et OCS Inventory sur un server Ubuntu.
GLPI marche tres bien, OCS aussi pour ce qui concerne l'interface :
Le proble c'est quand je m'attaque à l'inventaire :
J'ai fait un ocspackage.exe et je l'execute manuelement sur mon poste.
Voila le contenu de mon fichier [non_de_post].log :
OCS INVENTORY ver. 4050 Starting session for Device <[Nom_post_client]> on Tuesday, February 03, 2009 15:21:17... Command line parameters: <</INSTALL /SERVER:[@server] /PNUM:80 /NP /DEBUG /auth_user: /auth_pwd:>> HTTP SERVER: Connection WITHOUT proxy HTTP SERVER: Opening Internet connection to download <http://[@server]:80/ocsinventory/deploy/label>...ERROR: HTTP status code 500 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 <[Nom_post_client]-2009-02-03-15-12-00> and <[@MAC_Client]> 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 (1 objects). CHECKINGS: write <[Nom_post_client]-2009-02-03-15-12-00> and <[@MAC_Client]> in ocsinventory.dat HTTP SERVER: Creating CInternetSession to get inventory parameters...OK. HTTP SERVER: Getting HTTP Connection to server [@server] port 80 using no authentication...OK. HTTP SERVER: Sending prolog query...ERROR: HTTP status code 500 HTTP SERVER: Closing HTTP connection WMI Disconnect: Disconnected from WMI namespace. Writing last inventory state not required. Execution duration: 00:00:01.
Je pense que ca viens de la config d'apache mais le code HTTP 500 n'est pas très expliciete (Problème Interne ..)
Sinon, dans mon fichier download.log, j'ai cela :
C:\Program Files\OCS Inventory Agent - OCS INVENTORY DOWNLOAD ver. 1 C:\Program Files\OCS Inventory Agent - Starting on Tuesday, February 03, 2009 15:34:38... Command line parameters: <</INSTALL /SERVER:[IP_server] /PNUM:80 /NP /DEBUG /auth_user: /auth_pwd:>> C:\Program Files\OCS Inventory Agent - ERROR: Can't chdir to <C:\Program Files\OCS Inventory Agent\\download> folder C:\Program Files\OCS Inventory Agent - End of work
Merci de votre aide tout le monde
Nouabi
