The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[check_cpanel_rpms] Altered RPMs found on

Discussion in 'General Discussion' started by tui, May 10, 2015.

  1. tui

    tui Active Member

    Joined:
    Jun 15, 2007
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Mexico
    cPanel Access Level:
    Root Administrator
    Hello, im running cPanel version 11.48.4.2, in the past days im receiving this error when cpanel runs the update on one of my servers:

    Problems were detected with cPanel-provided files which are RPM controlled.
    If you did not make these changes intentionally, you can correct them by running:

    /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    The following RPMs are missing from your system:
    easy-tomcat7-7.0.42-3
    easy-tomcat7-admin-webapps-7.0.42-3
    easy-tomcat7-docs-webapp-7.0.42-3
    easy-tomcat7-el-2.2-api-7.0.42-3
    easy-tomcat7-javadoc-7.0.42-3
    easy-tomcat7-jsp-2.2-api-7.0.42-3
    easy-tomcat7-lib-7.0.42-3
    easy-tomcat7-servlet-3.0-api-7.0.42-3
    easy-tomcat7-webapps-7.0.42-3



    When i run the command no output or any text come from the command line:

    root@xxxxx [/]# /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    root@xxxxx [/]#

    How can i fix this error?

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    It looks like the issue is addressed based on the output from your manual run of "/usr/local/cpanel/scripts/check_cpanel_rpms --fix". Does this still happen when updating cPanel (/scripts/upcp --force)?

    Thank you.
     
  3. Justin Bellinger

    Justin Bellinger Registered

    Joined:
    Jul 21, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Root Administrator
    I have exactly the same problem, and run the fix every day, only to receive the same email that rpm's have changed again the next day.

    Specifically, I get:

    ---------

    The system detected problems with the following cPanel-provided files that the RPM controls:



    RPM Status Additional Information
    cpanel-perl-514-munin-1.4.7-1.cp1150 Missing


    If you did not make these changes intentionally, execute the following command as the root user to correct them:



    /usr/local/cpanel/scripts/check_cpanel_rpms --fix


    This notice is the result of a request from “rpmcheck”.
    This notice was generated on “Tuesday, July 21, 2015” at “9:18:26 PM UTC”.

    ----------

    Running /usr/local/cpanel/scripts/check_cpanel_rpms --fix gives me:

    Code:
    root@ns395842 [~]# /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    [2015-07-22 13:27:50 +0200]   
    [2015-07-22 13:27:50 +0200]   Problems were detected with cPanel-provided files which are RPM controlled.
    [2015-07-22 13:27:50 +0200]   If you did not make these changes intentionally, you can correct them by running:
    [2015-07-22 13:27:50 +0200]   
    [2015-07-22 13:27:50 +0200]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    [2015-07-22 13:27:50 +0200]   The following RPMs are missing from your system:
    [2015-07-22 13:27:50 +0200]   cpanel-perl-514-munin-1.4.7-1.cp1150
    [2015-07-22 13:27:55 +0200]   Removing 0 broken rpms: 
    [2015-07-22 13:27:55 +0200]   rpm: no packages given for erase
    [2015-07-22 13:27:55 +0200]   Downloading http://httpupdate.cpanel.net/RPM/11.50/centos/6/x86_64/rpm.sha512
    [2015-07-22 13:27:55 +0200]   Successfully verified signature for cpanel (key types: release).
    [2015-07-22 13:27:55 +0200]   cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64.rpm already downloaded
    [2015-07-22 13:27:56 +0200]   Disabling service monitoring.
    [2015-07-22 13:28:01 +0200]   Hooks system enabled.
    [2015-07-22 13:28:01 +0200]   Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
    [2015-07-22 13:28:01 +0200]   All required 'pre' hooks have been run
    [2015-07-22 13:28:01 +0200]   No RPMS need to be uninstalled
    [2015-07-22 13:28:01 +0200]   Installing new rpms: cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64.rpm
    [2015-07-22 13:28:01 +0200]   Preparing packages for installation...
    [2015-07-22 13:28:01 +0200]   - upgrading munin: stop previous version
    [2015-07-22 13:28:01 +0200]   munin-node is stopped
    [2015-07-22 13:28:01 +0200]   - checking munin user and group
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   edquota: Cannot stat() mounted device /dev/root: No such file or directory
    [2015-07-22 13:28:01 +0200]   No filesystems with quota detected.
    [2015-07-22 13:28:01 +0200]   User 'munin' already exists. ( permissions, owner and quota reset ) 
    [2015-07-22 13:28:01 +0200]   groupadd: group 'munin' already exists
    [2015-07-22 13:28:01 +0200]   useradd: user 'munin' already exists
    [2015-07-22 13:28:01 +0200]   chmod: cannot access `/home/munin': No such file or directory
    [2015-07-22 13:28:01 +0200]   error: %pre(cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64) scriptlet failed, exit status 1
    [2015-07-22 13:28:01 +0200]   error:   install: %pre scriptlet failed (2), skipping cpanel-perl-514-munin-1.4.7-1.cp1150
    [2015-07-22 13:28:01 +0200] W Error Code: 1
    [2015-07-22 13:28:01 +0200] E The following possible errors were detected while installing RPMs:
    [2015-07-22 13:28:01 +0200] E %pre(cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64) scriptlet failed, exit status 1 install
    [2015-07-22 13:28:01 +0200]   The Administrator will be notified to review this output when this script completes
    [2015-07-22 13:28:01 +0200]   Hooks system enabled.
    [2015-07-22 13:28:01 +0200]   Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed
    [2015-07-22 13:28:01 +0200]   All required 'post' hooks have been run
    
    [2015-07-22 13:28:01 +0200]   Restoring service monitoring.
    
    All of this was AFTER running /scripts/upcp --force

    Further help appreciated.

    Kind Regards,

    Justin.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please post the output from:

    Code:
    cat /etc/redhat-release
    It's possible this is related to an internal case that's open (FB-189825).

    Thank you.
     
  5. AmedeoSca

    AmedeoSca Member

    Joined:
    Aug 23, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    Hello,
    I have the same problem with cpanel-perl-514-munin-1.4.7-1.cp1150 Missing.
    The redhat-release is CentOS Linux release 7.1.1503 (Core)
    Thanks.
     
    #5 AmedeoSca, Aug 23, 2015
    Last edited: Aug 23, 2015
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you let us know if uninstalling the Munin plugin, moving the "/etc/munin" directory out of the way, and then reinstalling the plugin addresses the issue?

    Thank you.
     
Loading...

Share This Page