Skip to main content

problem with update cpanel

Comments

10 comments

  • Jcats
    You would need to post more of the log, can you do:
    tail -50 /var/cpanel/updatelogs/update.1457277408.log
    0
  • Infopro
    How did you run this forced update, from command line I assume? The docs may be of some use: Upgrade to Latest Version - Documentation - cPanel Documentation
    0
  • Motamedi
    i'm by this command update " /scripts/upcp --force " and entered this commands Upgrade to Latest Version - Documentation - cPanel Documentation but not solve my problem ... When the update is still the same error [2016-03-06 23:12:45 +0330] Error: Nothing to do [2016-03-06 23:12:45 +0330] checkyum version 22.3 [2016-03-06 23:12:46 +0330] E Sysup: Needed system RPMs were not installed: nscd [2016-03-06 23:12:46 +0330] ***** FATAL: Cannot proceed. Needed system RPMs were not installed. [2016-03-06 23:12:46 +0330] The Administrator will be notified to review this output when this script completes => Log closed Sun Mar 6 23:12:46 2016 [2016-03-06 23:12:46 +0330] 17% complete [2016-03-06 23:12:46 +0330] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1457293355.log --force` failed, exited with code 18 (signal = 0) => Log closed Sun Mar 6 23:12:46 2016
    0
  • Motamedi
    Previously, this process was carried out But the problem is not resolved
      ]
    • Open the /etc/yum.conf file with a text editor and remove the required package from the exclude line. For example: exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* perl* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail*
    • Save your changes and rerun the update process.

    0
  • Motamedi
    error log is : root@server53 [/home]# tail -f /var/cpanel/updatelogs/update.1457293355.log [2016-03-06 23:12:45 +0330] details on how to reproduce this problem. [2016-03-06 23:12:45 +0330] Error: Nothing to do [2016-03-06 23:12:45 +0330] checkyum version 22.3 [2016-03-06 23:12:46 +0330] E Sysup: Needed system RPMs were not installed: nscd [2016-03-06 23:12:46 +0330] ***** FATAL: Cannot proceed. Needed system RPMs were not installed. [2016-03-06 23:12:46 +0330] The Administrator will be notified to review this output when this script completes => Log closed Sun Mar 6 23:12:46 2016 [2016-03-06 23:12:46 +0330] 17% complete [2016-03-06 23:12:46 +0330] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1457293355.log --force` failed, exited with code 18 (signal = 0) => Log closed Sun Mar 6 23:12:46 2016
    0
  • Jcats
    You're still not showing enough of the log.
    # tail -50 /var/cpanel/updatelogs/update.1457277408.log
    Should show enough
    0
  • Motamedi
    Sorry for the mistake
    root@server53 [~]# tail -50 /var/cpanel/updatelogs/update.1457293355.log [2016-03-06 23:12:38 +0330] Detected version '11.50.5.0' from version file. [2016-03-06 23:12:38 +0330] Running version '11.52.4.0' of updatenow. [2016-03-06 23:12:38 +0330] --force passed on command line. Upgrade will disregard update config settings. [2016-03-06 23:12:38 +0330] Using mirror '94.75.231.77' for host 'httpupdate.cpanel.net'. [2016-03-06 23:12:38 +0330] Successfully verified signature for cpanel (key types: release). [2016-03-06 23:12:38 +0330] Target version set to '11.54.0.18' [2016-03-06 23:12:38 +0330] Target version set to '11.52.4.0' [2016-03-06 23:12:38 +0330] Upgrade requested to a version more than 1 LTS away. Will upgrade to next LTS first (11.52.4.0). [2016-03-06 23:12:38 +0330] Checking license [2016-03-06 23:12:38 +0330] License file check complete [2016-03-06 23:12:38 +0330] Checking that the RPM DB is OK... [2016-03-06 23:12:38 +0330] glibc-2.12-1.149.el6_6.9.x86_64 [2016-03-06 23:12:38 +0330] OK: RPM DB is responding to queries [2016-03-06 23:12:38 +0330] Testing if rpm_is_working RPM is installed [2016-03-06 23:12:38 +0330] package rpm_is_working is not installed [2016-03-06 23:12:38 +0330] Testing if it's possible to install a simple RPM [2016-03-06 23:12:38 +0330] Preparing... ################################################## [2016-03-06 23:12:38 +0330] rpm_is_working ################################################## [2016-03-06 23:12:39 +0330] Switching to version '11.52.4.0' of updatenow to perform sync. [2016-03-06 23:12:39 +0330] checkyum version 22.3 [2016-03-06 23:12:40 +0330] checkyum version 22.3 [2016-03-06 23:12:41 +0330] Loaded plugins: fastestmirror, rhnplugin, security [2016-03-06 23:12:44 +0330] Profilename: server53.domain.net [2016-03-06 23:12:44 +0330] E There was an error communicating with CLN. [2016-03-06 23:12:44 +0330] Setting up Install Process [2016-03-06 23:12:44 +0330] Loading mirror speeds from cached hostfile [2016-03-06 23:12:44 +0330] No package nscd available. [2016-03-06 23:12:45 +0330] E Error: Nothing to do [2016-03-06 23:12:45 +0330] E The system failed to execute yum with the arguments "-y -c /etc/yum.conf install nscd" because of an error: The "/usr/bin/yum" command (process 380629) reported error number 1 when it ended. : There was an error communicating with CLN. [2016-03-06 23:12:45 +0330] CLN support will be disabled. [2016-03-06 23:12:45 +0330] Error communicating with server. The message was: [2016-03-06 23:12:45 +0330] Error Message: [2016-03-06 23:12:45 +0330] Please run rhn_register as root on this client [2016-03-06 23:12:45 +0330] Error Class Code: 9 [2016-03-06 23:12:45 +0330] Error Class Info: Invalid System Credentials. [2016-03-06 23:12:45 +0330] Explanation: [2016-03-06 23:12:45 +0330] An error has occurred while processing your request. If this problem [2016-03-06 23:12:45 +0330] persists please enter a bug report at helpdesk.cloudlinux.com. [2016-03-06 23:12:45 +0330] If you choose to submit the bug report, please be sure to include [2016-03-06 23:12:45 +0330] details of what you were trying to do when this error occurred and [2016-03-06 23:12:45 +0330] details on how to reproduce this problem. [2016-03-06 23:12:45 +0330] Error: Nothing to do [2016-03-06 23:12:45 +0330] checkyum version 22.3 [2016-03-06 23:12:46 +0330] E Sysup: Needed system RPMs were not installed: nscd [2016-03-06 23:12:46 +0330] ***** FATAL: Cannot proceed. Needed system RPMs were not installed. [2016-03-06 23:12:46 +0330] The Administrator will be notified to review this output when this script completes => Log closed Sun Mar 6 23:12:46 2016 [2016-03-06 23:12:46 +0330] 17% complete [2016-03-06 23:12:46 +0330] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1457293355.log --force` failed, exited with code 18 (signal = 0) => Log closed Sun Mar 6 23:12:46 2016 root@server53 [~]#
    0
  • Motamedi
    With what commands my problem is solved? Please teach me complete thanks
    0
  • Jcats
    Do you have a valid CloudLinux license first of all? Try doing:
    # rhn_register
    What does that give you?
    0
  • cPanelMichael
    Hello :) You will need to ensure the "yum update" command completes successfully before attempting to update cPanel. The error message suggests your server cannot connect to the remote update server. Please review the following guide for information about disabling your firewall: Installation Guide - System Requirements - Documentation - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.