Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

HTTP Status Code #400

Hi im new to OCS,

 I installed agent Ver. 2.1.1.1 to Windows 7 clients on a subnet (network is having a couple of VLANS), had this error below.

       OCSInventory.log = "ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #400>"

And also i noticed some "non inventoried network devices", how to make these devices inventoried.

Infos;

Server OS: Windows 7 Pro x64

Server Version: 2.1.2

Agent version: 2.1.1.1
in OCS Inventory NG server for Windows by (120 points)

1 Answer

0 votes
Do you see the agent in the apache log ? (look on the access or error log).
by (22k points)

In error .log im having these lines

C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Nov 17 15:39:24 2014] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 17 15:39:24 2014] [notice] Digest: done
[Mon Nov 17 15:39:43 2014] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Nov 17 15:39:43 2014] [notice] Server built: Sep 10 2011 11:34:11
[Mon Nov 17 15:39:43 2014] [notice] Parent: Created child process 3300
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
[Mon Nov 17 15:39:47 2014] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 17 15:39:47 2014] [notice] Digest: done
[Mon Nov 17 15:39:48 2014] [notice] Child 3300: Child process is running
[Mon Nov 17 15:39:48 2014] [notice] Child 3300: Acquired the start mutex.
[Mon Nov 17 15:39:48 2014] [notice] Child 3300: Starting 150 worker threads.
[Mon Nov 17 15:39:48 2014] [notice] Child 3300: Starting thread to listen on port 443.
[Mon Nov 17 15:39:48 2014] [notice] Child 3300: Starting thread to listen on port 80.
[Mon Nov 17 15:39:48 2014] [notice] Child 3300: Starting thread to listen on port 443.
[Mon Nov 17 15:39:48 2014] [notice] Child 3300: Starting thread to listen on port 80.
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 64.
 
While in access.log i just took some lines
 
::1 - - [17/Nov/2014:13:49:54 +0800] "GET /ocsreports/image/cal.gif HTTP/1.1" 200 127 "http://localhost/ocsreports/index.php?function=visu_search&fields=HARDWARE-LASTDATE&comp=tall&values=11/17/14&values2=&type_field=" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36"
10.191.19.4 - - [17/Nov/2014:15:32:44 +0800] "POST /ocsinventory HTTP/1.1" 200 215 "-" "OCS-NG_WINDOWS_AGENT_v2.1.1.1"
10.191.19.4 - - [17/Nov/2014:15:32:57 +0800] "POST /ocsinventory HTTP/1.1" 200 - "-" "OCS-NG_WINDOWS_AGENT_v2.1.1.1"
10.191.17.114 - - [17/Nov/2014:16:08:44 +0800] "GET /ocsinventory/deploy/label HTTP/1.1" 400 1059 "-" "Mozilla/4.0 (compatible; MSIE"
10.191.17.114 - - [17/Nov/2014:16:08:44 +0800] "POST /ocsinventory HTTP/1.1" 400 1059 "-" "Mozilla/4.0 (compatible; MSIE"
 

 

 
Powered by Question2Answer
...