-->

DEVOPSZONES

  • Recent blogs

    Can't locate Net/SSH/Perl.pm in @INC (@INC contains: /usr/local/lib64/perl5

    Error:

    Can't locate Net/SSH/Perl.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 /srv/www/htdocs/cacti/scripts/check_router.pl line 10.
    BEGIN failed--compilation aborted at /srv/www/htdocs/cacti/scripts/check_router.pl line 10.


    Resolution:

    1. Invoke the CPAN shell

    [root@example log]# perl -MCPAN -e shell
    Terminal does not support AddHistory.

    cpan shell -- CPAN exploration and modules installation (v1.9800)
    Enter 'h' for help.

    cpan[1]>



    2. In the CPAN Shell enter the module to install.

    cpan[5]> install Net::SSH::Perl
    Running install for module 'Net::SSH::Perl'
    Running make for S/SC/SCHWIGON/Net-SSH-Perl-2.01.tar.gz
    Fetching with HTTP::Tiny:
    http://mirror.checkdomain.de/CPAN/authors/id/S/SC/SCHWIGON/Net-SSH-Perl-2.01.tar.gz
    Fetching with HTTP::Tiny:
    http://mirror.checkdomain.de/CPAN/authors/id/S/SC/SCHWIGON/CHECKSUMS

    No comments