Skip to main content

56 update failed - cpanel-clamav different from expected hash

Comments

16 comments

  • cPanelMichael
    Hello, Internal case CPANEL-5915 is open to address this issue. Could you verify if you are defining specific mirrors in the /etc/cpsources.conf file? If not, please post the output from:
    rpm -qa|grep cpanel-clamav
    Thank you.
    0
  • AmedeoSca
    The /etc/cpsources.conf not exist, here the output from rpm -qa|grep cpanel-clamav:
    cpanel-clamav-virusdefs-0.98.7-1.cp1154.x86_64 cpanel-clamav-0.98.7-1.cp1154.x86_64
    0
  • cPanelMichael
    Hello, You can temporarily remove the ClamAV RPMs with the following commands:
    rpm -e --nodeps cpanel-clamav-virusdefs-0.98.7-1.cp1154.x86_64 rpm -e --nodeps cpanel-clamav-0.98.7-1.cp1154.x86_64
    This should allow the "/scripts/upcp --force" command to finish. At that point, you can reinstall ClamAV: "WHM Home >> cPanel >> Manage Plugins" Thank you.
    0
  • AmedeoSca
    Ok I can finish the "/scripts/upcp --force" but now I can not installa ClamAV....... try and try again to download the cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm I think that was the same problem with the hash......
    0
  • cPanelMichael
    Ok I can finish the "/scripts/upcp --force" but now I can not installa ClamAV....... try and try again to download the cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm I think that was the same problem with the hash......

    You may need to run the following commands:
    /scripts/update_local_rpm_versions --edit target_settings.clamav98 uninstalled /scripts/update_local_rpm_versions --edit target_settings.clamav99 installed /scripts/check_cpanel_rpms --fix --targets=clamav
    Let us know if that helps. Thank you.
    0
  • AmedeoSca
    Nothing........ The hash of the cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm packet that is in httpupdate.cpanel.net_RPM_11.56_centos_7_x86_64.sha512 file is wrong or the packet is corrupted, start again the download........ What can I do?
    0
  • cPanelMichael
    Nothing........ The hash of the cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm packet that is in httpupdate.cpanel.net_RPM_11.56_centos_7_x86_64.sha512 file is wrong or the packet is corrupted, start again the download........ What can I do?

    Could you open a support ticket using the link in my signature so we can take a closer look and help manually download the RPM from another mirror if necessary? You can reference case CPANEL-5915 when opening the ticket. Thank you.
    0
  • abubin
    if there any solution to this? I am also having this issue on one of my cpanel server.
    cpanel-clamav-0.98.7-1.cp1154.x86_64 cpanel-clamav-virusdefs-0.98.7-1.cp1154.x86_64
    0
  • AmedeoSca
    Ok I resolve with manual downloads..... this is the procedure for me: - Uninstall ClamAV from "WHM Home >> cPanel >> Manage Plugins" - Manually download of rpms, here the commands as root:
    # cd /usr/local/cpanel/tmp/rpm_downloads # wget http://216.38.56.98/RPM/11.56/centos/7/x86_64/cpanel-clamav-0.99-4.cp1156.x86_64.rpm # wget http://216.38.56.98/RPM/11.56/centos/7/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm
    - At last Install ClamAV from "WHM Home >> cPanel >> Manage Plugins" Now it's all ok, I hope that the CPanel team resolve this issue. Thanks.
    0
  • abubin
    does not work for me. When I try to install ClamAV again, it will download and install the old version 0.98.xx. I will schedule for a upcp run later during offpeak hour.
    0
  • cPanelMichael
    Hello, Our system administration team corrected an issue with mirrors that were out of sync. Please run "/scripts/upcp --force" and let us know if you still experience this problem. Thank you.
    0
  • tamgach
    clamupdate problem. and outgoing server stopped. php selector and setup python is not working after update.
    0
  • abubin
    ok, first of all the upgrade is working now. My cpanel is now upgraded to 56.0.14. Everything looks to be in working order. [Freshclam issue moved to ClamAV Version ]
    0
  • cPanelMichael
    clamupdate problem. and outgoing server stopped. php selector and setup python is not working after update.

    Could you provide more details on the specific error message you receive?
    ok, first of all the upgrade is working now. My cpanel is now upgraded to 56.0.14. Everything looks to be in working order.

    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0
  • TheRomb
    Any updates on that case? running # /scripts/upcp --force
    [2016-05-12 22:26:48 +1100] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm [2016-05-12 22:46:08 +1100] E Retrying download of cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm (attempt 2/5): Digest for http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm is different from expected (got hash 93ccacd632696e0b83e2aa5f2b7af81700efc8bdc63c7f096b7bf5927cf17e209d3f8062921c35c2d5845406a7241df41f016d844d02127ee2e0052a78700184; expected hash cd51b3159f766425a6a7fe9ea4482ecf39fb04932e08d7e6e07177dccb6c85c2c19423c24a45dd967c2f6e96fe04a002907ddfc51366e88dc499d3b0fc388efc; mirror IP 94.75.231.77) at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 39837. [2016-05-12 22:46:08 +1100] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm [2016-05-12 23:04:41 +1100] E Retrying download of cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm (attempt 3/5): Digest for http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm is different from expected (got hash bd18bce5756f310d2570edbb71b2e05c19ff63e1f2d636d31ec44a8946f25c5d2b5b8619873995eb4d477639f07ab79d6f6a78ce7a5e938edd02a29bedd71665; expected hash cd51b3159f766425a6a7fe9ea4482ecf39fb04932e08d7e6e07177dccb6c85c2c19423c24a45dd967c2f6e96fe04a002907ddfc51366e88dc499d3b0fc388efc; mirror IP 83.170.94.2) at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 39837. [2016-05-12 23:04:41 +1100] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm [2016-05-12 23:24:34 +1100] E Retrying download of cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm (attempt 4/5): Digest for http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm is different from expected (got hash 0ce3dd5870ea99e006d44ac628c1f4486a2108729d4051bc535d620654f95b6e3f883dfbc7b6a034091a9ae56fcda4af08b992beb46ede3383c49a510fa4a090; expected hash cd51b3159f766425a6a7fe9ea4482ecf39fb04932e08d7e6e07177dccb6c85c2c19423c24a45dd967c2f6e96fe04a002907ddfc51366e88dc499d3b0fc388efc; mirror IP 85.13.201.2) at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 39837. [2016-05-12 23:24:34 +1100] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm [2016-05-12 23:43:18 +1100] E Retrying download of cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm (attempt 5/5): Digest for http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm is different from expected (got hash 1b7ba512e421c92f133f9f0e1d10d644ca30efeed8dd4810b94a575671ca0967fc98fa372573cfa3f767cf4a295fdfb87eaa0196684421f2f28c853f40e35dc8; expected hash cd51b3159f766425a6a7fe9ea4482ecf39fb04932e08d7e6e07177dccb6c85c2c19423c24a45dd967c2f6e96fe04a002907ddfc51366e88dc499d3b0fc388efc; mirror IP 91.197.228.252) at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 39837. [2016-05-12 23:43:18 +1100] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm [2016-05-13 00:02:54 +1100] ***** FATAL: Digest for http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm is different from expected (got hash 0f5a7b0f722bafb997958bebb69982a41ab7a19dd376661ae6868b7398adb693c1eaa1b737a5230f101fe50496aa6182d57dc8193d637abf9f1bec78b8ccfa64; expected hash cd51b3159f766425a6a7fe9ea4482ecf39fb04932e08d7e6e07177dccb6c85c2c19423c24a45dd967c2f6e96fe04a002907ddfc51366e88dc499d3b0fc388efc; mirror IP 103.194.168.198) at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 39837.
    0
  • cPanelMichael
    Any updates on that case? running # /scripts/upcp --force

    Are you still experiencing this issue, and if so, have you confirmed no custom entries exist in the /etc/cpsources.conf file? Thank you.
    0

Please sign in to leave a comment.