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.

Can't locate object method "new" via package "XML::LibXML::SAX"

Hello,

I'm getting this error when I try to launch agent 2.1.1 on AIX6.1 TL9 SP1, same agent work fine on older AIX release:

[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[debug] Log system initialised (Stderr)
[debug] --scan-homedirs missing. Don't scan user directories
[debug] ocsinv.conf updated successfully
[debug] Accountinfo file: /var/lib/ocsinventory-agent/http:__ocsi.entreprise.gie.local_ocsinventory/ocsinv.adm
[debug] OCS Agent initialised
[debug] No modules will be used.
[debug] Compress::Zlib is not available! The data will be compressed with
        gzip instead but won't be accepted by server prior 1.02
[debug] sending XML
[debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <QUERY>PROLOG</QUERY>
  <DEVICEID>XXXXXX-2016-12-13-16-30-35</DEVICEID>
</REQUEST>
[debug] =BEGIN=SERVER RET======
[debug] $VAR1 = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>
<REPLY>
  <OPTION>
    <NAME>DOWNLOAD</NAME>
    <PARAM FRAG_LATENCY="10" PERIOD_LATENCY="1" ON="0" TYPE="CONF" CYCLE_LATENCY="60" TIMEOUT="30" PERIOD_LENGTH="10" EXECUTION_TIMEOUT="120" />
  </OPTION>
  <RESPONSE>SEND</RESPONSE>
  <PROLOG_FREQ>24</PROLOG_FREQ>
</REPLY>
';
[debug] =END=SERVER RET======
Can't locate object method "new" via package "XML::LibXML::SAX" at /usr/opt/perl5/lib/site_perl/5.8.8/XML/SAX/ParserFactory.pm line 43.

Any idea ?

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

2 Answers

0 votes
Hi,

Is perl module XML::SAX installed on your server?

Regards

Frank
by (90.4k points)
0 votes
Hi,

Yes perl module XML::SAX is installed.
by (160 points)
 
Powered by Question2Answer
...