Blog

14 Dec 2018
ColorHosting Deepak Sharma

Rebuild /etc/localdomains and /etc/remotedomains on cPanel Server

Recently, we encountered internal DNS Failure on one of the servers which created a huge mess on the server which was taken care of by our System Admins. It was fixed within 30 minutes of the time period. Later it was found that DNS Failure removed localdomains and remotedomains configuration from the server as well. […]

14 Dec 2018
ColorHosting Deepak Sharma

[SOLVED chattr] Unable to Fix permissions for Files and Folders using root

Ever faced issue operation not permitted error when changing files and folders even with root/sudo? This could be an issue because of file and folder attributes are set to unchangeable by the system or some malware. [[email protected] web]# rm -rf testing/ rm: cannot remove testing: Operation not permitted In such cases, chmod and chown also throw […]

22 Nov 2018
ColorHosting Deepak Sharma

Error rpmdb open failed on running yum update

Facing issues when updating packages on RHEL System? Error logs similar to below log that we encountered on one of our CentOS systems. error: db5 error(11) from dbenv->open: Resource temporarily unavailable error: cannot open Packages index using db5 – Resource temporarily unavailable (11) error: cannot open Packages database in /var/lib/rpm CRITICAL:yum.main: Error: rpmdb open failed […]

21 Nov 2018
ColorHosting BaseZap

OpenVz useful commands

Here is the list of some useful OpenVz commands which should be run from the main node : 1. To fetch the consumption of disk for each container in the node along its it’s hostname and cid vzlist -H -o veid,hostname,diskspace | awk ‘{ printf(“%d\t%s\t%.2f GB\n”, $1, $2, $3/(1024*1024))}’   2. To find the load […]

09 Nov 2018
ColorHosting Deepak Sharma

Learn about domlogs on your Web Server

Ever wondered huge pile of logs occupying gigabytes or space inside apache directory? These are Domain Logs Abbreviated as domlogs. Web Statistics are stored in these logs which includes attributes like IP Address, Identity, Date/Time, Request, etc. These stats are very helpful in filtering the traffic hitting on your website. Domlogs can be found under the domlogs […]

09 Nov 2018
ColorHosting Deepak Sharma

Learn about Logging and Log Rotation on Linux

Ever thought how the logs on Linux Machine or Linux Web Server are rotated? Wondering what are those tarballs in your /var/log directory. Today we will share some information about Logging and their rotation on Linux. Logging has become important in today’s date. As Logging helps a developer to debug the issue and errors. A Linux […]

09 Nov 2018
ColorHosting Deepak Sharma

Difference between PHP-CGI and PHP-FPM

Confused to use PHP-CGI or PHP-FPM for your websites on your web server? We will share some information about PHP-CGI and PHP-FPM in this article. When running PHP through the web server, there are two distinct options: running it using PHP’s CGI, or running it as a PHP-FPM, for the web server. Let’s learn some […]

09 Nov 2018
ColorHosting Deepak Sharma

Learn about MAX_FILE_SIZE and related errors

Facing UPLOAD_ERR_FORM_SIZE error code when uploading a file in the form or webpage? Some of the other errors are discussed below. UPLOAD_ERR_OK: There is no error, the file uploaded with success. UPLOAD_ERR_INI_SIZE: The uploaded file exceeds the upload_max_filesize directive in php.ini. UPLOAD_ERR_FORM_SIZE: The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form. UPLOAD_ERR_PARTIAL: The uploaded file was only partially uploaded. UPLOAD_ERR_NO_FILE: No […]

09 Nov 2018
ColorHosting Deepak Sharma

Guide to Install LiteSpeed Web Server on cPanel/WHM Servers

LiteSpeed Web Server (LSWS), is proprietary web server software. LiteSpeed Web Server is the leading high-performance, high-scalability web server from Litespeed technologies. It can be used to replace an existing Apache server without changing any other programs or operating system details, and without breaking anything. LSWS is compatible with commonly-used Apache features, including mod_rewrite, .htaccess, and mod_security. LSWS can […]

08 Oct 2018
ColorHosting Deepak Sharma

Guide to install PHP SSH2 module on cPanel Server

Wondering how to install PHP SSH2 module on cPanel Server? You are at the right place. Today, we will guide you with simple steps using which you can add PHP SSH2 module to your cPanel Server. This requires no prior knowledge or experience. Let us discuss some requirements below cPanel/WHM installed server Root access to the […]