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.6 available

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

Error code 32 -Help

Hi
I'm more than a week can not solve the problem
I set up a server Ubuntu 14 server x64 downloaded and installed OCSNG_UNIX_SERVER-2.3RC, Installation is performed according to the instructions README.

I also downloaded and installed OCSNG-Windows-Agent-2.3.0.0RC Installation and configuration of the agent spent on Windows 7x64, Windows Server 2008 R2, Windows Server  2003.....

In all cases, I get one error:

Log Agent:

Starting OCS Inventory NG Agent on Sunday, December 18, 2016 12:58:24.
AGENT => Running OCS Inventory NG Agent Version 2.3.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.3.0.0
AGENT => Loading plug-in(s)
    DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
    DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
    COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <SHEVCHENKO-2016-12-16-10-17-39> and MACs <00:1C:42:B8:6A:FBBC:9A:78:56:34:1200:50:56:C0:00:0100:50:56:C0:00:08> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Disabling cURL SSL server validation support
    COM SERVER => Sending HTTP Post request to URL <192.168.100.81/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
================= TRACE START ===============

================= TRACE STOP ===============
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
ERROR *** AGENT => Failed to write Prolog Frequency <Error code 32 = ERROR *** AGENT => Failed to write inventory on startup value <Error code 32 = AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.

Log Server:

/var/log/apache2# tail -f /var/log/apache2/access.log
192.168.100.90 - - [18/Dec/2016:12:44:16 +0200] "POST /ocsinventory HTTP/1.1" 301 537 "-" "OCS-NG_WINDOWS_AGENT_v2.3.0.0"
192.168.100.90 - - [18/Dec/2016:12:44:16 +0200] "GET /ocsinventory/ HTTP/1.1" 200 1925 "-" "OCS-NG_WINDOWS_AGENT_v2.3.0.0"
192.168.100.90 - - [18/Dec/2016:12:44:43 +0200] "POST /ocsinventory HTTP/1.1" 301 537 "-" "OCS-NG_WINDOWS_AGENT_v2.3.0.0"

/var/log/ocsinventory-server - empty

Help me !!!
in OCS Inventory NG server for Unix by (240 points)

5 Answers

0 votes
Hi,

With which user have you installed ocs agent?

Regards

Frank
by (79.2k points)
0 votes
I used a local administrator.
by (240 points)
0 votes
I turned on the function DEBUG:

Machines in DB         0
Machines Inventoried         0
Machines contacted today         0
Machines Inventoried today         0
Machines not seen in more than 1 day(s)         0
Number of SNMP devices         0
ERROR=>Number of non inventoried network interfaces       

What does this error mean?

Also I'm trying to do with the import file:

Error HTTP/1.1 301 Moved Permanently
To server: http://localhost:80/ocsinventory
by (240 points)
0 votes
Hi,

Do you have a redirection in apache?

Regards

Frank
by (79.2k points)
0 votes
I have included the details Apache

I see error:

[Wed Dec 21 02:09:19.637893 2016] [authz_core:debug] [pid 16460] mod_authz_core.c(809): [client ::1:56824] AH01626: authorization result of Require all granted: granted
[Wed Dec 21 02:09:19.637936 2016] [authz_core:debug] [pid 16460] mod_authz_core.c(809): [client ::1:56824] AH01626: authorization result of <RequireAny>: granted
[Wed Dec 21 02:09:24.687051 2016] [deflate:debug] [pid 16461] mod_deflate.c(853): [client 192.168.100.71:51824] AH01384: Zlib: Compressed 10822 to 3175 : URL /ocsreports/index.php, referer: http://192.168.100.76/ocsreports/index.php?function=admin_local_import
by (240 points)
 
Powered by Question2Answer
...