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.

EasyApache error

Discussion in 'EasyApache' started by Spetsnaz, Nov 16, 2012.

  1. Spetsnaz

    Spetsnaz Well-Known Member

    Joined:
    Jun 25, 2011
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    So I tried today to add new things via EasyApache and got this error.

    Code:
    If the browser window is closed or stopped the build will continue in the background.
    The build output should start shortly...
    
    Distilled successfully
    !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1353107590' !!
    !! 
    Output from '/bin/sh -c "ulimit -a"': 
    core file size          (blocks, -c) 0
    data seg size           (kbytes, -d) unlimited
    scheduling priority             (-e) 0
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 47289
    max locked memory       (kbytes, -l) 64
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 1024
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    real-time priority              (-r) 0
    stack size              (kbytes, -s) 10240
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 47289
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited
    !!
    !! Creating backup of working apache in '/usr/local/apache.backup'. !!
    !! Symlink encountered (/usr/local/apache/etc), preserving target (conf)... !!
    
    !! Backup of working apache complete. !!
    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 http://httpupdate.cpanel.net/syspkgs/templates/centos/5/default/CentOS-Base.repo (connected:0).......(request attempt 1/12)...Using dns cache file /root/.HttpRequest/httpupdate.cpanel.net......searching for mirrors (mirror search attempt 1/3)......loaded mirror speeds from cache......mirror search success......connecting to 83.170.94.2...@83.170.94.2......connected......receiving...100%......request success......Done
    Loaded plugins: fastestmirror
    Cleaning up Everything
    Cleaning up list of fastest mirrors
    checkyum version 20.6
    Fetching http://httpupdate.cpanel.net/syspkgs/templates/centos/5/cpanel/CentOS-Base.repo (connected:0).......(request attempt 1/12)......connecting to 83.170.94.2...@83.170.94.2......connected......receiving...100%......request success......Done
    Loaded plugins: fastestmirror
    Cleaning up Everything
    Cleaning up list of fastest mirrors
    checkyum version 20.6
    checkyum version 20.6
    !! Package system can not be repaired automatically !!
    
    !! Please visit http://www.cpanel.net/support/could_not_ensurepkgs.htm for help with this error. !!
    
    !! Restoring original working apache !!
    
    !! Executing '/scripts/initsslhttpd' !!
    !! Restarting 'httpd' ... !!
    !! 'httpd' restart complete. !!
    Building global cache for cpanel...veneth0: error fetching interface information: Device not found
    Done
    !! Executing '/scripts/initfpsuexec' !!
    !! Executing '/scripts/initsslhttpd' !!
    !! Executing '/scripts/update_apachectl' !!
    !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1353107590' !!
    
    I tried to do it via ssh and still got the same thing.
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    EasyApache works exactly the same whether you run it in the WebHost Manager or from the shell, so if you see an error in the WHM, you are very unlikely to get a different result if you run it from the shell, or vice versa.

    Did you look at the link in the output you pasted, and follow the recommendations on it?

    The link gives you several suggestions for various modes of failure of the package system (yum).

    yum is part of the operating system, not part of cPanel. EasyApache (and cPanel updates) require a working yum, but since yum is part of the operating system, it is really ultimately your responsibility to maintain. Your data center or server administrator should be able to help you fix yum.
     
  3. Spetsnaz

    Spetsnaz Well-Known Member

    Joined:
    Jun 25, 2011
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    I didn't see the link. but thank you, that fixed the problem. I was reading also then your comment about yum and saw it.
    It was because of YUM.

    Issue has been fixed
     
Loading...

Share This Page