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.6 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

CentOS 7.6 OCS agent 2.6.0 errors after updates; [closed]

I noticed my centos servers havent updated since April, so i went on to test the agent and im getting perl errors on all of my servers

 more /etc/centos-release

CentOS Linux release 7.6.1810 (Core)

/usr/sbin/ocsinventory-agent

Use of uninitialized value $password in concatenation (.) or string at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Network.pm line 52.

any help would be appreciated with this, my ocs inventory server doesnt require a password .. at least it was working a few months ago .. my ubuntu servers work fine;

Edit; I did install from the rpm fyi

 rpm -qa | grep ocs

ocsinventory-agent-2.6.0-1.el7.ocs.x86_64

nagios-plugins-procs-2.2.1-16.20180725git3429dad.el7.x86_64

monitor-edid-3.0-13.el7.ocs.x86_64

libx86-1.1-23.el7.ocs.x86_64

ocsinventory-agent-core-2.6.0-1.el7.ocs.x86_64

perl-Ocsinventory-Agent-2.6.0-1.el7.ocs.noarch

ocsinventory-release-7-4.el7.ocs.noarch

it was working but may have taken updates .. /etc/yum.repos.d/ocsinventory.repo gets produced by the rpm and is automatically enabled;
[ocsinventory]
name=OCS Inventory NG repository for Enterprise Linux 7 - $basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ocs
so im thinking it took an update an broke something
closed with the note: due to Error 400 - OCS server version is 2.5 and this new agent 2.6 does not work with it
in OCS Inventory NG agent for Unix by (180 points)
closed by

1 Answer

0 votes
Have you try to install the agent with the RPM ?
by (21k points)
 
Powered by Question2Answer
...