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.

Windows Agent Status 200.

Hi All,

The windows agent status shows 200 in the log file. The server responds well to the request with post and get from the windows agent. Then displays an error in the access log as mentioned and the inventory of the machine is never posted in the database. Request assistance to resolve this issue.

 [14/Dec/2016:19:37:30 +0530] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.18 (Ubuntu) mod_perl/2.0.9 Perl/v5.22.1 (internal dummy connection)"
172.30.3.135 - - [14/Dec/2016:19:37:32 +0530] "GET /ocsreports/?function=visu_computers HTTP/1.1" 200 6832 "http://172.30.9.64/ocsreports/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"
172.30.3.135 - - [14/Dec/2016:19:37:33 +0530] "GET /ocsreports/libraries/datatable/media/images/sort_both.png HTTP/1.1" 304 180 "http://172.30.9.64/ocsreports/css/dataTables-custom.css" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"
172.30.3.135 - - [14/Dec/2016:19:37:33 +0530] "POST /ocsreports/ajax.php?function=visu_computers&no_header=true&no_footer=true HTTP/1.1" 200 441 "http://172.30.9.64/ocsreports/?function=visu_computers" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"
::1 - - [14/Dec/2016:19:37:41 +0530] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.18 (Ubuntu) mod_perl/2.0.9 Perl/v5.22.1 (internal dummy connection)"
in OCS Inventory NG server for Unix by (140 points)

1 Answer

0 votes
Hi,

Did you check your z-ocsinventory.conf ? Look like the database user / pass is wrong in it.

Regards,

Gilles Dubois.
by (3.1k points)
 
Powered by Question2Answer
...