Ocs Inventory Agent for Unix 2.4.1 not found processor and memory in OS Solaris 11
root@solaris:/etc/ocsinventory-agent# ocsinventory-agent -f -i --debug
Unsuccessful stat on filename containing newline at /opt/csw/share/perl/site_perl/Ocsinventory/Agent/Common.pm line 1118.
Argument "freebsd" isn't numeric in numeric eq (==) at /opt/csw/share/perl/site_perl/Ocsinventory/Agent/Backend/OS/Generic/Repository/BSD.pm line 24.
Argument "solaris" isn't numeric in numeric eq (==) at /opt/csw/share/perl/site_perl/Ocsinventory/Agent/Backend/OS/Generic/Repository/BSD.pm line 24.
root@solaris:/etc/ocsinventory-agent#
This is the installation log
[Thu Jun 14 06:04:26 2018][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.4.1
[Thu Jun 14 06:04:26 2018][debug] Log system initialised (File)
[Thu Jun 14 06:04:26 2018][debug] --scan-homedirs missing. Don't scan user directories
[Thu Jun 14 06:04:26 2018][debug] Accountinfo file: /var/opt/ocsinventory-agent/https:__192.168.5.140_ocsinventory/ocsinv.adm
[Thu Jun 14 06:04:26 2018][debug] OCS Agent initialised
[Thu Jun 14 06:04:26 2018][debug] Turns hooks on for /etc/ocsinventory-agent/modules.conf
[Thu Jun 14 06:04:26 2018][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.4.1
[Thu Jun 14 06:04:26 2018][debug] Log system initialised (File)
[Thu Jun 14 06:04:26 2018][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.4.1
[Thu Jun 14 06:04:26 2018][debug] Log system initialised (File)
[Thu Jun 14 06:04:26 2018][debug] Calling handlers : `start_handler'
[Thu Jun 14 06:04:26 2018][debug] [snmp] Calling snmp_start_handler
[Thu Jun 14 06:04:26 2018][debug] - Net::SNMP loaded
[Thu Jun 14 06:04:26 2018][debug] [download] Calling download_start_handler
[Thu Jun 14 06:04:26 2018][debug] - LWP loaded
[Thu Jun 14 06:04:26 2018][debug] - LWP::Protocol::https loaded
[Thu Jun 14 06:04:26 2018][debug] Compress::Zlib is available.
[Thu Jun 14 06:04:26 2018][debug] Ocsinventory::Agent::Backend::IpDiscover ignored
[Thu Jun 14 06:04:26 2018][debug] Ocsinventory::Agent::Backend::OS::AIX ignored
[Thu Jun 14 06:04:26 2018][debug] Ocsinventory::Agent::Backend::OS::BSD ignored
[Thu Jun 14 06:04:26 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Dmidecode ignored
[Thu Jun 14 06:04:26 2018][debug] - Sys::Hostname loaded
[Thu Jun 14 06:04:26 2018][debug] - ipmitool found
[Thu Jun 14 06:04:26 2018][debug] - Net::IP qw(:PROC) loaded
[Thu Jun 14 06:04:26 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Ipmi ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Lspci ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Lsusb ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::BSDpkg ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Deb ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Gentoo ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Pacman ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::RPM ignored
[Thu Jun 14 06:04:27 2018][debug] - Net::CUPS loaded
[Thu Jun 14 06:04:27 2018][debug] - pkg found
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Repository::CentOS ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Repository::Debian ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Repository::Rhel ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::OS::Generic::Screen ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::OS::HPUX ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::OS::Linux ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::OS::MacOS ignored
[Thu Jun 14 06:04:27 2018][debug] - memconf found
[Thu Jun 14 06:04:27 2018][debug] - cfgadm found
[Thu Jun 14 06:04:27 2018][debug] - domainname found
[Thu Jun 14 06:04:27 2018][debug] - df found
[Thu Jun 14 06:04:27 2018][debug] - ifconfig found
[Thu Jun 14 06:04:27 2018][debug] - swap found
[Thu Jun 14 06:04:27 2018][debug] - prtconf found
[Thu Jun 14 06:04:27 2018][debug] - memconf found
[Thu Jun 14 06:04:27 2018][debug] - ifconfig found
[Thu Jun 14 06:04:27 2018][debug] - netstat found
[Thu Jun 14 06:04:27 2018][debug] - Net::IP qw(:PROC) loaded
[Thu Jun 14 06:04:27 2018][debug] - pkginfo found
[Thu Jun 14 06:04:27 2018][debug] - prtdiag found
[Thu Jun 14 06:04:27 2018][debug] - iostat found
[Thu Jun 14 06:04:27 2018][debug] - who found
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Docker ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Jails ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Libvirt ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Lxc ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Parallels ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Qemu ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::Virtualization::SolarisLdoms ignored
[Thu Jun 14 06:04:27 2018][debug] - zoneadm found
[Thu Jun 14 06:04:27 2018][debug] - zonecfg found
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::Virtualization::VirtualBox ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareDesktop ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareESX ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareWorkstation ignored
[Thu Jun 14 06:04:27 2018][debug] - zoneadm found
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XL ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XM ignored
[Thu Jun 14 06:04:27 2018][debug] Ocsinventory::Agent::Backend::Virtualization::XenCitrixServer ignored
[Thu Jun 14 06:04:27 2018][debug] Running Ocsinventory::Agent::Backend::AccessLog
[Thu Jun 14 06:04:27 2018][debug] Running Ocsinventory::Agent::Backend::DeviceID
[Thu Jun 14 06:04:27 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic
[Thu Jun 14 06:04:27 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Hostname
[Thu Jun 14 06:04:27 2018][debug] - Sys::Hostname loaded
[Thu Jun 14 06:04:27 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging
[Thu Jun 14 06:04:27 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::ByHand
[Thu Jun 14 06:04:27 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Printers::Cups
[Thu Jun 14 06:04:27 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Repository
[Thu Jun 14 06:04:27 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Repository::BSD
[Thu Jun 14 06:04:28 2018][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Users
[Thu Jun 14 06:04:28 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris
[Thu Jun 14 06:04:28 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Bios
[Thu Jun 14 06:04:28 2018][debug] - zonename found
[Thu Jun 14 06:04:28 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::CPU
[Thu Jun 14 06:04:28 2018][debug] - zonename found
[Thu Jun 14 06:04:29 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Controllers
[Thu Jun 14 06:04:29 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Domains
[Thu Jun 14 06:04:29 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Drives
[Thu Jun 14 06:04:29 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::IPv4
[Thu Jun 14 06:04:29 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Mem
[Thu Jun 14 06:04:29 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Memory
[Thu Jun 14 06:04:29 2018][debug] - zonename found
[Thu Jun 14 06:04:30 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Networks
[Thu Jun 14 06:04:30 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Packages
[Thu Jun 14 06:04:33 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Ports
[Thu Jun 14 06:04:34 2018][debug] - zonename found
[Thu Jun 14 06:04:35 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Slots
[Thu Jun 14 06:04:35 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Storages
[Thu Jun 14 06:04:35 2018][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Users
[Thu Jun 14 06:04:35 2018][debug] USERID shouldn't be set directly anymore. Please use addUser() method instead.
[Thu Jun 14 06:04:35 2018][debug] Running Ocsinventory::Agent::Backend::Virtualization::SolarisZones
[Thu Jun 14 06:04:37 2018][debug] Running Ocsinventory::Agent::Backend::Virtualization::Vmsystem
[Thu Jun 14 06:04:37 2018][debug] Running Ocsinventory::Agent::Backend::Virtualization::Xen
[Thu Jun 14 06:04:37 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Xen has no run() function -> ignored
[Thu Jun 14 06:04:37 2018][debug] Calling handlers : `inventory_handler'
[Thu Jun 14 06:04:37 2018][debug] [download] Calling download_inventory_handler
[Thu Jun 14 06:04:37 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:04:38 2018][debug] sending XML
[Thu Jun 14 06:04:38 2018][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
[Thu Jun 14 06:04:38 2018][debug] =END=SERVER RET======
[Thu Jun 14 06:04:38 2018][debug] Calling handlers : `end_handler'
[Thu Jun 14 06:04:38 2018][debug] [snmp] Calling snmp_end_handler
[Thu Jun 14 06:04:38 2018][debug] [download] Calling download_end_handler