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.

Cpanel update failure in upcp

Discussion in 'General Discussion' started by bltst2, Feb 11, 2013.

  1. bltst2

    bltst2 Member

    Joined:
    Jun 10, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I'm getting the following error when CPanel tries to update. I'm not seeing much info on this error and I'm stuck. Any ideas?

     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,834
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please run the following commands and post the output:
    Code:
    # cat /etc/redhat-release
    # cat /var/cpanel/sysinfo.config
    Check to make sure "rpm_dist_ver" is not configured as "unknown". It should match the major version of the OS.

    Thank you.
     
  3. bltst2

    bltst2 Member

    Joined:
    Jun 10, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Looks good! Thanks for the quick help. I'll post my fix in case anyone else gets this error.

    Here are my results. All fixed:
    Code:
    +-(root@cPanel)(04:51:50)
    +-(~)->cat /etc/redhat-release
    CentOS release 5.9 (Final)
    
    +-(root@cPanel)(04:44:19)
    +-(~)->cat /var/cpanel/sysinfo.config
    ises=2
    lock=
    release=5.9
    rpm_arch=
    rpm_dist=centos
    rpm_dist_ver=unknown
    
    +-(root@cPanel)(04:44:57)
    +-(~)->/usr/local/cpanel/scripts/gensysinfo
    /var/cpanel/sysinfo.config updated.
    
    +-(root@cPanel)(04:45:35)
    +-(~)->cat /var/cpanel/sysinfo.config
    ises=2
    lock=
    release=5.9
    rpm_arch=i386
    rpm_dist=centos
    rpm_dist_ver=5
     
  4. gopkris2005

    gopkris2005 Well-Known Member

    Joined:
    Jan 9, 2007
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    INDIA
    cPanel Access Level:
    Root Administrator
    Twitter:
  5. anasone

    anasone Member

    Joined:
    Oct 27, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    also me same problem. i had tons of emails
    Code:
    Cpanel update failure in upcp
    and
    Cpanel update failure during updatenow
    
    Code:
    root@yas [~]# cat /etc/redhat-release
    CentOS release 6.4 (Final)
    
    root@yas [~]# cat /var/cpanel/sysinfo.config
    
    # This values in this file are calculated and updated if necessary nightly. If you wish to override
    # these values, populate lock= with a comma delimited list of keys you don't want updated.
    # This will allow you to change those values to suit your needs.
    #
    # Example: if you set lock like this, then rpm_dist and rpm_arch will not be updated nightly:
    # lock=rpm_dist,rpm_arch
    #
    ises=2
    lock=
    release=6.4
    rpm_arch=x86_64
    rpm_dist=centos
    rpm_dist_ver=6
    
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,834
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    This thread is a few months old. I have copied your post over to a new thread where we can help you to troubleshoot the issue:

    upcp failure

    Thank you.
     
Loading...

Share This Page