Troubleshoot - by Hostrare
How to check Cpanel rpms operates in your server? the following script performs 4 basic functions:
The script discovers missing RPMs
Tracks RPMs that are out of date and need to be updated
Checks if any RPMs have been surprisingly altered
Checks if any cPanel controlled RPMs are installed that should be uninstalled
Note: Files are recognized changed if:
Their ownership has developed
Their Mode varies
They contain an MD5 mismatch
They are a symlink, the file objects to the wrong path
They are missing.
check Cpanel rpms offers the possibility to improve these issues by reinstalling the RPM that contains the revised file(s).
To utilize, execute the script using the following format: check_cpanel_rpms [decisions]
The table below highlights a list of choices that can be used with check_cpanel_rpms
To utilize these options, execute the script as shown in the Options column. For example to run the –fix option, enter /usr/local/cpanel/scripts/check_cpanel_rpms –fix
|Show any problems and automatically correct them.
|List altered RPMs and then exit.
|Show in a more easily parsed format the altered RPMs and files.
|Send out a notification regarding any altered RPMs. Additionally, it will describe any action that was taken.
|Filter RPMs based on provided targets (comma delimited).
|Prevents the directory
/var/cpanel/rpm.versions.d from being read.
This variable is only accepted in 11.36.1+
check Cpanel rpms manages the rpm -Vv check on all cPanel-managed RPMs. rpm -Vv determines if the files have changed since their establishment; arrangement and documentation files are ignored in this process. The table below shows the changes detected in the output of rpm -Vv.
Note: If the output indicates that only Mode or mTime have been replaced, then that file will not be marked as “changed.”
|File Size differs.
|Mode differs (includes permissions and file type).
|MD5 sum differs.
|Device major/minor number mismatch.
|readLink(2) path mismatch.
|User ownership differs.
|Group ownership differs.
Whether you are looking for a personal website hosting plan or a business website hosting plan, We are the perfect solution for you. Our powerful website hosting services will not only help you achieve your overall website goals, but will also provide you with the confidence you need in knowing that you are partnered with a reliable and secure website hosting platform.
Any hosting service you require, you can avail 50% Discount with new verified account. Chat with your Team Now