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.

Linux agent does not connect - certificate verify failed

Agent installed on Suse 11 (patch level 2), reports certificate verify failed. The same certificate (copied via scp) is working fine on other hosts.

Log file with --debug:

[Thu Apr 21 15:57:09 2016][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Thu Apr 21 15:57:09 2016][debug] Log system initialised (File)
[Thu Apr 21 15:57:09 2016][debug] --scan-homedirs missing. Don't scan user directories
[Thu Apr 21 15:57:09 2016][debug] Accountinfo file: /var/lib/ocsinventory-agent/https:__ocs.deltaholding.rs_ocsinventory/ocsinv.adm
[Thu Apr 21 15:57:09 2016][debug] OCS Agent initialised
[Thu Apr 21 15:57:09 2016][debug] Turns hooks on for /etc/ocsinventory/modules.conf
[Thu Apr 21 15:57:09 2016][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Thu Apr 21 15:57:09 2016][debug] Log system initialised (File)
[Thu Apr 21 15:57:09 2016][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Thu Apr 21 15:57:09 2016][debug] Log system initialised (File)
[Thu Apr 21 15:57:09 2016][debug] Calling handlers : `start_handler'
[Thu Apr 21 15:57:09 2016][debug] [snmp] Calling snmp_start_handler
[Thu Apr 21 15:57:09 2016][debug]  - Net::SNMP loaded
[Thu Apr 21 15:57:09 2016][debug] [download] Calling download_start_handler
[Thu Apr 21 15:57:09 2016][debug]  - LWP loaded
[Thu Apr 21 15:57:09 2016][error] [download] Crypt::SSLeay perl module is missing !!
[Thu Apr 21 15:57:09 2016][error] [download] Humm my prerequisites are not OK...disabling module :( :(
[Thu Apr 21 15:57:09 2016][debug] Compress::Zlib is available.
[Thu Apr 21 15:57:09 2016][debug] Calling handlers : `prolog_writer'
[Thu Apr 21 15:57:09 2016][debug] sending XML
[Thu Apr 21 15:57:09 2016][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <DEVICEID>oradmp-2016-04-21-15-15-53</DEVICEID>
  <QUERY>PROLOG</QUERY>
</REQUEST>
[Thu Apr 21 15:57:09 2016][error] Cannot establish communication : 500 Can't connect to ocs.deltaholding.rs:443 (certificate verify failed)
in OCS Inventory NG agent for Unix by (150 points)

1 Answer

0 votes

hi, 

As you can see in your agent log, the perl module Crypt::SSLeay isn't install properly.

[Thu Apr 21 15:57:09 2016][error] [download] Crypt::SSLeay perl module is missing !!
[Thu Apr 21 15:57:09 2016][error] [download] Humm my prerequisites are not OK...disabling module :( :(

Regards 

by (460 points)
 
Powered by Question2Answer
...