You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2010-11-18 03:21:12

pagan911
Member
Registered: 2010-11-17
Posts: 5

heroes~~ help for error-400&500

here s error.log , please help me to analysis the reason why always can not run to the end  thanks everyone ~~

OCS INVENTORY ver. 4061  Starting session for Device <LEONA-BI> on Thursday, November 18, 2010 09:01:14...
Command line parameters: <</SERVER:192.168.202.1 /PNUM:80 /NP /DEBUG >>

HTTP SERVER: Connection WITHOUT proxy
HTTP SERVER: Opening Internet connection to download <http://192.168.202.1:80/ocsinventory/deploy/label>...ERROR: HTTP status code 400            ............
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 <LEONA-BI-2010-11-17-17-32-18> and <00:0C:29:7A:83:EB> 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 <LEONA-BI-2010-11-17-17-32-18> and <00:0C:29:7A:83:EB> in ocsinventory.dat
HTTP SERVER: Creating CInternetSession to get inventory parameters...OK.
HTTP SERVER: Getting HTTP Connection to server 192.168.202.1 port 80 using no authentication...OK.
HTTP SERVER: Sending prolog query...HTTP status 200 OK
OK.
HTTP SERVER: Receiving prolog response...OK.
DOWNLOAD: Working directory already exists
DOWNLOAD: Package history file cleaning not required
PROLOG FREQ was set to 24
HTTP SERVER: 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): Administrator.
.....
Reading last inventory state file...
    XML Read last inventory state from file <C:\Program Files\OCS Inventory Agent\last_state>...OK
IPDISCOVER: function not required by HTTP server...
Checking last inventory state...
    No change since last inventory.
XML Update Device properties...
    XML Update Memory Slots: OK (4 objects).
MEM: Set to 384 (instead of 384)
    XML Update Logical Drives...
    XML Update Logical Drives: OK (4 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 (3 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 (25 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 (6 objects).
    XML Update System Slots...
    XML Update System Slots: OK (7 objects).
    XML Update Video Adapters...
    XML Update Video Adapters: OK (1 objects).
XML Update Device properties: OK.
WMI Disconnect: Disconnected from WMI namespace.
HTTP SERVER: Creating CInternetSession to send inventory results...OK.
HTTP SERVER: Getting HTTP Connection to server 192.168.202.1 port 80 using no authentication...OK
HTTP SERVER: INV : SEND received, sending inventory...ERROR: HTTP status code 500      ..........!
OK.
HTTP SERVER: INV : ERROR : No server answer concerning the account update
HTTP SERVER: Closing HTTP connection....OK.
Writing last inventory state file...
    XML Write new inventory state to file <C:\Program Files\OCS Inventory Agent\last_state>...OK
Execution duration: 00:00:02.

Offline

#2 2010-11-18 04:22:46

pagan911
Member
Registered: 2010-11-17
Posts: 5

Re: heroes~~ help for error-400&500

when I check the apache log folder find the following error in error.log :

Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 61

why ???

Offline

#3 2010-11-18 13:07:02

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: heroes~~ help for error-400&500

hello
ocs problem => post on ocs forum

Offline

Board footer

Powered by FluxBB