Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

"you may need to install" for multiple modules

Discussion in 'EasyApache' started by geekcohen, Feb 12, 2017.

  1. geekcohen

    geekcohen Member

    Joined:
    Oct 7, 2015
    Messages:
    22
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Hi all,

    Lately I have been getting a few errors on my VPS and I believe this is all related to EasyApache 4. I am new to EA4 and it is a little frustrating at times.

    The errors are:
    Code:
    Can't locate Encode/Alias.pm in @INC (you may need to install the Encode::Alias module) (@INC contains: /usr/local/cpanel /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1 /opt/cpanel/perl5/524/site_lib/x86_64-linux-64int /opt/cpanel/perl5/524/site_lib) at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/Encode.pm line 47. BEGIN failed--compilation aborted at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/Encode.pm line 47. Compilation failed in require at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Provider.pm line 1096.
    Code:
    file error - cache failed to write wrapper.tmpl: Cannot allocate memory
    Code:
    “/usr/bin/python” reported error code “1” when it ended: Traceback (most recent call last):
    File "/usr/local/cpanel/bin/packman_get_multiinfo_json", line 9, in <module>
    import packman
    File "/usr/local/cpanel/bin/packman.py", line 3, in <module>
    import yum
    File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 45, in <module>
    import logging.config
    File "/usr/lib64/python2.6/logging/config.py", line 30, in <module>
    import sys, logging, logging.handlers, string, socket, struct, os, traceback, types
    File "/usr/lib64/python2.6/logging/handlers.py", line 27, in <module>
    import errno, logging, socket, types, os, string, cPickle, struct, time, re
    File "/usr/lib64/python2.6/struct.py", line 1, in <module>
    from _struct import *
    ImportError: No module named _struct
    w/ /usr/local/cpanel/bin/packman_get_multiinfo_json --disable-excludes --prefix ea-
    Often errors like this can be resolved by running `yum makecache`
    
    Code:
    Internal Server Error
    
    500
    
    Can't locate Digest/MD5.pm in @INC (you may need to install the Digest::MD5 module) (@INC contains: /usr/local/cpanel /usr/local/cpanel /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1 /opt/cpanel/perl5/524/site_lib/x86_64-linux-64int /opt/cpanel/perl5/524/site_lib) at /usr/local/cpanel/Cpanel/PwFileCache.pm line 67.
    cpsrvd/11.62.0.11 Server
    Any assistance and/or advice would be greatly appreciated.

    Kind Regards,
    Cohen
     
  2. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    604
    Likes Received:
    94
    Trophy Points:
    103
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    These problems aren't directly from EA4. There appears to be major issues with python and possibly Perl on your system.

    "ImportError: No module named _struct"

    This is coming directly from YUM. I'd recommend contacting your hosting provider for help on this one. This seems to be an OS issue, rather than a cPanel / EA4 issue.
     
  3. geekcohen

    geekcohen Member

    Joined:
    Oct 7, 2015
    Messages:
    22
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Thanks Jacob, I've submitted a ticket with them now.
     
  4. geekcohen

    geekcohen Member

    Joined:
    Oct 7, 2015
    Messages:
    22
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    My provider assisted with me the solution, thank you.
     
    cPanelMichael likes this.
Loading...

Share This Page