YUM encountered errors outside of EasyApache 4

Jun 24, 2019
19
6
3
ITALY
cPanel Access Level
Root Administrator
Hello, please help me. After I installed imunify 360 my easy apach 4 not work any more and i see this pm :

YUM encountered errors outside of EasyApache 4. Log into the system via SSH to resolve them, or you can click the “Refresh” button to rebuild the system‘s cache.


I'm sure this problem was about install imunify 360 .

now plz help me how i can fix this problame ? also i see this error when i use yum update :

failure: repodata/repomd.xml from imunify360-ea-php-hardened: [Errno 256] No mor e mirrors to try.
https://repo.alt.cloudlinux.com/el/SW11bmlmeTM2MC04OTk5ODJKQ3RFdjpvazo6MjE0NzQ4M \


Thanks !!!!!!!!!!
 
Last edited by a moderator:

andrew.n

Well-Known Member
Jun 9, 2020
951
352
63
EU
cPanel Access Level
Root Administrator
looks like a temporary problem with Immunify repo. Can you run "yum clean all" then try it again?
 

andrew.n

Well-Known Member
Jun 9, 2020
951
352
63
EU
cPanel Access Level
Root Administrator
What is the output of yum clean all command? do you have a firewall on the server? If so can you turn it off and try it again?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,290
2,234
363
cPanel Access Level
Root Administrator
Is your system properly licensed with either CloudLinux or Imunify? That can also cause these issues.

If you aren't sure, you're always welcome to submit a ticket to our team and we can check the license status on our end.
 
Jun 24, 2019
19
6
3
ITALY
cPanel Access Level
Root Administrator
looks like a temporary problem with Immunify repo. Can you run "yum clean all" then try it again?
[[email protected] ~]# yum clean all
Loaded plugins: fastestmirror, langpacks, universal-hooks
Cleaning repos: EA4 cpanel-plugins base extras imunify360
: imunify360-ea-php-hardened imunify360-rollout-1
: imunify360-rollout-2 imunify360-rollout-3 imunify360-rollout-4
: letsencrypt-cpanel mysql-connectors-community
: mysql-tools-community mysql57-community updates
Cleaning up list of fastest mirrors
Other repos take up 580 k of disk space (use --verbose for details)
 
Jun 24, 2019
19
6
3
ITALY
cPanel Access Level
Root Administrator
Is your system properly licensed with either CloudLinux or Imunify? That can also cause these issues.

If you aren't sure, you're always welcome to submit a ticket to our team and we can check the license status on our end.
Yes, there is no problem with the license. i dont have cloud linux . i have only imunify.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,290
2,234
363
cPanel Access Level
Root Administrator
That output looks normal to me. The only other thing I would try before submitting a ticket would be to ensure you can reach the URL of the repository from your server. You can try a test using the "wget" command to see if you can download the files properly to your system. You may also want to try replacing the contents of /etc/resolv.conf with the Google public resolvers, to ensure your machine can properly resolve all domain names. Here is what that file should look like if you'd like to try that test:

Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
 
Jun 24, 2019
19
6
3
ITALY
cPanel Access Level
Root Administrator
Cloud Linux site support guided me to use the following method to solve the problem:

Please remove the culprit repo:

rm /etc/yum.repos.d/imunify360-ea-php-hardened.repo

or disable it:

yum-config-manager --disable imunify360-ea-php-hardened
yum clean all

and re-check.


After that hardened PHP can be installed as follows:

imunify360-agent features install hardened-php



I hope this helps people who have this problem in the future. Thanks
 

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
549
255
138
IN
cPanel Access Level
Root Administrator
Glad to see you were able to fix that.
Thanks for sharing the information.
 
  • Like
Reactions: Arman.Motevalian