philsward

Active Member
Jan 3, 2017
26
12
3
USA
cPanel Access Level
Website Owner
After hearing about mod_http2 being released to 'product' back around July 17th, I was excited and eager to get it going. However, it's nowhere to be found.

From what I can tell, mod_http2 was made available with the update to apache 2.4.27. I've been updating yum, several times a day since I found out about mod_http2 being available around the 20th and I'm yet to pull down an updated version of apache 24. I'm still stuck on 2.4.25.

I ran across a post that said the RPM production repositories are only updated about once a month, so I figured "Maybe it was around the end or maybe first of the month". Still no go (It is still the 1st of Aug, so maybe I'm a bit premature)

So, the main question is whether mod_http2 will be available for WHM 64 or is it only available on the Easyapache 4 running on WHM 66?

The next question is: "How often do the production RPM repositories get updated?" If it's only once a month, or once a week, when do they get updated? Is there a specific date or time frame? (For example, middle of the month, or beginning of the week).

I've been looking forward to being able to deploy http2 for 2 years now, and now that it's supposedly available, it still isn't available :-/

What is a kid in a candy store to do when there's no candy in the candy store??
 

JacobPerkins

Well-Known Member
May 2, 2014
617
97
103
cPanel Access Level
DataCenter Provider
Twitter
Howdy,

HTTP/2 is available for EasyApache 4, no matter what version of cPanel you are running. If you're still on Apache 2.4.25, you're behind. When you run yum update, do you get any errors?
 

philsward

Active Member
Jan 3, 2017
26
12
3
USA
cPanel Access Level
Website Owner
Thanks cPjacob,

"HTTP/2 is available for EasyApache 4, no matter what version of cPanel you are running."
Ok. That's how I thought it worked too, but since it hasn't been updating, I started to doubt what I knew.

"When you run yum update, do you get any errors?"
No errors per-say, but I do get some "files not found" messages after running a yum clean all, then running update. I didn't even think to troubleshoot the not found messages... (duh)

Here's a dump from a yum clean all; yum update

Configuration file /etc/yum/pluginconf.d/changelog.conf not found
Unable to find configuration file for plugin changelog
Configuration file /etc/yum/pluginconf.d/tsflags.conf not found
Unable to find configuration file for plugin tsflags
Configuration file /etc/yum/pluginconf.d/universal-hooks.conf not found
Unable to find configuration file for plugin universal-hooks
Loaded plugins: fastestmirror, priorities, security
Cleaning repos: cpanel-addons-production-feed kernelcare stable-arch
: stable-generic stable-noarch system-base system-extras
: system-updates-released
Cleaning up Everything
Cleaning up list of fastest mirrors
Configuration file /etc/yum/pluginconf.d/changelog.conf not found
Unable to find configuration file for plugin changelog
Configuration file /etc/yum/pluginconf.d/tsflags.conf not found
Unable to find configuration file for plugin tsflags
Configuration file /etc/yum/pluginconf.d/universal-hooks.conf not found
Unable to find configuration file for plugin universal-hooks
Loaded plugins: fastestmirror, priorities, security
Setting up Update Process
Determining fastest mirrors
* cpanel-addons-production-feed: 208.100.0.204
cpanel-addons-production-feed | 2.9 kB 00:00 ...
cpanel-addons-production-feed/primary_db | 8.9 kB 00:00
kernelcare | 1.2 kB 00:00
kernelcare/primary | 6.1 kB 00:00
kernelcare 60/60
stable-arch | 951 B 00:00
stable-arch/primary | 180 kB 00:00
stable-arch 185/185
stable-generic | 951 B 00:00
stable-generic/primary | 32 kB 00:00
stable-generic 247/247
stable-noarch | 951 B 00:00
stable-noarch/primary | 29 kB 00:00
stable-noarch 192/192
system-base | 3.7 kB 00:00
system-base/primary_db | 4.7 MB 00:00
system-extras | 3.4 kB 00:00
system-extras/primary_db | 29 kB 00:00
system-updates-released | 3.4 kB 00:00
system-updates-released/primary_db | 2.5 MB 00:00
3 packages excluded due to repository priority protections
No Packages marked for Update

Just tried yum install yum-plugin-changelog and yum install yum-plugin-tsflags to try and fix those messages but it says they are already installed. I'll do more digging while I wait for some help.
 

philsward

Active Member
Jan 3, 2017
26
12
3
USA
cPanel Access Level
Website Owner
Ok, managed to clean up the two message:

Unable to find configuration file for plugin changelog
&
Unable to find configuration file for plugin tsflags

by running:
yum reinstall yum-plugin-changelog
yum reinstall yum-plugin-tsflags

When I try to run yum reinstall yum-plugin-universal-hooks, however, I get: Installed package yum-plugin-universal-hooks-0.1-9.9.2.cpanel.x86_64 (from EA4) not available.

I ran another update after the plugin installs (it found some sonarpush and lwauth packages)

Running a yum list ea-apache24 still gives:
ea-apache24.x86_64 2.4.25-9.9.4.cpanel @EA4
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @philsward,

Can you verify if the EA4 YUM repo file exists on this server? You can use the following command to check:

Code:
ls -al /etc/yum.repos.d|grep EA4
The output should look like this:

Code:
# ls -al /etc/yum.repos.d|grep EA4
-rw-r--r--    1 root root   204 Aug  7  2015 EA4.repo
Also, could you verify which OS is installed on this server? Do you happen to use CloudLinux?

Thank you.
 

philsward

Active Member
Jan 3, 2017
26
12
3
USA
cPanel Access Level
Website Owner
EA4.repo is NOT available.

Code:
[10041 11:25:57 /etc/yum.repos.d]# ls
./  ../  cPAddons.repo  kernelcare.repo  yum.sourcedns.repo  yum.system.repo
Server version: 2.6.32-642.15.1.el6.x86_64

I tried searching for a way to install the ea4 repo, but I can't find the exact repo to call on. (tried yum --enablerepo="EA4" which doesn't work)

I don't see anything in the docs (or can't find it) that point to where the repos are located except for the EA4-experimental repo. :-/

No, not on CloudLinux
 
Last edited:

philsward

Active Member
Jan 3, 2017
26
12
3
USA
cPanel Access Level
Website Owner
I might have it fixed...

I ran across the website: https://lindowsadmin.com/there-are-no-packages-to-display-error-in-easyapache-4/ which was down, so I had to look it up in the wayback machine: There are no packages to display error in Easyapache 4 – Lin(ux+Win)dows!!!

In order to get the EA4.repo file working, it was instructed to add the following to /etc/yum.repo.d/EA4.repo

Code:
#cat /etc/yum.repos.d/EA4.repo
[EA4]
name=EA4 ( EasyApache 4 )
mirrorlist=http://httpupdate.cpanel.net/ea4-c$releasever-$basearch-mirrorlist
gpgcheck=1
gpgkey=https://securedownloads.cpanel.net/cPanelPublicRPMKey.asc
enabled=1
cost=50
Afterwards, I ran
Code:
yum clean all; yum update
This successfully provided me with updated versions of the packages within EA4. Looks like I'm in business!

I'd like to recommend that the cpanel docs point out the required repos necessary in /etc/yum.repo.d and the default contents of those files. I could have resolved this much sooner if there was better documentation pointing to the necessary info.

Thanks for pointing me in the right direction guys!
 

philsward

Active Member
Jan 3, 2017
26
12
3
USA
cPanel Access Level
Website Owner
Only issue I have now is that Easyapache 4 takes forever to load and has crazy high python and yum cpu times. Yum update takes considerably longer now (assuming it's due to the number of packages it has to check in the ea4.repo)

The performance hit is livable, but it would be nice for it to be faster.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
This successfully provided me with updated versions of the packages within EA4. Looks like I'm in business!

I'd like to recommend that the cpanel docs point out the required repos necessary in /etc/yum.repo.d and the default contents of those files. I could have resolved this much sooner if there was better documentation pointing to the necessary info.

Thanks for pointing me in the right direction guys!
Hello,

I'm glad to see you were able to solve the issue. The default contents of the system's YUM repo files (not the EA4 repo) in the /etc/yum.repos.d/ directory will vary depending on the specific operating system you are using. You'd need to use the ones specific to your OS. As far as the EA4 repo, the entries you used in that file are correct:

Code:
# cat /etc/yum.repos.d/EA4.repo
[EA4]
name=EA4 ( EasyApache 4 )
mirrorlist=http://httpupdate.cpanel.net/ea4-c$releasever-$basearch-mirrorlist
gpgcheck=1
gpgkey=https://securedownloads.cpanel.net/cPanelPublicRPMKey.asc
enabled=1
cost=50
I recommend investigating to see how those files were removed, as there are no automated processes that will remove those files.

Thank you.