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.

Yum wont run because of limits?

Discussion in 'General Discussion' started by gkgcpanel, Jan 25, 2013.

  1. gkgcpanel

    gkgcpanel Well-Known Member

    Jun 6, 2007
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider
    Just had an interesting issue... Wonder if anyone can shed some light on this.

    One of our VPS servers has had the yum updates broken for the past couple of days.
    We are trying to install a package and got the following:

    # yum install osad
    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, Jun 18 2012, 08:55:23) 
    This would (actually has) prevent security fixes as well.

    Running the following:

    ulimit -m unlimited -d unlimited -v unlimited
    fixes the problem and yum is working again.

    So what limits would cause the above problem?

Share This Page