Ausweb Web Hosting and Web Development Tutorials

You are here

How to Resolve Install Errors with Fantastico

This tutorial is for system administrators running cPanel/WHM on CentOS 5 or higher experiencing issues with Fantastico.

A number of issues with Fantastico all have exactly the same cause and solution, so please try these two simple steps if you're having any problems with Fantastico either not working, displaying errors such as disabled functions or saying that Fantastico isn't installed in the correct location:

1) Log into WHM as root, click on Tweak Settings, scroll down to the PHP section and make sure the IONCUBE PHP Loader is selected. Save changes if needed.

2) Log into your server as root via SSH and execute the following command:
/scripts/makecpphp

For step number 2, make sure that the script completes the task without any errors. If the script stops the installation with errors, please deal with those errors before continuing.

We've seen a lot of servers lately that have cPanel and WHM incorrectly using a server's frontend (public) php.ini configuration instead of the correct backend copy located at /usr/local/cpanel/3rdparty/etc/php.ini. Running /scripts/makecpphp will fix this problem so long as your cPanel installation is reasonably up-to-date. Also, some people have missed the IONCUBE step mentioned in our installation directions or have accidentally had the loader changed or removed.

Reminder: Setting the IONCUBE loader in Tweak Settings does not affect your public PHP configuration, only the backend copy used by cPanel and WHM.

Changing the SSH port on cPanel Servers

To change the SSH port number login as root, and edit /etc/ssh/sshd_config

Find the line that says Port 22 and change 22 to any number between 1024->65535 (above 30000 is best) and save the file.

Once done, run:

/etc/init.d/sshd restart

Now start a new SSH session (don’t close your existing one), to make sure that you can get in.

cPanel Issue - fatal error

If one of your cPanel account on your Server brings up the fatal error like its listed below you can do some simple steps to fix this

[a fatal error or timeout occurred while processing this directive]

#1 Make sure the user is not over quota
#2 Make sure that the user has a feature list that allows FTP
#3 Try moving .cpanel to .cpanel.bak in the home directory then log out/back into cpanel. This will regenerate the .cpanel directory.

Access Denied Error from phpMyAdmin via WHM - cPanel

When you try and load phpMyAdmin from cPanel’s WHM, a message saying access denied appears.There is a very simple solution to this.

  1. From WHM, under SQL Services, click MySQL Root Password. Enter in a password and save it.
  2. Try loading up phpMyAdmin again from web host manager and it should be fine. No SSH commands, no configuration files - type and click.

What to do when Cpanel/WHM udate is hanging

Sometimes a cPanel/YUM upgrade will hang. Instead of manually trying to kill all processes, you can simply use this comand:

killall -9 rpm; killall -9 rpmq; killall -9 yum; killall -9 upcp

mv /var/lib/rpm/__db* /root  (in case your YUM DB is corrupted)

rpm --rebuilddb (to rebuild your cPanel/Yum DB)

yum --exclude=kernel* -y update

yum clean all

Page 1 of 13

  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  4 
  •  5 
  •  6 
  •  7 
  •  8 
  •  9 
  •  10 
  •  Next 
  •  End 
  • »