Log into your server via SSH as root and execute the following:

rm -rf /var/netenberg/fantastico_de_luxe/
rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/fantastico/
rm -rf /usr/local/cpanel/3rdparty/fantastico*
rm -rf /usr/local/cpanel/base/frontend/*/fantastico
rm -f /usr/local/cpanel/base/frontend/x/cells/fantastico.html
rm -f /usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi

cPanel runweblog error Perl_Gthr_key_ptr

cPanel runweblog error :

/usr/bin/perl: symbol lookup error: /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/ undefined symbol: Perl_Gthr_key_ptr

Solution :

I removed the rrdtool binary from /usr/local/cpanel/3rdparty/bin then ran /scripts/rrdtoolinstall

How do i fix the error “License File Expired” ?

First, check the license on to ensure it is still licensed.
If it is not, please contact who you purchase the license from directly.

If your license lists as active and you see this error when trying to access cPanel or WHM: License File Expired, you will want to ensure that port 2089 is open for outbound TCP traffic.
After verifying that port 2089 is open, check to make sure that this command gives the IP that you expect: lynx -dump If that command shows the expected IP, run this from the command line as root, on the server: /usr/local/cpanel/cpkeyclt.


# rdate -s
# /usr/local/cpanel/cpkeyclt

HowTo :: install a Perl Module

Perl modules
A Perl module is a self-contained piece of Perl code that can be used by a Perl program or by other Perl modules. It is conceptually similar to a C link library, or a C++ class.

To manually install a Perl module:

  1. Download the Perl module from CPAN or other site.
  2. Extract the tarball, and then run the following commands (in that order):
  • perl Makefile.PL
  • make
  • make test
  • make install

From the WHM
Login to the: WHM >> Main >> Software >> Install a Perl Module

Enter the name of the Perl Module you wish to install in the field and click the button Search. Perl Module will be presented to you in a list. Find and can click on the module you wish to install.

The command Line

  1. SSH to the server and login as root.
  2. Type the following command at the prompt:
    • /scripts/realperlinstaller –force HTML ::Template

In this case, the module we want to install is HTML::Template.

Fatal error: Allowed memory size of 123456 bytes exhausted (tried to allocate 234567 bytes) in /path/file.php

Php is setup is to limit memory usage per process. If you require more, this limit can be increased.


If you are unsure about the php.ini path, You can find your server php.ini using command :

php -i | grep php.ini

Configuration File (php.ini) Path => /usr/local/lib

Loaded Configuration File => /usr/local/lib/php.ini

and set:

memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)

to a higher value, like 20M. Save, exit, then restart apache.

Where can I change log permissions so other programs can read apaches web logs?

Click on the “Tweak Settings” link under “Server Setup”. Within the “Stats and Logs” section is a text box with the heading:

“Chmod value for raw apache log files (0640 is the default):”

Change the value to suit your needs and apply the changes by clicking on the “Save” button at the bottom of the page.

Most programs only need read permissions on the log files so setting this to 0644 should suffice.

How to enable iconv on CPanel server?

The iconv API is the standard programming interface for converting character strings from one character encoding to another in Unix-like operating systems. Initially appearing on the HP-UX operating system, it was standardized within XPG4 and is part of the Single UNIX Specification (SUS).

All recent Linux distributions contain a free implementation of iconv() as part of the GNU C Library which is the C library for current Linux systems. To use it, the GNU glibc locales need to be installed, which are provided as a separate package (usually named glibc-locale) normally installed by default.

…. source :

From WHM you can compile Apache with iconv :

WHM Main >> Software >> EasyApache (Apache Update)

Follow the wizard and slect “Iconv (experimental)” under PHP Exhaustive Settings and start the Apache build by using “Start Build”.