Data Infrastructure Management Software Discussions

Harvest Install Issue

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 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/ 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/ line 27.
BEGIN failed--compilation aborted at /opt/netapp-harvest/lib/ 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 file is in the rght path, any ideas?





Re: Harvest Install Issue



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



Re: Harvest Install Issue

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


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

Re: Harvest Install Issue

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.




Review Banner
All Community Forums