Introduction
This article will detail the steps to take to reinstall imunify360-webshield which can help address issues if core files of the package become corrupt or need to be reverted.
Procedure
Imunify360-webshield has a few different packages associated with it:
imunify360-webshield-zlib-1.2.11-5.el7.x86_64
imunify360-webshield-modsecurity-3.0.4-2.el7.x86_64
imunify360-webshield-pcre-8.43-1.el7.x86_64
imunify360-webshield-bundle-1.12-5.1.el7.x86_64
imunify360-webshield-ssl-cache-1.0.2-1.el7.x86_64
imunify360-webshield-openssl-1.1.1g-1.el7.x86_64
To determine which one(s) may need to be reinstalled, we can check the packages with the following:
rpm -V ${package-name}
Example:
[root@cloudlinux imunify360-webshield]# rpm -V imunify360-webshield-bundle
[root@cloudlinux imunify360-webshield]#
To reinstall the package, the following command can be used:
yum reinstall ${package-name}
Example:
yum reinstall imunify360-webshield-bundle
This will replace files associated with this package with the default files present in the repository.