Ocs Inventory Agent for Unix 2.3 not found processor and memory in OS Solaris 11
root@solaris:/etc/ocsinventory-agent# ocsinventory-agent --debug -i -f
Unsuccessful stat on filename containing newline at /opt/csw/share/perl/site_perl/Ocsinventory/Agent/Common.pm line 1071, <SOLVERSION> line 3.
closedir() attempted on invalid dirhandle DIR at /opt/csw/share/perl/site_perl/Ocsinventory/Agent/Backend/OS/Solaris/Packages.pm line 64.
This is the installation log
root@solaris:/etc/ocsinventory-agent# vi ocsinventory-agent.log
[Thu Jun 14 06:44:23 2018][debug] - zoneadm found
[Thu Jun 14 06:44:23 2018][debug] Ocsinventory::Agent::Backend::Virtualization::SolarisZones ignored
[Thu Jun 14 06:44:23 2018][debug] Ocsinventory::Agent::Backend::Virtualization::VirtualBox ignored
[Thu Jun 14 06:44:23 2018][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareDesktop ignored
[Thu Jun 14 06:44:23 2018][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareESX ignored
[Thu Jun 14 06:44:23 2018][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareWorkstation ignored
[Thu Jun 14 06:44:23 2018][debug] - zoneadm found
[Thu Jun 14 06:44:23 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XL ignored
[Thu Jun 14 06:44:23 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XM ignored
[Thu Jun 14 06:44:23 2018][debug] Ocsinventory::Agent::Backend::Virtualization::XenCitrixServer ignored
[Thu Jun 14 06:44:23 2018][debug] Running Ocsinventory::Agent::Backend::AccessLog
[Thu Jun 14 06:44:23 2018][debug] Running Ocsinventory::Agent::Backend::DeviceID
[Thu Jun 14 06:44:23 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic
[Thu Jun 14 06:44:23 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Hostname
[Thu Jun 14 06:44:23 2018][debug] - Sys::Hostname loaded
[Thu Jun 14 06:44:23 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging
[Thu Jun 14 06:44:23 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::BSDpkg
[Thu Jun 14 06:44:23 2018][debug] - pkg found
[Thu Jun 14 06:44:27 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::ByHand
[Thu Jun 14 06:44:27 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Printers::Cups
[Thu Jun 14 06:44:27 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Users
[Thu Jun 14 06:44:27 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris
[Thu Jun 14 06:44:28 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::CPU
[Thu Jun 14 06:44:28 2018][debug] - zoneadm found
[Thu Jun 14 06:44:28 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Controllers
[Thu Jun 14 06:44:28 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Domains
[Thu Jun 14 06:44:28 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Drives
[Thu Jun 14 06:44:28 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::IPv4
[Thu Jun 14 06:44:28 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Mem
[Thu Jun 14 06:44:28 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Memory
[Thu Jun 14 06:44:28 2018][debug] - zoneadm found
[Thu Jun 14 06:44:29 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Networks
[Thu Jun 14 06:44:29 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Packages
[Thu Jun 14 06:44:29 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Slots
[Thu Jun 14 06:44:29 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Storages
[Thu Jun 14 06:44:29 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Users
[Thu Jun 14 06:44:29 2018][debug] USERID shouldn't be set directly anymore. Please use addCPU() method instead.
[Thu Jun 14 06:44:29 2018][debug] Running Ocsinventory::Agent::Backend::Virtualization::Vmsystem
[Thu Jun 14 06:44:29 2018][debug] Running Ocsinventory::Agent::Backend::Virtualization::Xen
[Thu Jun 14 06:44:29 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Xen has no run() function -> ignored
[Thu Jun 14 06:44:29 2018][debug] Calling handlers : `inventory_handler'
[Thu Jun 14 06:44:29 2018][debug] [download] Calling download_inventory_handler
[Thu Jun 14 06:44:30 2018][debug] Section DRIVES has changed since last inventory
[Thu Jun 14 06:44:30 2018][debug] Missing value(s): SSN . I will send this inventory to the server BUT important value(s) to identify the computer are missing
[Thu Jun 14 06:44:30 2018][debug] sending XML
[Thu Jun 14 06:44:30 2018][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
[Thu Jun 14 06:44:31 2018][debug] =BEGIN=SERVER RET======
[Thu Jun 14 06:44:31 2018][debug] $VAR1 = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>
<REPLY>
<RESPONSE>NO_ACCOUNT_UPDATE</RESPONSE>
</REPLY>
';
[Thu Jun 14 06:44:31 2018][debug] =END=SERVER RET======
[Thu Jun 14 06:44:31 2018][debug] Calling handlers : `end_handler'
[Thu Jun 14 06:44:31 2018][debug] [snmp] Calling snmp_end_handler
[Thu Jun 14 06:44:31 2018][debug] [download] Calling download_end_handler