Hello
After upgrade ocsinventory-agent from 2.6.0 to 2.8.0 I have error when try to run it manually:
Unable to recognise encoding of this document at /usr/share/perl5/vendor_perl/XML/SAX/PurePerl/EncodingDetect.pm line 100.
Document requires an element [Ln: 1, Col: 0]
In log with --debug I see:
runWithTimeout(): unexpected error: Can't use string ("postfix") as an ARRAY ref while "strict refs" in use at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Backend/OS/Generic/Users.pm line 52.
Agent was installed (and upgraded) from repo: baseurl=http://rpm.ocsinventory-ng.org/enterprise/7/$basearch/
System: CentOS Linux release 7.8.2003 (Core).
Strange thing is that I have many others CentOS servers and agent 2.8 working on them without problems.
SK