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!

SOLVED Can't switch to mod_mpm_event to enable mod_http2

Discussion in 'EasyApache' started by PeteS, Feb 7, 2018.

  1. PeteS

    PeteS Well-Known Member

    Joined:
    Jun 8, 2017
    Messages:
    106
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    Oregon
    cPanel Access Level:
    Root Administrator
    When attempting to install mod_http2 in WHM I get:

    This makes total sense to me, and after selecting "yes" and selecting mod_mpm_event it is configured to also install mod_cgid. So far so good, but on review I get:

    Code:
    Error: ea-apache24-mod_mpm_event conflicts with ea-apache24-mod_mpm_prefork-2.4.29-7.7.2.cpanel.x86_64
    Error: ea-apache24-mod_cgid conflicts with ea-apache24-mod_cgi-2.4.29-7.7.2.cpanel.x86_64
    Error: ea-apache24-mod_mpm_prefork conflicts with ea-apache24-mod_mpm_event-2.4.29-7.7.2.cpanel.x86_64
    Error: ea-apache24-mod_cgi conflicts with ea-apache24-mod_mpm_event-2.4.29-7.7.2.cpanel.x86_64
    Error: ea-apache24-mod_mpm_prefork conflicts with ea-apache24-mod_cgid-2.4.29-7.7.2.cpanel.x86_64
    Error: ea-apache24-mod_cgid conflicts with ea-apache24-mod_mpm_prefork-2.4.29-7.7.2.cpanel.x86_64
    Error: ea-apache24-mod_mpm_event conflicts with ea-apache24-mod_cgi-2.4.29-7.7.2.cpanel.x86_64
    Error: ea-apache24-mod_cgi conflicts with ea-apache24-mod_cgid-2.4.29-7.7.2.cpanel.x86_64
    Error: ea-apache24-mod_http2 conflicts with ea-apache24-mod_mpm_prefork-2.4.29-7.7.2.cpanel.x86_64
    Error: ea-apache24-mod_mpm_prefork conflicts with ea-apache24-mod_http2-2.4.29-7.7.2.cpanel.x86_64
    How do I get this to work?
     
    #1 PeteS, Feb 7, 2018
    Last edited by a moderator: Feb 7, 2018
  2. PeteS

    PeteS Well-Known Member

    Joined:
    Jun 8, 2017
    Messages:
    106
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    Oregon
    cPanel Access Level:
    Root Administrator
    EasyApache 4 not resolving conflict correctly addressed this over a year ago, and indicated it should be fixed in v60 but apparently this wasn't.

    cPanel 68 (soon to be 70) still has this problem.

    Shouldn't this have been fixed by now?!

    ----

    Per the above link I tried the yum shell CLI option (thanks, @cPJacob) and got the following:

    Code:
    # yum shell
    Loaded plugins: fastestmirror, langpacks, universal-hooks
    > remove ea-apache24-mod_mpm_prefork
    > install ea-apache24-mod_mpm_worker
    Loading mirror speeds from cached hostfile
     * EA4: 69.72.212.11
     * cpanel-addons-production-feed: 69.72.212.11
     * base: mirror.metrocast.net
     * epel: epel.mirror.constant.com
     * extras: mirror.metrocast.net
     * updates: mirror.metrocast.net
    > run
    --> Running transaction check
    ---> Package ea-apache24-mod_mpm_prefork.x86_64 0:2.4.29-7.7.3.cpanel will be erased
    ---> Keeping package: ea-apache24-mod_mpm_prefork-2.4.29-7.7.3.cpanel.x86_64 due to ea-apache24-2.4.29-7.7.3.cpanel.x86_64
    ---> Package ea-apache24-mod_mpm_worker.x86_64 0:2.4.29-7.7.3.cpanel will be installed
    --> Processing Dependency: ea-apache24-mod_cgid for package: ea-apache24-mod_mpm_worker-2.4.29-7.7.3.cpanel.x86_64
    --> Running transaction check
    ---> Package ea-apache24-mod_cgid.x86_64 0:2.4.29-7.7.3.cpanel will be installed
    --> Processing Conflict: ea-apache24-mod_cgi-2.4.29-7.7.3.cpanel.x86_64 conflicts ea-apache24-mod_cgid
    --> Processing Conflict: ea-apache24-mod_cgi-2.4.29-7.7.3.cpanel.x86_64 conflicts ea-apache24-mod_mpm_worker
    --> Processing Conflict: ea-apache24-mod_mpm_prefork-2.4.29-7.7.3.cpanel.x86_64 conflicts ea-apache24-mpm = threaded
    --> Processing Conflict: ea-apache24-mod_mpm_prefork-2.4.29-7.7.3.cpanel.x86_64 conflicts ea-apache24-mod_mpm_worker
    --> Processing Conflict: ea-apache24-mod_mpm_prefork-2.4.29-7.7.3.cpanel.x86_64 conflicts ea-apache24-mod_cgid
    --> Processing Conflict: ea-apache24-mod_mpm_worker-2.4.29-7.7.3.cpanel.x86_64 conflicts ea-apache24-mpm = forked
    --> Processing Conflict: ea-apache24-mod_mpm_worker-2.4.29-7.7.3.cpanel.x86_64 conflicts ea-apache24-mod_mpm_prefork
    --> Processing Conflict: ea-apache24-mod_mpm_worker-2.4.29-7.7.3.cpanel.x86_64 conflicts ea-apache24-mod_cgi
    --> Processing Conflict: ea-apache24-mod_cgid-2.4.29-7.7.3.cpanel.x86_64 conflicts ea-apache24-mod_mpm_prefork
    --> Processing Conflict: ea-apache24-mod_cgid-2.4.29-7.7.3.cpanel.x86_64 conflicts ea-apache24-mod_cgi
    --> Finished Dependency Resolution
    Error: ea-apache24-mod_cgid conflicts with ea-apache24-mod_mpm_prefork-2.4.29-7.7.3.cpanel.x86_64
    Error: ea-apache24-mod_mpm_worker conflicts with ea-apache24-mod_cgi-2.4.29-7.7.3.cpanel.x86_64
    Error: ea-apache24-mod_cgi conflicts with ea-apache24-mod_cgid-2.4.29-7.7.3.cpanel.x86_64
    Error: ea-apache24-mod_mpm_worker conflicts with ea-apache24-mod_mpm_prefork-2.4.29-7.7.3.cpanel.x86_64
    Error: ea-apache24-mod_mpm_prefork conflicts with ea-apache24-mod_mpm_worker-2.4.29-7.7.3.cpanel.x86_64
    Error: ea-apache24-mod_cgi conflicts with ea-apache24-mod_mpm_worker-2.4.29-7.7.3.cpanel.x86_64
    Error: ea-apache24-mod_mpm_prefork conflicts with ea-apache24-mod_cgid-2.4.29-7.7.3.cpanel.x86_64
    Error: ea-apache24-mod_cgid conflicts with ea-apache24-mod_cgi-2.4.29-7.7.3.cpanel.x86_64
     
    #2 PeteS, Feb 7, 2018
    Last edited by a moderator: Feb 7, 2018
  3. cPWilliamL

    cPWilliamL cP Technical Analyst II
    Staff Member

    Joined:
    May 15, 2017
    Messages:
    257
    Likes Received:
    29
    Trophy Points:
    103
    Location:
    America
    cPanel Access Level:
    Root Administrator
    Hi @PeteS,

    It looks like there are conflicts with packages which support threading; mod_cgi and mod_mpm_prefork are not threaded, mod_cgid and http2 are threaded. The mod_cgi package is preventing mod_mpm_worker from being installed because mod_cgid cannot be installed, as the two cgi(d) packages conflict due to threading.

    Could you ensure mod_cgi is also removed when trying to install event and http2?

    Thanks,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. PeteS

    PeteS Well-Known Member

    Joined:
    Jun 8, 2017
    Messages:
    106
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    Oregon
    cPanel Access Level:
    Root Administrator
    If you notice at the top, WHM sets up properly, to remove prefork, cgi, and ruid2, and to install event, cgid, and http2, but on running review, it can't sort out the dependencies properly and won't allow it.

    Same happens in yum shell.

    Same happens with other types of changes (see the other sited thread which describe the same issues with screne shots).

    This is not just a problem with my server install or I would open an incident; it appears to be a problem in cPanel and/or yum.
     
    #4 PeteS, Feb 7, 2018
    Last edited: Feb 7, 2018
  5. PeteS

    PeteS Well-Known Member

    Joined:
    Jun 8, 2017
    Messages:
    106
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    Oregon
    cPanel Access Level:
    Root Administrator
    Home > Software > Install an RPM (looks to just implement yum shell command) does the same thing if I try to install http2, or event, or cgid.

    Example:

     
  6. PeteS

    PeteS Well-Known Member

    Joined:
    Jun 8, 2017
    Messages:
    106
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    Oregon
    cPanel Access Level:
    Root Administrator
    UPDATE
    In attempting to use yum to remove the unwanted prefork I see this:
    It's as though a special cPanel version is preventing it from being removed. I hesitate to start hacking away at the Apache install until I get what I want because I want the WHM interface to still work. ;)

    I have also opened a support ticket as well, but I feel it needs to be addressed here since it does not appear to be anything wrong with my specific server. (Incident #9267607)
     
  7. PeteS

    PeteS Well-Known Member

    Joined:
    Jun 8, 2017
    Messages:
    106
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    Oregon
    cPanel Access Level:
    Root Administrator
    You can mark this solved.

    cPanel tech support was able to find the problem, though it took some time. Apparently non-default settings in /etc/yum.conf were the culprit.

    After removing, commenting out, or setting these to "0" all is well. Packages can be changed from CLI and WHM.
     
    cPWilliamL likes this.
  8. cPWilliamL

    cPWilliamL cP Technical Analyst II
    Staff Member

    Joined:
    May 15, 2017
    Messages:
    257
    Likes Received:
    29
    Trophy Points:
    103
    Location:
    America
    cPanel Access Level:
    Root Administrator
    Thanks @PeteS for following up with the solution to your issue!
     
    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