You are not logged in.
Pages: 1
Bonjour,
mon message concerne un soucis que je rencontre depuis la mise en place de l'OCS et j'aimerais savoir si quelqu'un a déjà rencontré cette problématique
j'install l'ocs a l'aide d'un fichier bat qui demande le tag mais comme les log le montre celui ci est bien pris en compte mais ne s'inscrit pas dans la base
mon tag n'est pas pris en compte
ocspackage.log
ocspackage.exe_:_********************************************************
ocspackage.exe_:_Starting Ocspackager on 05/08/2011 at 9:34:12
ocspackage.exe_:_Contents: OCS-NG-Windows-Agent-Setup.exe v2.0.0.20
ocspackage.exe_:_Temp dir: C:\DOCUME~1\DRRAOU~1\LOCALS~1\Temp\nsx4056.tmp\
ocspackage.exe_:_Parameters value is overloaded with: /TAG:/TAG:Dr_DUPONT_Toto
ocspackage.exe_:_Parameters: /TAG:Dr_DUPONT_Toto /S /DEBUG /NP /INSTALL /SERVER=http://ocs-xxx.fr:27015/ocsinventory /NOW /NOSPLASH /NO_SYSTRAY
ocspackage.exe_:_Install folder: C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent
ocspackage.exe_:_Certificate: C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent\cacert.pem
ocspackage.exe_:_File collection:
ocspackage.exe_:_Testing current user IsUserAdmin:
ocspackage.exe_:_User= "Dr Toto DUPONT" AccountType= "Admin" IsUserAdmin= "true"
ocspackage.exe_:_User is Admin:
ocspackage.exe_:_Launching setup directly...
instocs.exe_:_Attempt to create "C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent" dir...
instocs.exe_:_Copying certificate:cacert.pem to "C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent\"...
instocs.exe_:_Lauching OcsSetup.exe (see Contents)...
instocs.exe_:_============== Start of OcsSetup.exe log =============
********************************************************
Starting OCS Inventory NG Agent 2.0.0.20 setup on 05/08/2011 at 9:34:17
Checking if setup not already running...OK.
Checking Operating System...OK, Windows 2000 or higher.
Command line is: "C:\DOCUME~1\DRRAOU~1\LOCALS~1\Temp\nsx4056.tmp\OcsSetup.exe" /TAG:Dr_DUPONT_Toto /S /DEBUG /NP /INSTALL /SERVER=http://ocs-xxx.fr:27015/ocsinventory /NOW /NOSPLASH /NO_SYSTRAY
Parsing command line arguments...OK.
Checking for silent mode...Enabled.
Checking for splash screen...Disabled.
Checking if logged in user has Administrator privileges...OK.
Creating directory <C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent>...
SetACL allowing Users / Power users read/write permissions on <C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent>...Result: 0
SetACL removing inherited permissions on <C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent\Download>...Result: 0
SetACL allowing System and Administrators full permissions on <C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent\Download>...Result: 0
SetACL allowing Users / Power Users read only permissions on <C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent\Download>...Result: 0
Trying to determine if service was previously installed...No.
Trying to stop service and kill processes...
Trying to kill process OcsSystray.exe...Result: 603
Trying to kill process OcsService.exe...Result: 603
Trying to kill process OCSInventory.exe...Result: 603
Trying to kill process download.exe...Result: 603
Trying to kill process inst32.exe...Result: 603
Waiting 10 seconds for processes to terminate...
Copying new files to directory <C:\Program Files\OCS Inventory Agent>...
Windows XP or higher detected, installing default cURL library and MS CRT/MFC 9.0...
Copying new files status is ;-)
Writing agent configuration file by launching ocsinventory.exe /SAVE_CONF...Result: 0
[/NOW] used, so launching "C:\Program Files\OCS Inventory Agent\ocsinventory.exe"...Result: 0
[/NO_SYSTRAY] used, so removing Systray applet startup menu shortcut <C:\Documents and Settings\All Users\Menu Démarrer\Programmes\Démarrage\OCS Inventory NG Systray.lnk>...
Checking if service OCS Inventory Service is registered into Windows Service Manager...No
Registering OCS Inventory Service into Windows Service Manager...Result: 0.
Starting OCS Inventory Service...Ok.
SUCESS: OCS Inventory NG Agent 2.0.0.20 successfuly installed on 05/08/2011 at 9:35:20
;-)
instocs.exe_:_============== End of OcsSetup.exe log =============
instocs.exe_:_End of instocs.exe on 05/08/2011 at 9:35:20
ocspackage.exe_:_End of ocspackage.exe on 05/08/2011 at 9:35:21
====================================================
ocsinventory.ini
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=0
Local=
HKCU=0
NoTAG=0
IpDisc=
========================================================
admininfo.conf
<?xml version="1.0" encoding="UTF-8" ?>
<ACCOUNTINFO>
<KEYNAME>TAG</KEYNAME>
<KEYVALUE>NA</KEYVALUE>
</ACCOUNTINFO>
merci d'avance à celui qui débloquera la situation et grâce à qui je pourrais alors déployer glpi
OCS 2.1.2 / GLPI 0.85.2 + OCS Inventory NG 1.1.0 + plugins
Offline
C'ets un problème OCS, donc voir sur leur forum
Offline
Je n'utilise plus l'agent OCS mais je ne comprends pas l'origine du "/TAG : tag" alors que les autres arguments sont plutôt "/SERVER = http...".
Si c'est un bug de l'agent OCS, ce n'est pas ici qu'il sera corrigé, donc il faudra persévérer au bon endroit
Last edited by EmpereurZorg (2011-08-15 11:52:50)
Version GLPI : 10.0.6 + Plug'in Glpi + Agent Fusion 2.4
Plateforme : Win Server 2019 , Apache 2.4, PHP 8.1
Offline
le commutateur tag est interpreté par ocspackager.exe
je ne sais pas si c'est un bug, j'ai l'impression d'etre le seul à rencontrer le probleme
OCS 2.1.2 / GLPI 0.85.2 + OCS Inventory NG 1.1.0 + plugins
Offline
apparement non, je vais continuer sur le forum ocs plus approprié en espérant une réponse
OCS 2.1.2 / GLPI 0.85.2 + OCS Inventory NG 1.1.0 + plugins
Offline
Pages: 1