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

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

ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #500>

Hi Frank,

I'm with this mistake now could you help me?

#Log Agent #

Starting OCS Inventory NG Agent on Friday, September 08, 2017 19:37:32.

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 <SURVIVOR-2017-09-07-17-13-20> and MACs <70:71:BC:5A:CA:2300:50:56:C0:00:0800:50:56:C0:00:0116:F0:6D:5D:98:9674:F0:6D:5D:98:96> 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 <http://192.168.0.14/ocsinventory>

COM SERVER => HTTP Post response received <HTTP Status Code #200>

COM SERVER => Cleaning cURL library

AGENT => Prolog successfully sent

SUPPORT => No support detected, Registration key : N/A

AGENT => Prolog Frequency set to 24 hour(s)

AGENT => Inventory on startup option set to 1

AGENT => Inventory required

AGENT => Launching hardware and software checks

INVENTORY => Loading Download history

INVENTORY => Logged on user ID is <Ana>

INVENTORY => Operating System is <Microsoft Windows 10 Enterprise 10.0.15063 >, description <>

INVENTORY => Operating System uses 64 bits memory address width

INVENTORY => Computer domain or workgroup is <WORKGROUP>

INVENTORY => User domain is <>

INVENTORY => System Manufacturer <POSITIVO>, System Model <POSITIVO MOBILE>, System S/N <1A305Z129>, Bios Manufacturer <American Megatrends Inc.>, Bios Date <10/26/2010>, Bios Version <201.T03>, Motherboard Manufacturer <POSITIVO>, Motherboard Model <H24ZB>, Motherboard S/N <12345678901234567890>

INVENTORY => 1 processor(s) Pentium(R) Dual-Core CPU       T4500  @ 2.30GHz [2 core(s) x86_64] at 2300 MHz

INVENTORY => OS Memory 3005 MB, OS Swap size 3517 MB

INVENTORY => 2 memory slot(s) found

INVENTORY => 3 input device(s) found

INVENTORY => 12 system port(s) found

INVENTORY => 1 system slot(s) found

INVENTORY => 10 system controller(s) found

INVENTORY => 2 storage peripheral(s) found

INVENTORY => 2 sound device(s) found

WARNING *** INVENTORY => Failed to retrieve modems

INVENTORY => 5 network adapter(s) found

INVENTORY => 4 system printer(s) found

INVENTORY => 2 video adapter(s) found

INVENTORY => 2 system monitor(s) found

INVENTORY => Default IPv4 address is <192.168.118.1>

INVENTORY => Registered company <>, registered owner <Cadu>, Product ID <00329-00...>

INVENTORY => Product key <KT6X7-HK...>

INVENTORY => 218 software found

INVENTORY => Computer/VM UUID is <0063E941-6B00-E7EF-4154-7071BC5ACA23>

INVENTORY => Computer seems to be Microsoft virtual host

INVENTORY => System Memory set to 3072 (instead of 3005)

INVENTORY => Reading last inventory state

WARNING *** INVENTORY => Failed to load/parse inventory state from file <C:\ProgramData\OCS Inventory NG\Agent\last_state>

WARNING *** INVENTORY => Failed to load/parse plugin state from file <C:\ProgramData\OCS Inventory NG\Agent\last_state>

EXECUTABLE PLUGIN => Searching for VBS script(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>

EXECUTABLE PLUGIN => Searching for executable(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>

AGENT => Sending Inventory
...

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 <http://192.168.0.14/ocsinventory>

COM SERVER => HTTP Post response received <HTTP Status Code #500>

COM SERVER => Cleaning cURL library

ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #500>

AGENT =>  Communication Server ask for Package Download

DOWNLOAD => Package history file successfully cleaned for duplicate IDs

DOWNLOAD => Download and setup tool successfully started

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:09.

#LOG APACHE#

[Fri Sep 08 19:36:55.596899 2017] [mpm_prefork:notice] [pid 8853] AH00169: caught SIGTERM, shutting down
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
[Fri Sep 08 19:36:57.780680 2017] [mpm_prefork:notice] [pid 9561] AH00163: Apache/2.4.10 (Debian) mod_perl/2.0.9dev Perl/v5.20.2 configured -- resuming normal operations
[Fri Sep 08 19:36:57.780778 2017] [core:notice] [pid 9561] AH00094: Command line: '/usr/sbin/apache2'

#LOG OCS ACTIVITY AGENT#

Fri Sep  8 19:37:32 2017;9565;100;SURVIVOR-2017-09-07-17-13-20;192.168.0.15;OCS-NG_WINDOWS_AGENT_v2.3.0.0;prolog;accepted
Fri Sep  8 19:37:32 2017;9565;311;SURVIVOR-2017-09-07-17-13-20;192.168.0.15;OCS-NG_WINDOWS_AGENT_v2.3.0.0;session;started
Fri Sep  8 19:37:41 2017;9567;319;SURVIVOR-2017-09-07-17-13-20;192.168.0.15;OCS-NG_WINDOWS_AGENT_v2.3.0.0;session;found
Fri Sep  8 19:37:41 2017;9567;104;SURVIVOR-2017-09-07-17-13-20;192.168.0.15;OCS-NG_WINDOWS_AGENT_v2.3.0.0;inventory;incoming
Fri Sep  8 19:37:41 2017;9567;515;SURVIVOR-2017-09-07-17-13-20;192.168.0.15;OCS-NG_WINDOWS_AGENT_v2.3.0.0;end;error
Fri Sep  8 19:46:06 2017;9569;103;SURVIVOR-2017-09-07-17-13-20;192.168.0.15;OCS-NG_WINDOWS_AGENT_v2.3.0.0;prolog;new_deviceid
Fri Sep  8 19:46:06 2017;9569;103;SURVIVOR-2017-09-07-17-13-20;192.168.0.15;OCS-NG_WINDOWS_AGENT_v2.3.0.0;snmp;error: agent must communicate using https to be able to get SNMP communities (only affects OCS unix agent) !!
Fri Sep  8 19:46:06 2017;9569;100;SURVIVOR-2017-09-07-17-13-20;192.168.0.15;OCS-NG_WINDOWS_AGENT_v2.3.0.0;prolog;accepted
Fri Sep  8 19:46:06 2017;9569;311;SURVIVOR-2017-09-07-17-13-20;192.168.0.15;OCS-NG_WINDOWS_AGENT_v2.3.0.0;session;started
Fri Sep  8 19:46:14 2017;9574;319;SURVIVOR-2017-09-07-17-13-20;192.168.0.15;OCS-NG_WINDOWS_AGENT_v2.3.0.0;session;found
Fri Sep  8 19:46:14 2017;9574;104;SURVIVOR-2017-09-07-17-13-20;192.168.0.15;OCS-NG_WINDOWS_AGENT_v2.3.0.0;inventory;incoming
Fri Sep  8 19:46:14 2017;9574;515;SURVIVOR-2017-09-07-17-13-20;192.168.0.15;OCS-NG_WINDOWS_AGENT_v2.3.0.0;end;error

I already did the procedures that you passed me this link http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Main#FAQ

Thanks,

Carlos Eduardo.
in OCS Inventory NG agent for Windows by (140 points)

1 Answer

0 votes

if you get 500 error that means that you have a trouble to connect to the database of ocs so check the password are correct or not

by (880 points)
 
Powered by Question2Answer
...