-->

DEVOPSZONES

  • Recent blogs

    Can't locate DBD/Oracle.pm in @INC (@INC contains: /usr/local/lib64/perl5

    Error:

    Can't locate DBD/Oracle.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/oracle_sql_count.pl line 5.
    BEGIN failed--compilation aborted at /srv/www/htdocs/cacti/scripts/oracle_sql_count.pl line 5.

    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[1]> install DBD::Oracle
    Reading '/root/.cpan/Metadata'
      Database was generated on Wed, 30 Nov 2016 02:17:02 GMT

    No comments