Results 1 to 10 of 10

Thread: WHM EasyApache Error Message

  1. #1
    Join Date
    Apr 2009
    Posts
    3

    Default WHM EasyApache Error Message

    I'm attempt to recompile Apache with GD library enabled. I tried using the default template for PHP Encryption and Image Manipulation. However, it errors out with the following:

    !! 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 expat openssl gcc-c++ 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 libltdl libjpeg-dev libopenssl0.9.7-static-devel pam-dev libtool-ltdl-devel libopenssl0.9.7-devel libltdl-devel fileutils e2fsprogs-devel 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 cPanel - The Leading Control Panel 3) Resolve the YUM problem manually 4) Re-run EasyApache !!
    !! Please visit cPanel - The Leading Control Panel for help with this error. !!
    !! Restoring original working apache !!


    So, I ran that command manually over SSH and got the following error:

    Error: Missing Dependency: pam = 0.99.6.2-4.el5 is needed by package pam-devel

    Anybody know how I can resolve this dependency error? I'm a Windows system admin by trade and just started to dable with Linux more seriously.

    Thanks!

  2. #2
    Join Date
    Oct 2007
    Posts
    27

    Default

    Hm I got same error .

    I had today whole day problems with installing WHM/Cpanel and now when I installed it , it seems apache didn't been installed at all and Easyupdate apache isn't working .

    I installed WHM/Cpanel on servers several times without any problems .

    But I will deal with this tommorow , going now to sleep ... if you find solution let me know

    EDIT: Seems I need to reinstall whole WHM/Cpanel ... I'm using CentOS 5.2 ( in previous installations didn't have any problems ) , you ?
    Last edited by halabit; 04-08-2009 at 10:56 PM.

  3. #3
    Join Date
    Apr 2009
    Posts
    3

    Default

    Well, I noticed the package its missing just was released on April 6th. Perhaps the VPSlink repository hasn't been updated yet, thus YUM isn't able to grab the dependency?

    I know VPSLink likes us to get updates through them for stability and supports sake...

  4. #4
    Join Date
    Oct 2007
    Posts
    27

    Default

    I just run clean install of WHM and apache didn't installed at all and when I try to rebuild it with Easyapache I get your error .

  5. #5
    Join Date
    Apr 2009
    Posts
    3

    Default

    So, then apparently one package got updated on the repository but the dependent package it needed didn't - thus YUM is crapping out. Can somebody at VPSLink shed some light on this?

  6. #6
    Join Date
    Jul 2007
    Location
    127.0.0.1
    Posts
    392

    Default

    Quote Originally Posted by dirkmonson View Post
    So, then apparently one package got updated on the repository but the dependent package it needed didn't - thus YUM is crapping out. Can somebody at VPSLink shed some light on this?
    Dirkmonson,

    If this in fact an issue with VPSlink's repo, try replacing the VPSlink repo with the official, external repo in the mean time.

  7. #7
    Join Date
    Oct 2006
    Posts
    59

    Default

    Hello,

    The problem is that the pam package is excluded in /etc/yum.conf. This one liner should solve your problems:

    Code:
    sed -i -e's/^exclude=.*//' /etc/yum.conf; yum update
    Templates are being updated to not exclude any packages.
    Last edited by max@vpslink; 04-09-2009 at 09:02 PM.

  8. #8
    Join Date
    Oct 2007
    Posts
    27

    Default

    Quote Originally Posted by max@vpslink View Post
    Hello,

    The problem is that the pam package is excluded in /etc/yum.conf. This one liner should solve your problems:

    Code:
    sed -i -e's/^exclude=.*//' /etc/yum.conf; yum update
    Templates are being updated to not exclude any packages.
    yep it's working now , thank you very much !

  9. #9

    Default

    I just signed up today and am fighting though the same experience.

    Install CentOS 5
    Install WHM/cPanel
    Fire up Apache easy update and the same error message as the first post. Does the same thing via SSH. I also ran the line Max posted.

    Is it me or am I missing something?

  10. #10

    Default

    I ran a

    yum clean metadata

    and then I was all good to go.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •