×


Blog


Lambda RDS connection timed out - How to Troubleshoot and fix it ?

This article covers how we troubleshoot and resolve Lambda RDS connection timed out issues for our customers.


Block IP in Virtualmin or Restrict Access - Step by step process ?

This article covers steps to Block IP in Virtualmin. There's various tools and methods you can use to block hosts, IP's, and the like.

A nice and simple one you can use on the command line that would completely block them from your server would be to use the nifty iproute2 tools, and run this command:

$ ip ro add blackhole IP.ADDRESS.TO.BLACKLIST

To later remove it, you can type:

$ ip ro del IP.ADDRESS.TO.BLACKLIST


You can block IP via the linux firewall in Virtualmin:

  • Login to Virtualmin.
  • Click on "Webmin" > "Networking" > "Linux Firewall".
  • Click on "Add Rule".
  • Check "Drop" or "Reject" under "Action to take".
  • Enter the IP Address or Network under "Source address or network".
  • Click "Save".
  • Use the arrows under the "Move" column to move the rule to the top so it's processed first.
  • Click "Apply Configuration".

That's it, the IP address or network in question will now be blocked from accessing your server period!


DirectAdmin quota error on xfs file system - How to fix it ?

This article covers how we resolved DirectAdmin quota error on xfs file system for our customers.

If you're using ext4

then you'll need to tell DA not to use xfs. Add this:

use_xfs_quota=0

to the file

/usr/local/directadmin/conf/directadmin.conf

and restart DirectAdmin.


Update DirectAdmin License Update Error & Fix error

This article covers methods to tackle License Update Error in DirectAdmin. 


Some DirectAdmin update errors that can occur:

1. DirectAdmin fails to start/stop during restart command. Run the following command to correct:

killall -9 directadmin; /etc/init.d/directadmin start Retry the restart command, to ensure that both the “Stopping” and “Starting” sections are “[ OK ]”.


2. It may be necessary to specify the primary IP with the execution of the following command to ensure that the correct IP is associated by the wget to the license key:

uid=$(grep uid /usr/local/directadmin/scripts/setup.txt | awk -F'=' {'print $2'}); lid=$(grep lid /usr/local/directadmin/scripts/setup.txt | awk -F'=' {'print $2'}); ip=`hostname -i`;  sh /usr/local/directadmin/scripts/getLicense.sh $uid $lid $ip


3. If you are unable to connect to https://directadmin.com (port 443), you can try using port 80:

echo 1 > /root/.insecure_download

If this error is reoccurring, you can create a separate cron to automatically update the license for you:

uid=$(grep uid /usr/local/directadmin/scripts/setup.txt | awk -F'=' {'print $2'}); lid=$(grep lid /usr/local/directadmin/scripts/setup.txt | awk -F'=' {'print $2'}); echo '0 0 4 * * root /usr/local/directadmin/scripts/getLicense.sh $uid $lid ; echo "action=directadmin&value=restart" >> /usr/local/directadmin/data/task.queue' >> /etc/cron.d/directadmin_cron ; /etc/init.d/crond restart


Acronis plugin internal server error in cPanel - How to fix it ?

This article covers methods to resolve Acronis plugin internal server error in cPanel. In fact, this happens when the timezone is set to an incorrect value in the php.ini file.


Acronis cyber backup extension error in Plesk - How to fix it ?

This article covers steps to fix Acronis backup extension errors in Plesk. In fact, This happens because of a token used for communication with Acronis cloud was marked as 'expired' and then revoked on the cloud side. This happened because there were no calls from the extension UI to the cloud for a week.