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.

Solaris no-globalzone not report network info.

In my Solaris Global Zone the IPs and network interfaces information is inventoried successfully, but in the virtual zone it is not. The debug log reports an error in the "MAC-address" value.

OCS Agent Version: Ocsinventory unified agent for UNIX, Linux and MacOSX (2.8.0)

OCS Server Version: 2.9

Global Zone Report:


Virtual Zone Report:

in OCS Inventory NG agent for Unix by (160 points)

1 Answer

0 votes

Debug agent log:

[Fri May 27 11:49:38 2022][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.8.0
[Fri May 27 11:49:38 2022][debug] Log system initialised (File)
[Fri May 27 11:49:38 2022][debug] --scan-homedirs missing. Don't scan user directories
[Fri May 27 11:49:38 2022][debug] Accountinfo file: /var/opt/ocsinventory-agent/http:__10.219.0.41_ocsinventory/ocsinv.adm
[Fri May 27 11:49:38 2022][debug] OCS Agent initialised
[Fri May 27 11:49:38 2022][debug] Turns hooks on for /etc/ocsinventory-agent/modules.conf
[Fri May 27 11:49:38 2022][debug] Calling handlers : `start_handler'
[Fri May 27 11:49:39 2022][debug] Compress::Zlib is available.
[Fri May 27 11:49:39 2022][debug] Failed to load Ocsinventory::Agent::Backend::OS::MacOS::Video: Can't locate Parse/EDID.pm in @INC (you may need to install the Parse::EDID module) (@INC contains: /usr/perl5/site_perl/5.22/sun4-solaris-thread-multi-64 /usr/perl5/site_perl/5.22 /usr/perl5/vendor_perl/5.22/sun4-solaris-thread-multi-64 /usr/perl5/vendor_perl/5.22 /usr/perl5/5.22/lib/sun4-solaris-thread-multi-64 /usr/perl5/5.22/lib) at /usr/perl5/site_perl/5.22/Ocsinventory/Agent/Backend/OS/MacOS/Video.pm line 4.
BEGIN failed--compilation aborted at /usr/perl5/site_perl/5.22/Ocsinventory/Agent/Backend/OS/MacOS/Video.pm line 4.
Compilation failed in require at (eval 68) line 1.
BEGIN failed--compilation aborted at (eval 68) line 1.
[Fri May 27 11:49:40 2022][debug] Failed to load Ocsinventory::Agent::Backend::OS::Generic::Screen: Can't locate Parse/EDID.pm in @INC (you may need to install the Parse::EDID module) (@INC contains: /usr/perl5/site_perl/5.22/sun4-solaris-thread-multi-64 /usr/perl5/site_perl/5.22 /usr/perl5/vendor_perl/5.22/sun4-solaris-thread-multi-64 /usr/perl5/vendor_perl/5.22 /usr/perl5/5.22/lib/sun4-solaris-thread-multi-64 /usr/perl5/5.22/lib) at /usr/perl5/site_perl/5.22/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm line 5.
BEGIN failed--compilation aborted at /usr/perl5/site_perl/5.22/Ocsinventory/Agent/Backend/OS/Generic/Screen.pm line 5.
Compilation failed in require at (eval 160) line 1.
BEGIN failed--compilation aborted at (eval 160) line 1.
[Fri May 27 11:49:40 2022][debug] Ocsinventory::Agent::Backend::IpDiscover ignored
[Fri May 27 11:49:40 2022][debug] Ocsinventory::Agent::Backend::OS::AIX ignored
[Fri May 27 11:49:40 2022][debug] Ocsinventory::Agent::Backend::OS::BSD ignored
[Fri May 27 11:49:40 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Dmidecode ignored
[Fri May 27 11:49:40 2022][debug]  - Sys::Hostname loaded
[Fri May 27 11:49:40 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Ipmi ignored
[Fri May 27 11:49:40 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Lspci ignored
[Fri May 27 11:49:41 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Lsusb ignored
[Fri May 27 11:49:41 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::AppImage ignored
[Fri May 27 11:49:41 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::BSDpkg ignored
[Fri May 27 11:49:41 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Deb ignored
[Fri May 27 11:49:41 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Flatpak ignored
[Fri May 27 11:49:41 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Gentoo ignored
[Fri May 27 11:49:42 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Pacman ignored
[Fri May 27 11:49:42 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::RPM ignored
[Fri May 27 11:49:42 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Snap ignored
[Fri May 27 11:49:42 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Printers::Cups ignored
[Fri May 27 11:49:42 2022][debug]  - pkg found
[Fri May 27 11:49:42 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Repository::CentOS ignored
[Fri May 27 11:49:42 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Repository::Debian ignored
[Fri May 27 11:49:42 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Repository::Rhel ignored
[Fri May 27 11:49:51 2022][debug]  - /etc/passwd can be read
[Fri May 27 11:49:51 2022][debug]  - /etc/group can be read
[Fri May 27 11:49:51 2022][debug] Ocsinventory::Agent::Backend::OS::HPUX ignored
[Fri May 27 11:49:51 2022][debug] Ocsinventory::Agent::Backend::OS::Linux ignored
[Fri May 27 11:49:51 2022][debug] Ocsinventory::Agent::Backend::OS::MacOS ignored
[Fri May 27 11:49:51 2022][debug] Ocsinventory::Agent::Backend::OS::Solaris::Controllers ignored
[Fri May 27 11:49:51 2022][debug]  - domainname found
[Fri May 27 11:49:51 2022][debug]  - df found
[Fri May 27 11:49:51 2022][debug]  - ifconfig found
[Fri May 27 11:49:51 2022][debug]  - swap found
[Fri May 27 11:49:51 2022][debug]  - prtconf found
[Fri May 27 11:49:52 2022][debug]  - memconf found
[Fri May 27 11:49:52 2022][debug]  - ifconfig found
[Fri May 27 11:49:52 2022][debug]  - netstat found
[Fri May 27 11:49:52 2022][debug]  - Net::IP qw(:PROC) loaded
[Fri May 27 11:49:52 2022][debug]  - pkginfo found
[Fri May 27 11:49:52 2022][debug]  - prtdiag found
[Fri May 27 11:49:52 2022][debug]  - iostat found
[Fri May 27 11:49:52 2022][debug]  - who found
[Fri May 27 11:49:52 2022][debug] Ocsinventory::Agent::Backend::Virtualization::Docker ignored
[Fri May 27 11:49:52 2022][debug] Ocsinventory::Agent::Backend::Virtualization::Jails ignored
[Fri May 27 11:49:52 2022][debug] Ocsinventory::Agent::Backend::Virtualization::Libvirt ignored
[Fri May 27 11:49:52 2022][debug] Ocsinventory::Agent::Backend::Virtualization::Lxc ignored
[Fri May 27 11:49:52 2022][debug] Ocsinventory::Agent::Backend::Virtualization::Parallels ignored
[Fri May 27 11:49:53 2022][debug] Ocsinventory::Agent::Backend::Virtualization::Qemu ignored
[Fri May 27 11:49:53 2022][debug] Ocsinventory::Agent::Backend::Virtualization::SolarisLdoms ignored
[Fri May 27 11:49:53 2022][debug]  - zoneadm found
[Fri May 27 11:49:53 2022][debug]  - zonecfg found
[Fri May 27 11:49:53 2022][debug] Ocsinventory::Agent::Backend::Virtualization::VirtualBox ignored
[Fri May 27 11:49:53 2022][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareDesktop ignored
[Fri May 27 11:49:53 2022][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareESX ignored
[Fri May 27 11:49:53 2022][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareWorkstation ignored
[Fri May 27 11:49:53 2022][debug]  - zoneadm found
[Fri May 27 11:49:53 2022][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XL ignored
[Fri May 27 11:49:53 2022][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XM ignored
[Fri May 27 11:49:54 2022][debug] Ocsinventory::Agent::Backend::Virtualization::XenCitrixServer ignored
[Fri May 27 11:49:54 2022][debug] Running Ocsinventory::Agent::Backend::AccessLog
[Fri May 27 11:49:54 2022][debug] Running Ocsinventory::Agent::Backend::DeviceID
[Fri May 27 11:49:54 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic
[Fri May 27 11:49:54 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Hostname
[Fri May 27 11:49:54 2022][debug]  - Sys::Hostname loaded
[Fri May 27 11:49:54 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging
[Fri May 27 11:49:54 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::ByHand
[Fri May 27 11:49:54 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Repository
[Fri May 27 11:49:54 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Repository::BSD
[Fri May 27 11:49:54 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Users
[Fri May 27 11:49:54 2022][debug] runWithTimeout(): unexpected error: Can't use string ("root") as an ARRAY ref while "strict refs" in use at /usr/perl5/site_perl/5.22/Ocsinventory/Agent/Backend/OS/Generic/Users.pm line 52.
[Fri May 27 11:49:54 2022][debug] Running Ocsinventory::Agent::Backend::OS::Solaris
[Fri May 27 11:49:54 2022][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Bios
[Fri May 27 11:49:54 2022][debug]  - zonename found
[Fri May 27 11:49:54 2022][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::CPU
[Fri May 27 11:50:12 2022][debug] NB CPUs: 1
[Fri May 27 11:50:12 2022][debug] CORES: 1
[Fri May 27 11:50:12 2022][debug] LOGICAL_CPUS: 6
[Fri May 27 11:50:12 2022][debug] SPEED: 2998
[Fri May 27 11:50:12 2022][debug] TYPE:  SPARC-T4
[Fri May 27 11:50:12 2022][debug] MANUFACTURER: SPARC
[Fri May 27 11:50:12 2022][debug] CPUARCH: sparcv9_sparc
[Fri May 27 11:50:12 2022][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Domains
[Fri May 27 11:50:13 2022][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Drives
[Fri May 27 11:50:13 2022][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::IPv4
[Fri May 27 11:50:14 2022][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Mem
[Fri May 27 11:50:14 2022][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Memory
[Fri May 27 11:50:14 2022][debug]  - zonename found
[Fri May 27 11:50:14 2022][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Networks
[Fri May 27 11:50:15 2022][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Packages
[Fri May 27 11:50:23 2022][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Ports
[Fri May 27 11:50:23 2022][debug]  - zonename found
[Fri May 27 11:50:24 2022][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Slots
[Fri May 27 11:50:24 2022][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Storages
[Fri May 27 11:50:25 2022][debug] Running Ocsinventory::Agent::Backend::OS::Solaris::Users
[Fri May 27 11:50:25 2022][debug] USERID shouldn't be set directly anymore. Please use addUser() method instead.
[Fri May 27 11:50:25 2022][debug] Running Ocsinventory::Agent::Backend::Virtualization::SolarisZones
[Fri May 27 11:50:25 2022][debug] Running Ocsinventory::Agent::Backend::Virtualization::Vmsystem
[Fri May 27 11:50:25 2022][debug] Running Ocsinventory::Agent::Backend::Virtualization::Xen
[Fri May 27 11:50:25 2022][debug] Ocsinventory::Agent::Backend::Virtualization::Xen has no run() function -> ignored
[Fri May 27 11:50:25 2022][debug] Calling handlers : `inventory_handler'
[Fri May 27 11:50:25 2022][debug] Section HARDWARE has changed since last inventory
[Fri May 27 11:50:25 2022][debug] Missing value(s): MAC-address . I will send this inventory to the server BUT important value(s) to identify the computer are missing
[Fri May 27 11:50:25 2022][debug] sending XML
[Fri May 27 11:50:25 2022][debug] sending: <?xml version="1.0" encoding="UTF-8"?>

by (160 points)
 
Powered by Question2Answer
...