Apache 2.4 / mod_ssl on cPanel DNSonly

KnTq

Registered
Aug 3, 2019
4
0
1
EU
cPanel Access Level
Root Administrator
Hello,
I have installed Apache on cPanel DNS only server, but i can't install mod_ssl. OS is Centos 7.6.

Bellow is the output from: yum install mod_ssl
Code:
[[email protected] ~]# yum install mod_ssl
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
 * EA4: XXXXXXXXX
 * cpanel-addons-production-feed: XXXXXX
 * cpanel-plugins: XXXXXXX
 * base: XXXXXXX
 * extras: XXXXXXX
 * updates: XXXXXX
Package mod_ssl is obsoleted by ea-apache24-mod_ssl, trying to install ea-apache24-mod_ssl-2.4.39-5.5.1.cpanel.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package ea-apache24-mod_ssl.x86_64 0:2.4.39-5.5.1.cpanel will be installed
--> Processing Dependency: ea-apache24-mmn = 20120211x8664 for package: ea-apache24-mod_ssl-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-apache24 = 2.4.39-5.5.1.cpanel for package: ea-apache24-mod_ssl-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-openssl >= 1.0.2o-2 for package: ea-apache24-mod_ssl-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: libssl.so.1.0.0(libssl.so.1.0.0)(64bit) for package: ea-apache24-mod_ssl-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: libcrypto.so.1.0.0(libcrypto.so.1.0.0)(64bit) for package: ea-apache24-mod_ssl-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: libcrypto.so.1.0.0(OPENSSL_1.0.2)(64bit) for package: ea-apache24-mod_ssl-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-apache24 for package: ea-apache24-mod_ssl-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: libssl.so.1.0.0()(64bit) for package: ea-apache24-mod_ssl-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: libcrypto.so.1.0.0()(64bit) for package: ea-apache24-mod_ssl-2.4.39-5.5.1.cpanel.x86_64
--> Running transaction check
---> Package ea-apache24.x86_64 0:2.4.39-5.5.1.cpanel will be installed
--> Processing Dependency: ea-apache24-tools = 2.4.39-5.5.1.cpanel for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-apr-util(x86-64) >= 1.6.1-1 for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-apr(x86-64) >= 1.7.0-1 for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: elinks for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-documentroot for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-cpanel-tools for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-apache24-tools for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-apache24-mpm for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-apache24-mod_proxy_wstunnel for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-apache24-mod_proxy_http for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-apache24-mod_proxy for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-apache24-mod_bwlimited for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-apache24-config-runtime for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-apache24-config for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
--> Processing Dependency: ea-apache24-cgi for package: ea-apache24-2.4.39-5.5.1.cpanel.x86_64
---> Package ea-openssl.x86_64 0:1.0.2s-1.1.1.cpanel will be installed
--> Running transaction check
---> Package ea-apache24-config.noarch 0:1.0-152.152.1.cpanel will be installed
---> Package ea-apache24-config-runtime.noarch 0:1.0-152.152.1.cpanel will be installed
---> Package ea-apache24-mod_bwlimited.x86_64 0:1.4-46.48.114.cpanel will be installed
---> Package ea-apache24-mod_cgid.x86_64 0:2.4.39-5.5.1.cpanel will be installed
---> Package ea-apache24-mod_mpm_event.x86_64 0:2.4.39-5.5.1.cpanel will be installed
---> Package ea-apache24-mod_proxy.x86_64 0:2.4.39-5.5.1.cpanel will be installed
---> Package ea-apache24-mod_proxy_http.x86_64 0:2.4.39-5.5.1.cpanel will be installed
---> Package ea-apache24-mod_proxy_wstunnel.x86_64 0:2.4.39-5.5.1.cpanel will be installed
---> Package ea-apache24-tools.x86_64 0:2.4.39-5.5.1.cpanel will be installed
---> Package ea-apr.x86_64 0:1.7.0-2.2.2.cpanel will be installed
---> Package ea-apr-util.x86_64 0:1.6.1-4.4.10.cpanel will be installed
---> Package ea-cpanel-tools.x86_64 0:1.0-24.24.1.cpanel will be installed
---> Package ea-documentroot.noarch 0:1.0-5.5.2.cpanel will be installed
---> Package elinks.x86_64 0:0.12-0.37.pre6.el7.0.1 will be installed
--> Processing Dependency: libnss_compat_ossl.so.0()(64bit) for package: elinks-0.12-0.37.pre6.el7.0.1.x86_64
--> Processing Dependency: libmozjs185.so.1.0()(64bit) for package: elinks-0.12-0.37.pre6.el7.0.1.x86_64
--> Processing Dependency: libgpm.so.2()(64bit) for package: elinks-0.12-0.37.pre6.el7.0.1.x86_64
--> Running transaction check
---> Package gpm-libs.x86_64 0:1.20.7-5.el7 will be installed
---> Package js.x86_64 1:1.8.5-20.el7 will be installed
---> Package nss_compat_ossl.x86_64 0:0.9.6-8.el7 will be installed
--> Processing Conflict: ea-apache24-2.4.39-5.5.1.cpanel.x86_64 conflicts httpd-mmn
--> Finished Dependency Resolution
Error: ea-apache24 conflicts with httpd-2.4.6-89.el7.centos.1.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
It seems that there is a problem with ea-apache24?

Can anyone help?
 
Last edited by a moderator:

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
7,090
559
263
Houston
cPanel Access Level
DataCenter Provider
cPanel (including dnsOnly) comes with apache installed. DNSOnly servers are not meant to run websites though, they're merely for DNS. The issue is as stated by @Infopro that the ea-apache RPM conflicts with the stock apache package you installed.
 

KnTq

Registered
Aug 3, 2019
4
0
1
EU
cPanel Access Level
Root Administrator
The problem is that the Apache is in the cPanel repository therefore you have to disable this repository if you want to install mod_ssl.

First I used this thread; SOLVED - cpanel DNS-ONLY with apache and php

Then

Code:
yum --disablerepo=EA4,cpanel-addons-production-feed,cpanel-plugins install mod_ssl openssl

The problem is now that I need to manually update all packages with

Code:
yum update --skip-broken