Perl modules CPAN error memory allocation
i was trying to install some perl modules to ispconfig and i kept on getting the error with memory allocation problem
perl -MCPAN -e shell
install HTML::Parser
install DB_File
install Net::DNS (when prompted to enable tests, choose "no")
install Digest::SHA1
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
Could not pipe[/bin/gzip --decompress --stdout /root/.cpan/sources/authors/01mailrc.txt.gz |]: Cannot allocate memory at /usr/lib/perl5/5.8.8/CPAN.pm line 5726,
To fix: Free system RAM
Most of my system RAM were consumed by httpd and mysql. so i stopped them temporarily and bingo! it worked for me. i was sucessfully able to install perl modules.
/etc/init.d/httpd stop
/etc/init.d/mysqld stop
- May 17th

















Leave a Reply