WHM Edit/Delete DNS Zones has nothing listed

Babylon

Member
Aug 8, 2003
17
0
151
I can't be sure when this error first occurred, as I rarely have to look near the DNS functions. However, someone recently had a problem adding a subdomain to their account finding it just won't resolve.

I checked out DNS Functions >> Delete a DNS Zone and found nothing is in fact listed. The same is true for DNS Functions >> Edit a DNS Zone. Now I know everything still exists in BIND because existing sites continue to resolve just fine. I tried restarting BIND, and that worked fine, but it didn't solve the problem with DNS Functions in WHM.

Version of software in case it helps: WHM 10.8.0 cPanel 10.9.0-R79


Also, here's the latest entries in my error_log file.
BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/bin/dnsadmin line 21.
is only avaliable with the XS version at /usr/lib/perl5/site_perl/5.8.0/Compress/Zlib.pm line 9
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/Compress/Zlib.pm line 9.
Compilation failed in require at /usr/local/cpanel/Cpanel/Gzip.pm line 14.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Gzip.pm line 14.
Compilation failed in require at /usr/local/cpanel/whostmgr/bin/dnsadmin line 21.
BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/bin/dnsadmin line 21.

When I tried to search for "Compress::Zlib" under Software >> Install a Perl Module the following error message was also added to error_log.
Undefined subroutine &Compress::Zlib::gzopen called at /usr/lib/perl5/5.8.0/CPAN/Tarzip.pm line 102, <STDIN> line 1.
Undefined subroutine &Compress::Zlib::gzopen called at /usr/lib/perl5/5.8.0/CPAN/Tarzip.pm line 102.
 

Attachments

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
You need to upgrade both your version of cPanel and your version of perl. Perl v5.8.0 doesn't support several of the required modules for cPanel these days as it is so old. There's a tarball upgrade on layer1.cpanel.net.
 

benito

Well-Known Member
Jan 8, 2004
440
26
178
Mar del Plata - Argentina
cPanel Access Level
Root Administrator
Twitter
I´m having exactly this issue but with the latest perl version :(

Code:
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.7/Compress/Zlib.pm line 9.
Compilation failed in require at /usr/local/cpanel/Cpanel/Gzip.pm line 14.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Gzip.pm line 14.
Compilation failed in require at /usr/local/cpanel/whostmgr/bin/dnsadmin line 16.
BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/bin/dnsadmin line 16.
proftpd: no process killed
 is only avaliable with the XS version at /usr/lib/perl5/site_perl/5.8.7/Compress/Zlib.pm line 9
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.7/Compress/Zlib.pm line 9.
Compilation failed in require at /usr/local/cpanel/Cpanel/Gzip.pm line 14.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Gzip.pm line 14.
Compilation failed in require at /usr/local/cpanel/whostmgr/bin/dnsadmin line 16.
BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/bin/dnsadmin line 16.
 

celliott

Well-Known Member
Jan 2, 2006
459
0
166
United Kingdom
Hi,

I had the same issue not long ago.

Try this:

/scripts/perlinstaller Compress::Raw::Zlib
/scripts/perlinstaller --force Scalar::Util

Chris. :)