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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

EasyApache 4 Update Error

Discussion in 'EasyApache' started by Nirjonadda, Jan 26, 2017.

Tags:
  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    418
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I am getting EasyApache 4 Update Error. Please let me know the fix.

    Code:
    Update Error:
    
    The package ea-apache24-mod_mpm_prefork conflicts and we need to install it resolve deps at /usr/local/cpanel/Cpanel/PackMan.pm line 350.
    ScreenShot00251.png

    Also getting error via "yum update"

    Code:
    [root@na ~]# yum update
    
    --> Processing Conflict: ea-apache24-mod_proxy_hcheck-2.4.25-4.4.1.cpanel.x86_64                                                                                                                                                              conflicts ea-apache24-mpm = forked
    --> Finished Dependency Resolution
    Error: ea-apache24-mod_proxy_hcheck conflicts with ea-apache24-mod_mpm_prefork-2                                                                                                                                                             .4.25-4.4.1.cpanel.x86_64
     You could try using --skip-broken to work around the problem
    ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
    cpanel-pdns-3.4.10-1.cp1160.x86_64 has installed conflicts pdns: cpanel-pdns-3.4                                                                                                                                                             .10-1.cp1160.x86_64
    [root@na ~]#
    
     
  2. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    605
    Likes Received:
    94
    Trophy Points:
    103
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    mod_proxy_hcheck is not fully thread safe. During our last update we noticed it's gotten worse, and thus we've added conflicts to ensure that Apache remains up and stable when using hcheck. You will need to remove that RPM from your system / profiles.
     
  3. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    418
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator

    But EasyApache 4 Interface are does not show this error correctly.


    ScreenShot00251.png
     
  4. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    605
    Likes Received:
    94
    Trophy Points:
    103
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    You'll probably need to go into SSH and run 'yum remove ea-apache24-mod_proxy_hcheck'
     
  5. Eugenio

    Eugenio Registered

    Joined:
    Apr 19, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    Hello,

    I have same error as @Nirjonadda running the /scripts/migrate_ea3_to_ea4 script.

    Code:
    The package ea-apache24-mod_mpm_prefork conflicts and we need to install it resolve deps at /usr/local/cpanel/Cpanel/PackMan.pm line 350.
    but when I run the solution suggested by @cPJacob

    Code:
    yum remove ea-apache24-mod_proxy_hcheck
    I get

    Code:
    Loaded plugins: fastestmirror, universal-hooks
    No Match for argument: ea-apache24-mod_proxy_hcheck
    No Packages marked for removal
    CENTOS 7.3 x86_64 cPanel & WHM 64.0 (build 21)

    Many thanks for helping hands
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Try running the following command to verify all MPM options are listed as "0" in your most recent profile:

    Code:
    grep MPM /var/cpanel/easy/apache/profile/_main.yaml
    If so, edit the above file using a utility such as VI and change "MPMPrefork" from "0" to "1":

    Code:
    vi /var/cpanel/easy/apache/profile/_main.yaml
    Then, try converting to EA4 again to see if it succeeds. There's a post on this topic at:

    Error when migrating EasyApache3 to EasyApache4

    Thank you.
     
Loading...

Share This Page