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 failing - yum problem

Discussion in 'EasyApache' started by nightaddix, Jun 6, 2011.

  1. nightaddix

    nightaddix Active Member
    PartnerNOC

    Joined:
    Jul 7, 2008
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    56
    Hello,

    We have a server which seems to fail to start EasyApache. I get the following error :

    !! The server's system package manager, 'YUM', failed. !!
    !!
    This is the command that failed:
    yum --exclude=kernel* -y install zlib1-devel expat-devel gettext automake19 libpng-devel libopenssl0-dev gcc-c++ expat openssl glibc-devel libpng-dev zlib-devel libstdc++ zlib bison autoconf261 gmake libXpm libstdc++-devel libjpeg-devel openssl-devel automake coreutils libtool-libltdl-devel libopenssl0 openssl-dev libtool patch libstdc++-dev libz-devel libltdl3-devel libjpeg-dev libltdl libopenssl0.9.7-static-devel pam-dev libtool-ltdl-devel libopenssl0.9.7-devel libltdl-devel fileutils libXpm-devel sed libXpm-dev lsof krb5-dev flex glibc-dev expat-dev krb5-devel make libX11-devel xorg-x11-devel libtool-ltdl libssl-dev gd pam-devel cpp xorg-x11-dev gcc libopenssl0-devel ssl-dev lex autoconf
    !!
    !!
    Since EasyApache was unable to resolve it automatically you should:
    1) Manually run the failed YUM command (shown above) via SSH
    2) See if your particular error is addressed at EaError < AllDocumentation < TWiki
    3) Resolve the YUM problem manually
    4) Re-run EasyApache
    !!
    !! Please visit EaError < AllDocumentation < TWiki for help with this error. !!

    !! Restoring original working apache !!

    Running the command as suggested returns the following dependency problems :


    Error: Missing Dependency: perl(Exporter) is needed by package autoconf
    Error: Missing Dependency: perl >= 0:5.005 is needed by package autoconf
    Error: Missing Dependency: perl(DynaLoader) is needed by package automake
    Error: Missing Dependency: perl(File::Compare) is needed by package automake
    Error: Missing Dependency: perl(Data::Dumper) is needed by package autoconf
    Error: Missing Dependency: perl(File::stat) is needed by package autoconf
    Error: Missing Dependency: perl(Carp) is needed by package autoconf
    Error: Missing Dependency: perl(File::Copy) is needed by package autoconf
    Error: Missing Dependency: perl(File::Spec) is needed by package automake
    Error: Missing Dependency: perl(Exporter) is needed by package automake
    Error: Missing Dependency: perl >= 0:5.000 is needed by package autoconf
    Error: Missing Dependency: perl >= 0:5.000 is needed by package automake
    Error: Missing Dependency: perl is needed by package automake
    Error: Missing Dependency: perl(DynaLoader) is needed by package autoconf
    Error: Missing Dependency: perl >= 0:5.005_03 is needed by package automake
    Error: Missing Dependency: perl(File::Basename) is needed by package autoconf
    Error: Missing Dependency: perl(IO::File) is needed by package automake
    Error: Missing Dependency: perl(File::stat) is needed by package automake
    Error: Missing Dependency: perl(File::Copy) is needed by package automake
    Error: Missing Dependency: perl(File::Spec) is needed by package autoconf
    Error: Missing Dependency: perl(Errno) is needed by package autoconf
    Error: Missing Dependency: perl(Getopt::Long) is needed by package automake
    Error: Missing Dependency: perl(vars) is needed by package autoconf
    Error: Missing Dependency: perl(Errno) is needed by package automake
    Error: Missing Dependency: perl(strict) is needed by package automake
    Error: Missing Dependency: perl(File::Find) is needed by package autoconf
    Error: Missing Dependency: perl(IO::File) is needed by package autoconf
    Error: Missing Dependency: perl(Cwd) is needed by package autoconf
    Error: Missing Dependency: perl(File::Compare) is needed by package autoconf
    Error: Missing Dependency: perl(vars) is needed by package automake
    Error: Missing Dependency: perl(strict) is needed by package autoconf
    Error: Missing Dependency: perl(Carp) is needed by package automake
    Error: Missing Dependency: perl >= 0:5.005_03 is needed by package autoconf
    Error: Missing Dependency: perl(constant) is needed by package autoconf
    Error: Missing Dependency: perl is needed by package autoconf
    Error: Missing Dependency: /usr/bin/perl is needed by package autoconf
    Error: Missing Dependency: perl(POSIX) is needed by package automake
    Error: Missing Dependency: /usr/bin/perl is needed by package automake
    Error: Missing Dependency: perl(Cwd) is needed by package automake
    Error: Missing Dependency: perl(Text::ParseWords) is needed by package autoconf
    Error: Missing Dependency: perl(File::Basename) is needed by package automake
    Error: Missing Dependency: perl(Getopt::Long) is needed by package autoconf
    Error: Missing Dependency: perl is needed by package libtool
    Error: Missing Dependency: perl(POSIX) is needed by package autoconf
    Error: Missing Dependency: perl >= 0:5.005 is needed by package automake
    Error: Missing Dependency: perl(constant) is needed by package automake
    Error: Missing Dependency: kernel >= 2.6 is needed by package initscripts

    The server is running CentOS 4.9 and I'm not sure how to fix the above without breaking anything vital like Perl. Can anyone shed a light on how to fix this issue ? Thanks in advance.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,609
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Based on a couple of prior tickets I've reviewed where a similar series of errors occurred, I would suggest checking where perl is installed on the machine:

    Code:
    which perl
    Code:
    ls -lah /usr/bin/perl /usr/local/bin/perl
    The perl binary should be at /usr/local/bin/perl with a symlink from /usr/bin/perl to /usr/local/bin/perl location. If it is not the case, then copy the existing binary at /usr/bin/perl after moving it and create the right symlink:

    Code:
    mv /usr/bin/perl /usr/bin/perl.bak110606
    mv /usr/local/bin/perl /usr/local/bin/perl.bak110606
    cp /usr/bin/perl.bak110606 /usr/local/bin/perl
    cd /usr/bin
    ln -s /usr/local/bin/perl perl
    At that point, try to run "/scripts/checkperlmodules --full --force" to see if any additional modules are installed. If any aren't and the dependency check still fails, try the following to reinstall perl using our installer:

    Code:
    cd /usr/local/src && wget -N http://httpupdate.cpanel.net/perl588installer.tar.gz && tar -xzvf perl588installer.tar.gz && chown -vhR 0:0 perl588installer && cd perl588installer && ./install
    If this also doesn't work to correct the issue, then please open up a ticket at that point and quote the ticket number here.
     
    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