Collapse

Announcement

Collapse
No announcement yet.

RPM check fails with error system cannot update the /var/cpanel/sysinfo.config.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RPM check fails with error system cannot update the /var/cpanel/sysinfo.config.

    I am getting below error when I am trying to check the RPM system on the centos 6 server:

    Code:
    ERROR: The system cannot update the /var/cpanel/sysinfo.config file because it cannot determine your distribution's major version.
    Run the following command: rpm -qf --queryformat '%{VERSION}\n' /etc/redhat-release
    Output other than the numbers 6 or 7 indicates a problem. Open a support ticket or resolve the issue manually.
    Can anyone here guide me on how to fix this?

  • #2
    Hi,

    It appears that the cPanel server is not able to generate the system information, which may be a result of an issue with the RPM database. The below command generates the error in the backend:
    # /usr/local/cpanel/scripts/gensysinfo

    To resolve this, you will have to rebuild the RPM database.. All you have to do is login to your WHM and rebuild the RPM Database:

    Path: WHM Home » Software » Rebuild RPM Database ..

    Execute the gensysinfo command again and you will see the information now is properly generated..

    I hope this helps you..


    Comment


    • #3
      Great ! This has fixed the issue. :-)

      Thanks.

      Comment

      Working...
      X