FTP Icon missing in cpanel accounts

Last day I had a strange issue with ftp icon in cpanel accounts. Every cpanel account is missing the ftp related icons. In such situation, please follow the below steps 1. Double check whether “Ftp Account Manager” and “Ftp Settings” are enabled in the feature list used by the package assigned to the account. 2. … Read more

Blocking Maliciuos bots from accessing your website

It is always a nuisance when unnecessary bots start hitting your website. It can increase CPU load on your server and may cause MySQL overhead as well, if your website driven by any database. Though the bot access says to be controlled using robots.txt files, most malicious bots do not honor rules defined in robots.txt file. The most reputed … Read more

ntPHPSelector – short_open_tag

I have noticed many users are reporting miscellaneous issues ( like PHP blank pages ) after switching to additional PHPs. Even many of them could not get phpinfo() working on their custom PHP versions. It is unusual and once ntPHPSelector is installed properly on your server, it should server without any problem. So the first thing you should ensure … Read more

ntPHPselector :: Released v2.0.0

ntPHPselector plugin allows user to select preferred PHP version per directory on the same domain.

Added features

  • The textbox has been removed and directory listing is enabled. So now the user can click and select and directory from the list.
  • Enabled sqlite support for PHP 5.4 and 5.5
  • Enabled server timezone in each php.ini files
  • PHP 5.2.17 download is now from NixTree’s website as cPanel will remove the tarballs from their repo after a while.

    Read more

Install Mod_security for apache on Red Hat / CentOS

ModSecurity : ModSecurity is an open source web application firewall. Working embedded in the web server, or standalone as a network appliance, it detects and prevents attacks against web applications.

In order to use mod_security, you need to turn on EPEL repo under CentOS / RHEL Linux.

RHEL 5.x / CentOS 5.x Users

Type the following command as root user to install repo:

# rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

RHEL 6.x / CentOS 6.x Users

Type the following command as root user to install repo:

# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

Once repo is turned on, type the following command to install ModSecurity:

Read more

Change outgoing IP address for SMTP using iptables

Change outgoing IP address for SMTP using iptables

Here is how you can change outgoing IP address for SMTP using iptables. On a server, if outgoing email is being blocked by spam filters, It can sometimes get around the problem by using an IPTables rule to force the email out through a different IP address like this: iptables -t nat -A POSTROUTING -p … Read more

MySQL [ERROR] Plugin ‘InnoDB’ init function returned error

We were migrating some complex databases via syncing the contents and found the following error with MySQL sartup on destination system, after the sync is completed [ERROR] Plugin ‘InnoDB’ init function returned error. [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed. To fix it, we have removed ib_logfile0 and ib_logfile1 from the destination server … Read more

Ksplice – Rebootless Kernel

Ksplice is an extension to Linux Operating System Kernel, which pushes the Kernel updates and patches to the system without the necessity of a system reboot. This technique is also called “Dynamic Software Updating”. Keeping the Kernal upto date is a real headache for a System Admin, as it needs regular server reboots that kills server uptime and service … Read more