Quantcast
Channel: Ocsinventory Q&A - Recent questions without answers
Viewing all articles
Browse latest Browse all 4599

Can't locate object method "new"

$
0
0
Hello,

After install unix agent via a package created by the unix packager I've an error message when i try to lunch ocsinventory-agent :

[error] Cannot establish communication : 500 Can't locate object method "new" via package "LWP::Protocol::https::Socket"

for information i've the package LWP::Protocol::https::Socket in /opt/ocsinventory/perl/lib/5.26.0/LWP

The using command is :
./ocsinventory-agent --debug --server https://XXX-inventorycommunication.XXX.XXX.com/ocsinventory

And the result is :

[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.3

[debug] Log system initialised (Stderr)

[debug] --scan-homedirs missing. Don't scan user directories

[debug] Accountinfo file: /var/lib/ocsinventory-agent/https:__XXX-inventorycommunication-XXX.XXX.com_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>

  <DEVICEID>localhost-2019-02-18-10-48-40</DEVICEID>

  <QUERY>PROLOG</QUERY>

</REQUEST>

[error] Cannot establish communication : 500 Can't locate object method "new" via package "LWP::Protocol::https::Socket"

Do you know what is this error ?

Thank's for your help.

Viewing all articles
Browse latest Browse all 4599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>