Active IQ Unified Manager Discussions

Harvest Install Issue

Joe_Bailey
7,571 Views

Trying to install Harvest and i'm getting this error when I try to run it:

 

[root@localhost tmp]# /opt/netapp-harvest/netapp-manager
Can't locate JSON.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/netapp-harvest/netapp-manager line 22.
BEGIN failed--compilation aborted at /opt/netapp-harvest/netapp-manager line 22.
[root@localhost tmp]# /opt/netapp-harvest/netapp-worker
Can't locate LWP/UserAgent.pm in @INC (@INC contains: /opt/netapp-harvest/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/netapp-harvest/lib/NaServer.pm line 27.
BEGIN failed--compilation aborted at /opt/netapp-harvest/lib/NaServer.pm line 27.
Compilation failed in require at /opt/netapp-harvest/netapp-worker line 36.
BEGIN failed--compilation aborted at /opt/netapp-harvest/netapp-worker line 36.

 

I've verified that the NaServer.pm file is in the rght path, any ideas?

 

Thanks,

Joe

1 ACCEPTED SOLUTION

madden
7,530 Views

Hi @Joe_Bailey

 

Looks like the prerequisites stated in the Harvest Admin guide have not been met:

 

Perl modules from CPAN: JSON, LWP, XML::Parser, Net::SSLeay, Excel::Writer::XLSX (optional, only needed if using perf-counters-to-excel) installed on the Harvest poller host

 

Install or update (command should be entered on one line):
yum (RHEL, CentOS, etc)

sudo yum install perl-JSON perl-libwww-perl perl-XML-Parser perl-Net-SSLeay perl-Excel-Writer-XLSX 

 

For RHEL7 also:

sudo yum install perl-LWP-Protocol-https 

 

apt-get (Debian, Ubuntu, etc):

sudo apt-get install libjson-perl libwww-perl libxml-parser-perl liblwp-protocol-https-perl libexcel-writer-xlsx-perl

 

Cheers,
Chris Madden

Storage Architect, NetApp EMEA (and author of Harvest)

Blog: It all begins with data

 

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO

View solution in original post

3 REPLIES 3

ADDEDMARIORF3
7,555 Views

Hello

 

What Linux distributiion version is used? I installed in the Ubuntu Linux version 14 and no has problem..

 

-MRF

madden
7,531 Views

Hi @Joe_Bailey

 

Looks like the prerequisites stated in the Harvest Admin guide have not been met:

 

Perl modules from CPAN: JSON, LWP, XML::Parser, Net::SSLeay, Excel::Writer::XLSX (optional, only needed if using perf-counters-to-excel) installed on the Harvest poller host

 

Install or update (command should be entered on one line):
yum (RHEL, CentOS, etc)

sudo yum install perl-JSON perl-libwww-perl perl-XML-Parser perl-Net-SSLeay perl-Excel-Writer-XLSX 

 

For RHEL7 also:

sudo yum install perl-LWP-Protocol-https 

 

apt-get (Debian, Ubuntu, etc):

sudo apt-get install libjson-perl libwww-perl libxml-parser-perl liblwp-protocol-https-perl libexcel-writer-xlsx-perl

 

Cheers,
Chris Madden

Storage Architect, NetApp EMEA (and author of Harvest)

Blog: It all begins with data

 

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO

krishgudd
6,529 Views

Hi Chris,

 

I didn't find the RPM package perl-Excel-Writer-XLSX  in any of the valid redhat repository for RHEL6

 

Either we have to download the taball file or source RPM.

 

Regards,

Krishgudd

Public