Skip to main content

Altered RPMs found on

Comments

5 comments

  • 24x7server
    What error are you getting with following command ?
    /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    0
  • aldhy
    What error are you getting with following command ?
    /usr/local/cpanel/scripts/check_cpanel_rpms --fix

    this is the log
    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 [~]#
    0
  • cPanelMichael
    Hello, Please post the output from the following command:
    ls -al /usr/local/cpanel/3rdparty/php/54/lib/php/Horde/Prefs/
    Thank you.
    0
  • aldhy
    Hello, Please post the output from the following command:
    ls -al /usr/local/cpanel/3rdparty/php/54/lib/php/Horde/Prefs/
    Thank you.

    this is the output
    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 [~]#
    0
  • cPanelMichael
    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.
    0

Please sign in to leave a comment.