The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can't locate Text/Template.pm

Discussion in 'General Discussion' started by seo-master, Nov 14, 2015.

  1. seo-master

    seo-master Registered

    Joined:
    Nov 14, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    I have a similar problem with running mysqltuner.pl test.
    Two days ago perl worked just fine, but after applying new settings on /etc/my.cnf file subsequent tests gives error:

    Code:
    Can't locate Text/Template.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 mysqltuner.pl line 2816.
    BEGIN failed--compilation aborted at mysqltuner.pl line 2816 (#1)
        (F) You said to do (or require, or use) a file that couldn't be
        found. Perl looks for the file in all the locations mentioned in @INC,
        unless the file name included the full path to the file.  Perhaps you
        need to set the PERL5LIB or PERL5OPT environment variable to say where
        the extra library is, or maybe the script needs to add the library name
        to @INC.  Or maybe you just misspelled the name of the file.  See
        perlfunc/require and lib.
    
    Uncaught exception from user code:
            Can't locate Text/Template.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 mysqltuner.pl line 2816.
    BEGIN failed--compilation aborted at mysqltuner.pl line 2816.
    at mysqltuner.pl line 2816
    
    What kind of information I need provide to correct this problem?
     
    #1 seo-master, Nov 14, 2015
    Last edited by a moderator: Nov 15, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page