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!

easyapache fails

Discussion in 'EasyApache' started by xanthi, Oct 17, 2010.

  1. xanthi

    xanthi Member

    Oct 17, 2010
    Likes Received:
    Trophy Points:
    I'm using easyApache to enable TTF in PHP on a CentOS server. When I "Save and Build" with the new configuration, I get:

    Checking that all tarballs are present and up to date.
    Checking that all packages are present and up to date.
    !! Trying to auto repair package system !!
    Fetching (0)....@
    checkyum version 20.5
    Fetching (0)....@
    checkyum version 20.5
    checkyum version 20.5
    !! Package system can not be repaired automatically !!
    !! Please visit for help with this error. !!
    Testing yum gives me:

    Transaction Summary
    Install       0 Package(s)
    Upgrade       8 Package(s)
    Total size: 32 M
    Is this ok [y/N]: y
    Downloading Packages:
    Running rpm_check_debug
    Running Transaction Test
    memory alloc (24 bytes) returned NULL.
    and the update fails.

    • Does anyone know of a fix for the yum problem?
    • Is there any way of building Apache with easyApache, but disabling the package update to bypass this problem?
    • Is there a way to manually enable TTF without easyapache to get round the problem (freetype packages are installed)?

  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    The error appears to be a memory error. Do you have sufficient memory on the system to run the update? Yum is going to need a set amount of memory to allocate for the update. If there isn't sufficient memory, it would fail the allocation. Here's a discussion with someone on a VPS that didn't have enough memory and received the error:

    0003183: Yum problem - All operation will crash - CentOS Bug Tracker

    To answer your other questions, first, you must have a working package system for EasyApache to function as we pull some rpms during the build using the package system.

    Next, you cannot enable TTF without building EasyApache. You really need a working package system regardless.

    If you do not have sufficient memory to run yum, try stopping some processes temporarily to allow it to run. You could stop and disable monitoring for exim and Apache in all likelihood and get more memory on the system. Stuff like mailman, crond, imap / pop3 and so on are also going to free up memory.

    If you do have sufficient memory, then you might want to ask your datacenter or NOC if they have any ideas. Most times, they've seen and worked with components like this extensively and would know what else might cause the error.
    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