Logs are the best part to start troubleshooting.In this article we will show you how to enable the different type of logs into MySQL server: Error Log: It contains all the information about MySQL errors.To enable MySQL error log edit MySQL configuration file and update following setting as per your requirements. [mysqld] log_error = /var/log/mysql/error.log […]
Category: Cpanel
Creating 301 redirects with WordPress
A 301 redirect simply inform the search engines that a page has been permanently moved. In most cases, a 301 redirect is the best way of implementing redirects on a website. […]
How to check MySQL database size
This article will guide you to calculate size of tables and database in MySQL servers though sql queries. MySQL stored all the information related to tables in database in information_schema database. We will use information_schema table to find databases and tables size. To check single database size in MySQL we may run this query,Please change ‘testdb‘ with your actual database […]
How to find recently modified files in Linux
If you came into work and found out that some changes has made without leaving any documentation for you, In that case Linux have a quite powerful command which can help you to get the list of of all recently modified files. […]
How to Fix a WHM update that fails to complete
Sometimes a cPanel upgrade get hang. To kill all processes, We can simply use these commands instead of manually trying: […]
Fix corrupted named.conf in cpanel
Sometimes named.conf got corrupted in cPanel server, To fix that issue follow the steps below: First of all move the corrupted named.conf using the below command : […]
Basic SSH commands for CSF to secure your server
Config Server Security & Firewall provide basic and necessary security application for Linux servers. Before getting started, make sure you firstly install CSF on your server following what’s described on our previous guide. 1. We can whitelist a specific IP so any connection from that IP will be allowed on CSF: csf -a IP address This will […]
Error while accessing sent/draft folders – webmail – Squirrel mail
Recently we came across the error in one of our client’s cPanel server. That is appearing, when he access Drafts or Sent folders in Webmail (squirrel mail), Most of the user’s are using either Squirrel mail or Round cube for accessing emails through webmail. If the temporary file for the email account is corrupted you will get […]
How to Kill / Stop the Specific MySQL Query Process
We can easily stop the unwanted MySQL query process using mysqladmin command First of all check the MySQL query process list. […]
How to install cageFS on cPanel
In this article we will guide you with the steps to install cageFS on your server. yum install cagefs /usr/sbin/cagefsctl –init This command will create skeleton directory. If you don’t have enough disk space in /usr/share, use following commands to place cagefs-skeleton into a different location: mkdir /home/cagefs-skeleton ln -s /home/cagefs-skeleton /usr/share/cagefs-skeleton On cPanel servers, if […]