🔔 🔔 🔔 Duyuru: 24. Yılımıza özel indirimler sizleri bekliyor ! Kampanya Kodu : TDATA2024 | Detaylı bilgi için tıklayınız.

How to check cpanel rpms works


How to check cpanel rpms works


How to check cpanel rpms works 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 there are any RPMs that have been unexpectedly altered
Checks if any cPanel managed RPMs are installed that should be uninstalled

Note: Files are considered altered if:

Their ownership has changed
Their Mode differs
They contain an MD5 mismatch
They are a symlink, the file points to the wrong path
They are missing.

check cpanel rpms offers the opportunity to repair these issues by reinstalling the RPM that contains the altered file(s).

To utilize, execute the script using the following format: check_cpanel_rpms [options]

Options

The chart below features a list of options 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

OptionsDescription
--fix Show any problems and automatically correct them.
--list-only List altered RPMs and then exit.
--long-list Show in a more easily parsed format the altered RPMs and files.
--notify Send out a notification regarding any altered RPMs. Additionally, it will describe any action that was taken.
--targets Filter RPMs based on provided targets (comma delimited).
--nodir Prevents the directory /var/cpanel/rpm.versions.d from being read.
This variable is only accepted in 11.36.1+

Checks performed

check cpanel rpms runs the rpm -Vv check on all cPanel-managed RPMs. rpm -Vv determines if the files have changed since their installation; configuration 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 changed, then that file will not be labeled as “changed.”

CheckDescription
S File Size differs.
M Mode differs (includes permissions and file type).
5 MD5 sum differs.
D Device major/minor number mismatch.
L readLink(2) path mismatch.
U User ownership differs.
G Group ownership differs.
T mTime differs.
Bu cevap yeterince yardımcı oldu mu?

Diğer Dökümanlar


  • cPanel security settings checklist

    You always use cpanel recommended Security Settings to avoid hacking and other suspicious activity. These  cPanel Server Hardening & Security tips will help prevent from hacking. cPanel...

  • sendmail Not running with correct effective GID

    Wed Sep 04 04:11:11 2014] [error] [client 11.44.33.22] sendmail: Not running with correct effective GID.  Is sendmail binary setgid mailtrap?, It may be the problem with your sendmail binary...

  • How to enable NAT behind the cpanel ?

    Most of webhosting providers currently used NAT service for their users. When you install cPanel & WHM, the installer will detect whether your server is on a NAT-configured network. If the...

  • Unable to allocate memory for pool

    Warning: Unknown: Unable to allocate memory for pool. in Unknown on line 0 APC or Alternative PHP Cache (APC) is a free and open opcode cache for PHP. APC allows for caching of opcode generated...

  • Install FFmpeg, Mplayer, Mencoder, MP4Box, Flvtool2

    You can use the following tutorial to install ffmpeg and other video modules in your centos server. FFmpeg is an audio/video conversion tool. It includes libavcodec, the leading open source codec...