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!

yum broken - critical issue

Discussion in 'General Discussion' started by Nishant80, Jul 1, 2013.

  1. Nishant80

    Nishant80 Well-Known Member

    May 7, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I am not sure what exactly happened, but I am not able to run yum. Whenever I do anything that starts with yum, it will throw this error:

    root@server [~]# yum
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:
   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.6.6 (r266:84292, Feb 22 2013, 00:00:18) 
    [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]
    If you cannot solve this problem yourself, please go to 
    the yum faq at:
    I reckon someone told me that it is a memory issue, however the server has 24GB RAM and hardly 5GB is being used right now. Your guidance is highly appreciated.

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    I have seen instances where this issue is resolved by temporarily disabling the virtual memory limit on the OS with the following command:

    ulimit -v unlimited
    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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