Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Altered RPMs found on

Discussion in 'Database Discussion' started by aldhy, Mar 21, 2015.

  1. aldhy

    aldhy Member

    Joined:
    Aug 9, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    hello,

    i have a server with cPanel DNS Only, i have this error message every day

    how to fix this?
    i have try to use that command, but it still error

    thank you
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    What error are you getting with following command ?

    Code:
     /usr/local/cpanel/scripts/check_cpanel_rpms --fix
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. aldhy

    aldhy Member

    Joined:
    Aug 9, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    this is the log

    Code:
    root@server [~]#  /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    [20150323.051042]
    [20150323.051042]   Problems were detected with cPanel-provided files which are RPM controlled.
    [20150323.051042]   If you did not make these changes intentionally, you can correct them by running:
    [20150323.051042]
    [20150323.051042]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    [20150323.051042]   The following RPMs are missing from your system:
    [20150323.051042]   cpanel-php54-Horde-Prefs-2.5.0-1.cp1142
    [20150323.051101]   Removing 0 broken rpms:
    [20150323.051101]   rpm: no packages given for erase
    [20150323.051103]   Downloading http://httpupdate.cpanel.net/RPM/11.42/centos/6/x86_64/rpm.md5
    [20150323.051103]   cpanel-php54-Horde-Prefs-2.5.0-1.cp1142.noarch.rpm already downloaded
    [20150323.051104]   Hooks system enabled.
    [20150323.051104]   Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
    [20150323.051104]   All required 'pre' hooks have been run
    [20150323.051105]   No RPMS need to be uninstalled
    [20150323.051105]   Installing new rpms: cpanel-php54-Horde-Prefs-2.5.0-1.cp1142.noarch.rpm
    [20150323.051105]   Preparing packages for installation...
    [20150323.051105]   cpanel-php54-Horde-Prefs-2.5.0-1.cp1142
    [20150323.051105]   error: unpacking of archive failed on file /usr/local/cpanel/3rdparty/php/54/lib/php/Horde/Prefs/Exception.php: cpio: rename failed - Is a directory
    [20150323.051106] W Error Code: 1
    [20150323.051106] E The following possible errors were detected while installing RPMs:
    [20150323.051106] E unpacking of archive failed on file /usr/local/cpanel/3rdparty/php/54/lib/php/Horde/Prefs/Exception.php
    [20150323.051106]   The Administrator will be notified to review this output when this script completes
    [20150323.051106]   Hooks system enabled.
    [20150323.051106]   Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed
    [20150323.051106]   All required 'post' hooks have been run
    root@server [~]#
    
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,400
    Likes Received:
    1,952
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Please post the output from the following command:
    Code:
    ls -al /usr/local/cpanel/3rdparty/php/54/lib/php/Horde/Prefs/
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. aldhy

    aldhy Member

    Joined:
    Aug 9, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    this is the output

    Code:
    root@server [~]# ls -al /usr/local/cpanel/3rdparty/php/54/lib/php/Horde/Prefs/
    total 112
    drwxr-xr-x  4 root root  4096 Mar 23 05:11 ./
    drwxr-xr-x 78 root root  4096 Mar 23 05:11 ../
    drwxr-xr-x  2 root root  4096 Mar 23 05:11 Cache/
    -rw-r--r--  1 root root  6919 Feb 27  2014 CategoryManager.php
    drwxr-xr-x  2 root root  4096 Oct  6 14:55 Exception.php/
    ----------  1 root root   478 Dec 20 01:56 Exception.php;54951db6
    ----------  1 root root   478 Jan 20 05:10 Exception.php;54be29ac
    ----------  1 root root   478 Jan 20 23:52 Exception.php;54bf3090
    ----------  1 root root   478 Jan 27 01:53 Exception.php;54c735fd
    ----------  1 root root   478 Feb 23 23:55 Exception.php;54ec0418
    ----------  1 root root   478 Mar  2 01:25 Exception.php;54f4026d
    ----------  1 root root   478 Mar  2 01:27 Exception.php;54f402bb
    ----------  1 root root   478 Mar  4 23:56 Exception.php;54f7e1eb
    ----------  1 root root   478 Mar 17 04:24 Exception.php;5507e4ba
    ----------  1 root root   478 Mar 23 05:11 Exception.php;550fd8a9
    -rw-r--r--  1 root root  5644 Feb 27  2014 Identity.php
    -rw-r--r--  1 root root   266 Feb 27  2014 Scope.php
    -rw-r--r--  1 root root   543 Feb 27  2014 Storage
    -rw-r--r--  1 root root 30689 Oct  6 15:02 Translation.php
    root@server [~]#
    
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,400
    Likes Received:
    1,952
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Please remove the following directory:

    /usr/local/cpanel/3rdparty/php/54/lib/php/Horde/Prefs/Exception.php

    Also, remove all other instances of "Exception.php" under /usr/local/cpanel/3rdparty/php/54/lib/php/Horde/Prefs/. This should allow the "/usr/local/cpanel/scripts/check_cpanel_rpms --fix" command to complete successfully. At that point, you can run /scripts/upcp and access Horde to ensure it loads successfully.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice