Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
nav18
bynav18, August 20, 2019
I get this error when I run the script :
Can't locate Expect.pm in @INC (@INC contains: /root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi /root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi /root/perl5/lib/perl5 /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 ./check_3par.pl line 67.
BEGIN failed--compilation aborted at ./check_3par.pl line 67.
Can't locate Expect.pm in @INC (@INC contains: /root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi /root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi /root/perl5/lib/perl5 /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 ./check_3par.pl line 67.
BEGIN failed--compilation aborted at ./check_3par.pl line 67.
Owner's reply
It looks like you don't have Expect perl module installed. depending on your Operation System you could install it with yum, apt-get, etc. Or get it directly from CPAN: https://metacpan.org/pod/Expect