Blog

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 […]

30 Sep
2018
ColorHosting BaseZap

[Solved] cPanel does not support NetworkManager enabled 

Got following error while installing cPanel on centos based server ? 2018-09-29 17:35:01  593 (ERROR): ********************* ERROR ********************* 2018-09-29 17:35:01  594 (ERROR): NetworkManager is installed and running, or       2018-09-29 17:35:01  595 (ERROR): configured to startup.                            2018-09-29 17:35:01  596 (ERROR): […]

01 Sep
2018
ColorHosting Deepak Sharma

Guide to Raise ulimit open files and MySQL open_files_limit

The operating system provides ways of limiting the amount of resource that can be used. Limits are set for each user but are applied separately to each process that is running for that user. Administering Unix servers can be a challenge, especially when the systems you manage are heavily used and performance problems reduce availability. Linux itself […]

28 Aug
2018
ColorHosting BaseZap

[Solved] SoftException in Application.cpp:267: File “/home/…/public_html/index.php” is writeable by group

You might have come across the following error in your cPanel error log  : SoftException in Application.cpp:267: File “/home/username/public_html/foldername/index.php” is writeable by group   The issue is due to folder and files permission not properly set and cPanel not allowing them to run on user end. To fix this issue, simply login into server (we […]

25 Aug
2018
ColorHosting Deepak Sharma

Guide to create and extract Tar and Zip Archives

Looking for CLI commands to create tar and zip archives so that you can transfer a couple of files and folders to a different machine with ease? The tar is most widely used command to create compressed archive files and that can be moved easily from one disk to another disk or machine to machine. The […]

11 Aug
2018
ColorHosting Deepak Sharma

Create Databases and Users using Command Line on WHM Server

Don’t like web interface and looking for commands to create MySQL Databases and Users using the command line on WHM Server? Want to automate database and users creation using scripts on your WHM Server? This guide will show how we can use terminal to create MySQL Databases and Users on the cPanel/WHM Server. Commands are […]