Nas versões 10.8.2-EDGE_89 e superiores (ou relacionadas) o suporte a atualização do CentOS foi esquecido. Para solucionar você deve editar o arquivo /etc/redhat-release e alterar a versão CentOS descrita por ´RedHat´
A solução nos foi enviada por Daniel Muey (cPanel Support Level II), este é o anúncio na Integra:
======================================
It appears that CentOS support has been missed out in the latest DNSLib.pm
(10.8.2-EDGE_89) in both:
/scripts/cPScript/DNSLib.pm
/usr/local/cpanel/Cpanel/DNSLib.pm
If you check in /scripts/cPScript/cPanelFunctions.pm within the getos()
subroutine you'll see that it sets $os to "centos" for the CentOS operating
system.
However, in DNSLib.pm at line ~991 this if condition has not got "centos"
listed:
elsif ( $os eq 'redhat' || $os eq 'fedora' || $os eq 'whitebox'
|| $os eq 'mandrake' || $os eq 'caos' ) {
This causes all the DNS functions to fail within WHM and /scripts that check
for the OS version.
I noticed this because I was seeing this error when attempting to perform DNS
functions:
Tue May 9 11:52:51 2006 warn [DNSLib]: Magic number checking on storable file
failed at blib/lib/Storable.pm (autosplit into
blib/lib/auto/Storable/_retrieve.al) line 331, at
/usr/local/cpanel/Cpanel/DNSLib.pm line 111
Tue May 9 11:52:51 2006 warn [DNSLib]: at /usr/local/cpanel/Cpanel/DNSLib.pm
line 115
Cpanel::DNSLib::init('Cpanel::DNSLib=HASH(0x8fd3204)') called at
/usr/local/cpanel/Cpanel/DNSLib.pm line 66
Cpanel::DNSLib::new() called at /usr/local/cpanel/whostmgr/bin/dnsadmin
line 119
I was able to fix that issue by editing /etc/redhat-release and changing
"CentOS" to "RedHat". /var/cpanel/CPDNSLib.dat was then created correctly
(previously it was created empty) and the DNS functions now work.
======================================