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.

Ocs agent failures on RHEL8/Alma Linux 8

Hi,

I'm deploying ocs agent from epel rpm on Alma Linux 8 OS which is based on RHEL8 following the ocsinventory documentation. I have some trouble when executing the agent and many error messages:

[root@most6ltmb219 ~]# ocsinventory-agent

Mar 06 11:11:52 | /etc/multipath.conf does not exist, blacklisting all devices.
Mar 06 11:11:52 | You can run "/sbin/mpathconf --enable" to create
Mar 06 11:11:52 | /etc/multipath.conf. See man mpathconf(8) for more details
Mar 06 11:11:52 | DM multipath kernel driver not loaded

ERROR: An internal driver error occurred
ERROR: An internal driver error occurred
ERROR: Error resolving target specification '' (No targets match target specification), specified in query 'PrimeOutputsData'.

Use of uninitialized value in substitution (s///) at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Backend/OS/Linux/Videos.pm line 44.
Use of uninitialized value in substitution (s///) at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Backend/OS/Linux/Videos.pm line 45.
Use of uninitialized value in substitution (s///) at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Backend/OS/Linux/Videos.pm line 46.
Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Backend/OS/Linux/Videos.pm line 52.

Datas are uploaded to the server but as the command is run with root privileges, all these messages are worrisome. Multipath is not setup but the software is a requiered dependancy for some virtualization tools.
Thanks for your advices
Patrick

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

2 Answers

0 votes

This is not an answer but an additionnal problem:
launching ocsinventory-agent on a C6100 server running Alma Linux 8.7 returns:

[root@ekman ~]# ocsinventory-agent -i -f
error: While opening repository /root/.local/share/flatpak/repo: opening repo: Invalid UTF-8
sh: line 1: 170829 Segmentation fault      (core dumped) monitor-get-edid-using-vbe --port 0 2> /dev/null

and the server crashes. sad

I'm using ocsinventory-agent-2.9.3-1.el8.x86_64 from from the rpm packaging.

Any suggestion is welcome.

by (160 points)
edited by
0 votes
Hi,

What's the content of ocsinventory-agent.log file ?
by (90.4k points)
 
Powered by Question2Answer
...