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!

Fix for Yum error or other resource limits errors in cPanel

Discussion in 'General Discussion' started by hicom, Jan 7, 2011.

  1. hicom

    hicom Well-Known Member

    May 23, 2003
    Likes Received:
    Trophy Points:
    After the latest update to 11.28 stable, we began experiencing this issue on some CentOS 5.5 servers when trying to run the command: yum:

    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:
       /usr/lib64/python2.4/lib-dynload/ failed to map segment from shared object: Cannot allocate memory
    Please install a package which provides this module, or
    verify that the module is installed correctly.
    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.4.3 (#1, Jan 21 2009, 01:11:33) 
    [GCC 4.1.2 20071124 (Red Hat 4.1.2-42)]
    If you cannot solve this problem yourself, please go to 
    the yum faq at:
    it turns out the issue is related to resource limits set by cPanel under /etc/bashrc

    To fix the problem, login to cPanel/WHM and search for the option "Fork bomb" , disable that option.

    Good luck to all!

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice