(Cannot open file /etc/redhat-release)

Aug 18, 2016
15
0
1
manila, philippines
cPanel Access Level
Root Administrator
my server system is centos using whmcs
Whenever I login to whm I recieved an error below

undef error - exit level [die] [pid=44379] (Cannot open file /etc/redhat-release)

I have some Idea how to fix
1. update yum
2. uninstall yum
3. reinstall yum
4. update rpm
what could possibly go wrong it is not proceeding
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
4,503
567
273
cPanel Access Level
Root Administrator
Thanks for the additional details. It might be best to speak to your hosting provider or datacenter as there may be issues with the operating system itself at a lower level than the cPanel or WHMCS software. Can you work with them to get that resolved?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
4,503
567
273
cPanel Access Level
Root Administrator
@Ernesto Dionisio - I don't believe migrating is a good solution to this issue, unless you confirm with your host there is additional damage to the operating system that can't be fixed. Checking the centos-release package as @gnusys mentioned is a good step, and may get you moving in the right direction. You could also try a more general "yum update" to see if there are other packages missing or updates available for the machine.