Skip to main content

Easyapache rebuild fails

Comments

7 comments

  • cPanelMichael
    Hello :) Please post the output from the following command:
    cat /etc/redhat-release
    Thank you.
    0
  • DeVdD
    Hello, Thanks for the reply.
    root@server[~]# cat /etc/redhat-release CentOS release 6.5 (Final)
    0
  • cPanelMichael
    I've seen this happen when the RPM database on a system is corrupted. Please try rebuilding the RPM database via: "WHM Home " Software " Rebuild RPM Database" Then, assuming the rebuild completes successfully, you can run the following command:
    /usr/local/cpanel/scripts/gensysinfo
    Thank you.
    0
  • DeVdD
    Hello, I rebuild RPM and it completed with success. But the error persists:
    root@server [~]# /usr/local/cpanel/scripts/gensysinfo 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 5 or 6 indicates a problem. Open a support ticket or resolve the issue manually. The system cannot update the /var/cpanel/sysinfo.config file. at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 101. root@server [~]# rpm -qf --queryformat '%{VERSION}\n' /etc/redhat-release file /etc/redhat-release is not owned by any package root@server [~]#
    Thanks.
    0
  • cPanelMichael
    Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • droona
    I'm having the same issue, if there is a simple fix it would be nice if you could post it please.
    0
  • cPanelMichael
    I'm having the same issue, if there is a simple fix it would be nice if you could post it please.

    The most common cause of this problem has been a corrupted RPM database. You can try repairing the RPM database via Web Host Manager: "WHM Home " Software " Rebuild RPM Database" Thank you.
    0

Please sign in to leave a comment.