If you get error " Can't locate Net/SNMP.pm in @INC" while executing a perl script , and in your script syntax is as below, where Net::SNMP module is in use. use strict; use Net::SNMP; use Getopt::Long; Then use the following step to install Net SNMP Solution :-- Login as a Super user (root) user on machine. Login to CPAN shell with following command. #perl -MCPAN -e shell cpan> install Bundle::CPAN cpan[1]> reload cpan cpan[1]> reload index cpan[1]> install Net::SNMP cpan[1]> install Getopt::Long cpan> exit Terminal does not support GetHistory. Lockfile removed. # After all this try to execute your script ..hopefully your problem will be resolved.
All About Networking is a blog about Networking, Hardware, Software, IT Guide, Tech Info, Engineering Info, Networking tips, tricks and tutorials. Collection of Information and Solutions of all Networking problems .Solution for all software Hardware issues, Help-desk for IT Engineers, Web designers and Server Administrators