Can't switch to mod_mpm_event to enable mod_http2
When attempting to install mod_http2 in WHM I get:
[QUOTE]
The following conflicts are installed on this machine.
They will be removed as part of this package selection:
mod_cgi
mod_ruid2
mod_mpm_prefork
The following requirements are not installed on this machine.
They will be added as part of this package selection:
mod_http2
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:
How do I get this to work?
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:
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_64How do I get this to work?
-
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, 0 -
Could you ensure mod_cgi is also removed when trying to install event and http2? Thanks,
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.0 -
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: [quote] Loaded plugins: fastestmirror, langpacks, universal-hooks Loading mirror speeds from cached hostfile * EA4: 69.72.212.11 * cpanel-addons-production-feed: 69.72.212.11 * base: mirror.metrocast.net * extras: mirror.metrocast.net * updates: mirror.metrocast.net Resolving Dependencies --> Running transaction check ---> Package ea-apache24-mod_mpm_event.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_event-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_event --> 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_event --> 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_event-2.4.29-7.7.3.cpanel.x86_64 conflicts ea-apache24-mpm = forked --> Processing Conflict: ea-apache24-mod_mpm_event-2.4.29-7.7.3.cpanel.x86_64 conflicts ea-apache24-mod_mpm_prefork --> Processing Conflict: ea-apache24-mod_mpm_event-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_mpm_event conflicts with ea-apache24-mod_mpm_prefork-2.4.29-7.7.3.cpanel.x86_64 Error: ea-apache24-mod_mpm_event conflicts with ea-apache24-mod_cgi-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_cgi conflicts with ea-apache24-mod_mpm_event-2.4.29-7.7.3.cpanel.x86_64 Error: ea-apache24-mod_mpm_prefork conflicts with ea-apache24-mod_mpm_event-2.4.29-7.7.3.cpanel.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest (XID gdf7re) The system failed to execute yum with the arguments "--assumeyes --config /etc/yum.conf install ea-apache24-mod_mpm_event --disablerepo=epel" because of an error: The "/usr/bin/yum" command (process 1180) reported error number 1 when it ended. : Error: ea-apache24-mod_mpm_event conflicts with ea-apache24-mod_mpm_prefork-2.4.29-7.7.3.cpanel.x86_64 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_event 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_cgid conflicts with ea-apache24-mod_cgi-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_cgi conflicts with ea-apache24-mod_mpm_event-2.4.29-7.7.3.cpanel.x86_64 Error: ea-apache24-mod_mpm_prefork conflicts with ea-apache24-mod_mpm_event-2.4.29-7.7.3.cpanel.x86_64 0 -
UPDATE In attempting to use yum to remove the unwanted prefork I see this: [quote] 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
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)0 -
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. [quote] These two settings in /etc/yum.conf are not put into place by cPanel: remove_leaf_only=1 groupremove_leaf_only=1 Lines for these variables do not exist with a base OS or cPanel installation, meaning that they're set to the defaults (disabled).
After removing, commenting out, or setting these to "0" all is well. Packages can be changed from CLI and WHM.0 -
Thanks @PeteS for following up with the solution to your issue! 0
Please sign in to leave a comment.
Comments
7 comments