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

    Joined:
    May 7, 2012
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    Hello,
    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:

    Code:
    root@server [~]# yum
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:
    
       libsasl2.so.2: 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:
      http://yum.baseurl.org/wiki/Faq
    
    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.

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,277
    Likes Received:
    1,846
    Trophy Points:
    363
    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:

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

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