cant locate perl package in my server
Hi.
While checking for the status of apache through nagios service i got dis error. Am using a perl script to check for the apache status. The error as shown below,
# ./check_apachestatus.pl -H (IP_ADDR) Can' t locate LWP/UserAgent.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 ./check_apachestatus.pl line 13. BEGIN failed--compilation aborted at ./check_apachestatus.pl line 13.