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.

56 update failed - cpanel-clamav different from expected hash

Discussion in 'General Discussion' started by AmedeoSca, May 5, 2016.

Tags:
  1. AmedeoSca

    AmedeoSca Member

    Joined:
    Aug 23, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    Here the log error:
    Code:
    [2016-05-05 03:32:12 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-perl-522-Mixin-Linewise-0.108-1.cp1156.x86_64.rpm
    [2016-05-05 03:32:12 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-perl-522-DBD-SQLite2-0.36-1.cp1156.x86_64.rpm
    [2016-05-05 03:32:13 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-perl-522-Variable-Magic-0.59-1.cp1156.x86_64.rpm
    [2016-05-05 03:32:13 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-perl-522-Sub-Exporter-0.987-1.cp1156.x86_64.rpm
    [2016-05-05 03:32:13 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-perl-522-File-MMagic-XS-0.09008-1.cp1156.x86_64.rpm
    [2016-05-05 03:32:14 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-perl-522-Catalyst-Plugin-Redirect-0.02-1.cp1156.x86_64.rpm
    [2016-05-05 03:32:14 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-perl-522-HTML-Tree-5.03-1.cp1156.x86_64.rpm
    [2016-05-05 03:32:15 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-perl-522-Getopt-Euclid-0.004005-1.cp1156.x86_64.rpm
    [2016-05-05 03:32:15 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm
    [2016-05-05 03:43:32 +0200] 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/7/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm is different from expected (got hash d1fed9a4642e2e09a9ef6ceeaf2f0d8edcbbc0575b06624e0d44adb68d32e0ee052f2f0a0c2c3ea618f49bc39233b3ed3db414e4c23c6fc50b6db2a21dbb17d5; expected hash 4667357c815b8d06429f4d5604e33a351717385b907ca449607f79bca748977691fe86c5e5d8689ef231cd45af8d0642e45e16591a26840936ab5ebd2211fd45; mirror IP 83.170.94.2) at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 39837.
    [2016-05-05 03:43:32 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm
    [2016-05-05 03:53:59 +0200] 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/7/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm is different from expected (got hash 209a667ce7be3aa340711a93a262d013984c03fdc4bb9cba9b511ec490f7c0ef80752d6982c3f14f7e07a9e07bb090fc63e42190c173fa6c1d49b92f337bb4d1; expected hash 4667357c815b8d06429f4d5604e33a351717385b907ca449607f79bca748977691fe86c5e5d8689ef231cd45af8d0642e45e16591a26840936ab5ebd2211fd45; mirror IP 91.197.228.252) at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 39837.
    [2016-05-05 03:53:59 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm
    [2016-05-05 04:11:04 +0200] 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/7/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm is different from expected (got hash 81dda9a34cd86222e9146d703dc9e465fc65dab657fcad72aa56f0e632972b622d7d775757b0cf6fff5010ee977299a1426dbf337d72a7fc97fd7d40652c8eb9; expected hash 4667357c815b8d06429f4d5604e33a351717385b907ca449607f79bca748977691fe86c5e5d8689ef231cd45af8d0642e45e16591a26840936ab5ebd2211fd45; mirror IP 69.72.212.11) at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 39837.
    [2016-05-05 04:11:04 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm
    [2016-05-05 04:21:13 +0200] 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/7/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm is different from expected (got hash 17f9021830bb2b494da986b00988369f6a0d97c1fa10f66e4c6a6a1ed3654470294ffccc4d7fd98fa6d7e959305238bdd09a9cba5e8871d32d9125d56b2788e8; expected hash 4667357c815b8d06429f4d5604e33a351717385b907ca449607f79bca748977691fe86c5e5d8689ef231cd45af8d0642e45e16591a26840936ab5ebd2211fd45; mirror IP 185.15.22.168) at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 39837.
    [2016-05-05 04:21:13 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm
    [2016-05-05 04:31:24 +0200] ***** FATAL: Digest for http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm is different from expected (got hash c93d6e0e252aec80a18ae14beed138867ac8d1f6181a25aa470f87c93c5ba5cedb83339259d5d2f26fc85c3fb8c12feff1cfd567a9fd03ef28c575ce043abf1d; expected hash 4667357c815b8d06429f4d5604e33a351717385b907ca449607f79bca748977691fe86c5e5d8689ef231cd45af8d0642e45e16591a26840936ab5ebd2211fd45; mirror IP 74.200.65.162) at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 39837.
    [2016-05-05 04:31:24 +0200] The Administrator will be notified to review this output when this script completes
    [2016-05-05 04:31:24 +0200] ***** FATAL: Failed to stage “new RPMS” because of an error: Digest for http://httpupdate.cpanel.net/RPM/11.56/centos/7/x86_64/cpanel-clamav-virusdefs-0.99-4.cp1156.x86_64.rpm is different from expected (got hash c93d6e0e252aec80a18ae14beed138867ac8d1f6181a25aa470f87c93c5ba5cedb83339259d5d2f26fc85c3fb8c12feff1cfd567a9fd03ef28c575ce043abf1d; expected hash 4667357c815b8d06429f4d5604e33a351717385b907ca449607f79bca748977691fe86c5e5d8689ef231cd45af8d0642e45e16591a26840936ab5ebd2211fd45; mirror IP 74.200.65.162) at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 39837.
    [2016-05-05 04:31:24 +0200] : see https://go.cpanel.net/rpmcheckfailed for more information
    [2016-05-05 04:31:24 +0200] The Administrator will be notified to review this output when this script completes
    => Log closed Thu May 5 04:31:24 2016
    [2016-05-05 04:31:24 +0200] 32% complete
    [2016-05-05 04:31:24 +0200] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1462408201.log` failed, exited with code 13 (signal = 0)
    And the outgoing email stops, it's urgent..
    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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:

    Code:
    rpm -qa|grep cpanel-clamav
    Thank you.
     
  3. AmedeoSca

    AmedeoSca Member

    Joined:
    Aug 23, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    The /etc/cpsources.conf not exist, here the output from
    rpm -qa|grep cpanel-clamav:

    Code:
    cpanel-clamav-virusdefs-0.98.7-1.cp1154.x86_64
    cpanel-clamav-0.98.7-1.cp1154.x86_64
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    You can temporarily remove the ClamAV RPMs with the following commands:

    Code:
    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.
     
  5. AmedeoSca

    AmedeoSca Member

    Joined:
    Aug 23, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    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......
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You may need to run the following commands:

    Code:
    /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.
     
  7. AmedeoSca

    AmedeoSca Member

    Joined:
    Aug 23, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    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?
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  9. abubin

    abubin Well-Known Member

    Joined:
    Dec 7, 2004
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    if there any solution to this? I am also having this issue on one of my cpanel server.

    Code:
    cpanel-clamav-0.98.7-1.cp1154.x86_64
    cpanel-clamav-virusdefs-0.98.7-1.cp1154.x86_64
    
     
  10. AmedeoSca

    AmedeoSca Member

    Joined:
    Aug 23, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    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:
    Code:
    # 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.
     
  11. abubin

    abubin Well-Known Member

    Joined:
    Dec 7, 2004
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  13. tamgach

    tamgach Registered

    Joined:
    May 6, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Mongolia
    cPanel Access Level:
    DataCenter Provider
    clamupdate problem. and outgoing server stopped. php selector and setup python is not working after update.
     
  14. abubin

    abubin Well-Known Member

    Joined:
    Dec 7, 2004
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    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 ]
     
    #14 abubin, May 8, 2016
    Last edited by a moderator: May 9, 2016
  15. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you provide more details on the specific error message you receive?

    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
  16. TheRomb

    TheRomb Registered

    Joined:
    Sep 10, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Russia
    cPanel Access Level:
    DataCenter Provider
    Any updates on that case?
    running # /scripts/upcp --force
    Code:
    [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.
    
     
  17. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Are you still experiencing this issue, and if so, have you confirmed no custom entries exist in the /etc/cpsources.conf file?

    Thank you.
     
Loading...

Share This Page