Reports have been coming in from the front lines about Compress::Zlib , including assorted errors about undefined gzip and gunzip methods.
One fix was to login to cPanel's Web Host Manager as root, and a small alert appeared at the top:
We have recently received multiple reports about problems updating IO::Compress. This results in the dns zone editor being unable to find any zones. If you are experiencing this issue, please clieck here to resolve the problem'
Their fix did not resolve the problem for me, however, so I was back at square one. Although the advent of package managers, including CPAN, has made it really easy to install perl modules and software packages, this problem is easiest to resolve with a manual perl module installation.
Given that the majority of cPanel servers have similar base perl modules installed, this fix should apply for your machine as well. I tried it on
- Redhat 8x
- Fedora Core 3/4/5/
- FreeBSD 5.4
- CentOS 4.4
The fix:
wget http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/IO-Compress-Base-2.006.tar.gz
tar -xzvf IO-Compress-Base-2.006.tar.gz
cd IO-Compress-Base-2.006
perl Makefile.PL
make
make install
cd ..
wget http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Zlib-2.006.tar.gz
tar -xzvf Compress-Raw-Zlib-2.006.tar.gz
cd Compress-Raw-Zlib-2.006
perl Makefile.PL
make
make install
cd ..
wget http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/IO-Compress-Zlib-2.006.tar.gz
cd IO-Compress-Zlib-2.006
perl Makefile.PL
make
make install
cd ..
wget http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Zlib-2.006.tar.gz
tar -xzvf Compress-Zlib-2.006.tar.gz
cd Compress-Zlib-2.006
perl Makefile.PL
make
make install