You are not logged in.
J'ai une version OCr3-1 d'installe sur une debian sarge.
Qd j'essaie d'importer depuis un poste en local ou en reseau via le script, j'ai l erreur suivante.
error: hhttp error:403.
ci joint fichier log apres tentative de scan via script login/
OCS INVENTORY ver. 4026 Starting session for Device <SERV1> on Thursday, December 07, 2006 17:43:24...
Command line parameters: <</DEBUG /NP /DEPLOY:80 /server:172.16.0.240>>
HTTP SERVER: Connection WITHOUT proxy
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.
SetupAPI Connect: Trying to connect to SetupAPI on device <Localhost>...OK.
CHECKINGS: read <SERV1-2006-12-07-17-43-01> and <00:12:79:D4:2B:A1> 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 <SERV1-2006-12-07-17-43-01> and <00:12:79:D4:2B:A1> in ocsinventory.dat
HTTP SERVER: Creating CInternetSession to get inventory parameters...OK.
HTTP SERVER: Connecting to server 172.16.0.240 port 80...OK.
HTTP SERVER: Sending prolog query...Http code (200)...OK
OK.
HTTP SERVER: Receiving prolog response...OK.
ERROR: Won't change PROLOG_FREQ to 0
HTTP SERVER: INV : Inventory requested by server
HTTP SERVER: Closing HTTP connection
Retrieving Device informations...
getUserName: Trying to get logged on User ID...
getUserName: Will using Process32...OK
User found (explorer): administrateur.
WMI GetOS: Trying to find Win32_OperatingSystem WMI objects...OK (Microsoft Windows Server 2003 Standard Edition 5.2.3790 Service Pack 1 2 ).
WMI GetDomainOrWorkgroup: Trying to find Win32_ComputerSystem WMI objects...OK (grigny-2003.lan)
WMI GetBiosInfo: Trying to find Win32_ComputerSystem WMI objects...OK (HP ProLiant ML370 G4)
WMI GetBiosInfo: Trying to find Win32_SystemEnclosure WMI objects...OK (HP ProLiant ML370 G4 GB8523BTEC 2)
WMI GetBiosInfo: Trying to find Win32_Bios WMI objects...OK (HP N/A GB8523BTEC )
WMI GetProcessors: Trying to find Win32_Processor WMI objects...Intel(R) Xeon(TM) CPU 3.40GHz 3400 (x86 Family 15 Model 4 Stepping 1). OK
WMI GetProcessors: 2 processor(s) found.
getMemory...Physical: 1073844224 bytes, Swap: 2594344960 bytes. OK
WMI GetMemorySlots: Trying to find Win32_PhysicalMemory WMI objects...OK (2 objects)
WMI GetMemorySlots: Trying to find Win32_PhysicalMemoryArray WMI objects...OK (8 objects updated)
WMI GetInputDevices: Trying to find Win32_Keyboard WMI objects...OK (1 objects)
WMI GetInputDevices: Trying to find Win32_PointingDevice WMI objects...OK (1 objects)
WMI GetInputDevices: OK
WMI GetSystemPorts: Trying to find Win32_SerialPort WMI objects...OK (3 objects)
WMI GetSystemPorts: Trying to find Win32_ParallelPort WMI objects...OK (1 objects)
WMI GetSystemPorts: OK
WMI GetSystemSlots: Trying to find Win32_SystemSlot WMI objects...OK (6 objects)
WMI GetSystemControllers: Trying to find Win32_FloppyController WMI objects...OK (1 objects)
WMI GetSystemControllers: Trying to find Win32_IDEController WMI objects...OK (3 objects)
WMI GetSystemControllers: Trying to find Win32_SCSIController WMI objects...OK (3 objects)
WMI GetSystemControllers: Trying to find Win32_InfraredDevice WMI objects...Failed because no Win32_InfraredDevice object !
WMI GetSystemControllers: Trying to find Win32_USBController WMI objects...OK (5 objects)
WMI GetSystemControllers: Trying to find Win32_1394Controller WMI objects...Failed because no Win32_1394Controller object !
WMI GetSystemControllers: Trying to find Win32_PCMCIAController WMI objects...Failed because no Win32_PCMCIAController object !
WMI GetSystemControllers: OK
WMI GetStoragePeripherals: Trying to find Win32_FloppyDrive WMI objects...OK (1 objects)
WMI GetStoragePeripherals: Trying to find Win32_DiskDrive WMI objects...OK (1 objects)
WMI GetStoragePeripherals: Trying to find Win32_CDROMDrive WMI objects...OK (1 objects)
WMI GetStoragePeripherals: Trying to find Win32_TapeDrive WMI objects...OK (1 objects)
WMI GetStoragePeripherals: OK
WMI GetSoundDevices: Trying to find Win32_SoundDevice WMI objects...Failed because no Win32_SoundDevice object !
Registry NT GetSoundDevices...
Registry NT GetSoundDevices: OK (0 objects).
WMI GetModems: Trying to find Win32_POTSModem WMI objects...Failed because no Win32_POTSModem object !
Registry NT GetModems...
Registry NT GetModems: Failed in call to <RegEnumKeyEx> function to find subkey of HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E96D-E325-11CE-BFC1-08002BE10318}.
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).
WMI GetPrinters: Trying to find Win32_Printer WMI objects...OK (1 objects)
WMI GetVideoAdapters: Trying to find Win32_VideoController WMI objects...OK (1 objects)
SetupAPI: Enumerating DISPLAY devices...
SetupAPI: RegQueryValueEx failed with error 0.
SetupAPI: Enumerates DISPLAY devices finished (1 objects)...
SetupAPI: Enumerating MONITOR devices...
SetupAPI: SetupDiGetClassDevs MONITOR failed with error 87.
SetupAPI: Enumerates MONITOR devices finished (0 objects)...
WMI GetMonitors: Trying to find Win32_DesktopMonitor WMI objects...OK (1 objects)
WSA GetIPAddress...OK (172.16.0.237)
WMI GetWindowsRegistration: Trying to find Win32_OperatingSystem WMI objects...OK ( Mairie de grigny 69891-OEM-4217176-84000).
Registry GetWindowsProductKey...OK (BX4JT-GDFB2-VCRJT-Q924C-4GRJJ).
Registry NT GetRegistryApplications READING hive HKLM ...
Registry NT GetRegistryApplications: OK (50 objects).
Creating CXMLInteract object...OK
Trying to open database on folder <C:\ocs-ng\> with XML...OK.
Scanning Device's Logical Drive(s) for informations and softwares...
Getting Logical Drive <A:\> properties...OK
Getting Logical Drive <C:\> properties...OK
Getting Logical Drive <D:\> properties...OK
Getting Logical Drive <E:\> properties...OK
Getting Logical Drive <G:\> properties...OK
Checking last inventory state...
XML Read last inventory state from file <C:\ocs-ng\last_state>...OK
No changes since last inventory.
IPDISCOVER: function required by HTTP server...
IPDISCOVER: ERROR: No mask is available for the given network number:
XML Update Device properties...
XML Update Memory Slots: OK (8 objects).
MEM: Set to 1024 (instead of 1024)
XML Update Logical Drives...
XML Update Logical Drives: OK (5 objects).
XML Update Input Devices...
XML Update Input Devices: OK (2 objects).
XML Update Modems: OK (0 objects).
XML Update Monitors: OK. (1 objects).
XML Update Network Adapters: OK (1 objects).
XML Update System Ports: OK (4 objects).
XML Update Printers...
XML Update Printers: OK (1 objects).
XML Update Registry Values...
XML Update Registry Values: OK (0 objects).
XML Update Softwares...
XML Update Softwares: OK (51 objects).
XML Update Sound Devices...
XML Update Sound Devices: OK (0 objects).
XML Update Storage Peripherals...
XML Update Storage Peripherals: OK (4 objects).
XML Update System Controllers...
XML Update System Controllers: OK (12 objects).
XML Update System Slots...
XML Update System Slots: OK (6 objects).
XML Update Video Adapters...
XML Update Video Adapters: OK (1 objects).
XML Update Device properties: OK.
WMI Disconnect: Disconnected from WMI namespace.
SetupAPI Disconnect: Disconnected from SetupAPI.
HTTP SERVER: Creating CInternetSession to send inventory results...OK.
HTTP SERVER: Connecting to server 172.16.0.240 port 80...OK
HTTP SERVER: INV : SEND received, sending inventory...ERROR: Http error: 403
Failed because Unknown exception !
Exiting...
Offline
Salut, c'est toi qui à forcé cette valeur "ERROR: Won't change PROLOG_FREQ to 0" si oui rechage là et met une valeur supérieur à zéro.
A+
Offline
Heu, etes vous sur d'etre au bon endroit, on dirait un probleme OCS ???
voyez d'abord sur le forum d'OCS, et si vous ne trouvez rien, revenez sur GLPI...
merci à aurel, si c'est de la que ca vient...
Last edited by motsan (2006-12-08 15:49:55)
Serveurs : Debian Wheezy (Apache 2.2.22, Php 5.4.4, mysql 5.5.31).
Logiciels : Firefox 30, 7z 9.20.
Plateforme en exploitation : GLPI 0.84.6/OCS 2.0.5 sur Debian Wheezy.
Plateforme en test : GLPI 0.84.6 sur Windows 7 SP1 x64 / WampServer 2.4 x64
Offline
Merci de me repondre.
J'ai chercher sur le forum d'ocs mais rien.
Je me permets donc de poster chez vous ce message.
Sinon le "PROLOG_FREQ" n'est pas à O, il est à 24 par défault (et j'ai reverifie).
D'ailleurs je comprend pas ce ce message...
Par ailleur, je comprends pas non plus car qd j'integre le fichier xxx.ocs à ocsng il fait l'erreur 403.
A ma connaissance ce code est une erreur de droit d'accès.
Qu'n pensez vous???
Offline
Voici mon fichier xxx.log qd je lance mon script reseau.
OCS server port number : Default (80)
Install folder : C:\ocs-ng
OCSserver is set to: 172.16.0.240
Internal Ocslogon version: 4.0.2.6
Testing: C:\ocs-ng\BIOSINFO.EXE
Ocs Inventory NG (4026) was not previously installed.
Start deploying OCS
http://172.16.0.240/ocsinventory/deploy/ocsagent.exe : success
http://172.16.0.240/ocsinventory/deploy/label : HTTP/1.1 400 Bad Request
End Deploying
Testing ocsagent.exe version:4026
Launching : C:\ocs-ng\ocsagent.exe /DEBUG /NP /DEPLOY:4026
No proxy use.
Launching : C:\ocs-ng\OCSInventory.exe /DEBUG /NP /DEPLOY:4026 /server:172.16.0.240
Cmdline option is :\\172.16.0.237\scripts$\OCSNG_CLIENT\172.16.0.240.exe /DEBUG /NP /DEPLOY:4026
Offline
Salut, moi j'ai un autre type d'erreur dans le même fichier qui intervient avant c'est l'erreur 400 voici mon log
OCS INVENTORY ver. 4032 Starting session for Device <ITIN1> on Wednesday, June 06, 2007 18:00:29...
Command line parameters: <</NP /DEBUG /SERVER:x.x.x.x>>
HTTP SERVER: Connection WITHOUT proxy
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.
SetupAPI Connect: Trying to connect to SetupAPI on device <Localhost>...OK.
CHECKINGS: read <ITIN1-2007-06-04-14-45-08> and <00:1A:73:01:31:EE00:17:08:45:AD:47> 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 <ITIN1-2007-06-04-14-45-08> and <00:1A:73:01:31:EE00:17:08:45:AD:47> in ocsinventory.dat
HTTP SERVER: Creating CInternetSession to get inventory parameters...OK.
HTTP SERVER: Getting HTTP Connection to server 172.20.211.220 port 80 using no authentication...OK.
HTTP SERVER: Sending prolog query...ERROR: Http error: 400
Failed because Unknown exception !
Exiting...
merci par avance de votre aide
cdlt
Last edited by b.brunet (2007-06-06 18:03:40)
Offline