In the last weeks seems that some particular error showed up more often on servers that are running Fatastico under Cpanel.
The error itself looks like this:
Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory from it's current location to /usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM -> Tweak settings.
I am not sure of the cause of the error but seems to be related to the PhP compiling options for CPanel(this is not the same with PhP running under Apache) .
Enabling IonCube seems to not resolve this issue.
Anyway a simple fix to this problem is to recompile the PhP for CPanel and not this is not being done by using EasyApache but by running the following:
/scripts/makecpphp – This will recompile the php that is serving Cpanel
Like i said the two php versions and compile options are not the same for Cpanel and Apache on a Cpanel server.
Had a few clients lately blocking them self out and when i say blocking i mean blocking the user root because of them inserting the wrong password more then X times when Brute Force Protection was enabled on the server.
Of course that they were unable to login anymore to the server using the root user and more to it no one was able to login over an ssh connection.
A way around this is to access the server in single user and delete the blocked users:
mysql> delete from brutes;
mysql> delete from logins;
Now this happens usually if the following setting is set to low when setting up Brute Force Protection:
Maximum Failures By Account:
For anyone who has this kind of issues you may want to create a second user on the server and add that user to the
sudoers /etc/sudoers group so that if you block the root user out you will still be able to access the server and fix the problem.
All this goes also for anyone who uses another user to connect to the server and has root ssh access disabled.
If you need to update your DirectAdmin license manually, you can do so by running the following commands:
./getLicense.sh 123 1234
123 and 1234 are your Client ID and respectively License ID.
If there are errrors extracting the update.tar.gz file, then run the following to see the errors that show up :
head -n 1 /usr/local/directadmin/conf/license.key
If you have multiple IPs on your device and wget is binding to the incorrect one, you can specify the IP to bind to by adding it as the last argument:
./getLicense.sh 123 1234 184.108.40.206