The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to reigister at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Active IQ Unified Manager Discussions

Harvest Install Issue

Joe_Bailey

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

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

madden

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

krishgudd

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

ADDEDMARIORF3

Hello

 

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

 

-MRF

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public