Easyapache rebuild fails
Hello!
I'm trying to rebuild with easyapache3 and getting this error:
I tried to run the command directly in the server and got this response:
How can i fix this problem ? Thank you.
Checking that all packages are present and up to date.
The system cannot update the /var/cpanel/sysinfo.config file. at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 101.
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.
I tried to run the command directly in the server and got this response:
root@server[~]# rpm -qf --queryformat '%{VERSION}\n' /etc/redhat-release
file /etc/redhat-release is not owned by any package
How can i fix this problem ? Thank you.
-
Hello :) Please post the output from the following command: cat /etc/redhat-release
Thank you.0 -
Hello, Thanks for the reply. root@server[~]# cat /etc/redhat-release CentOS release 6.5 (Final)0 -
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 -
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 -
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 -
I'm having the same issue, if there is a simple fix it would be nice if you could post it please. 0 -
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.
Comments
7 comments