Category: CloudLinux

CentOS, Centoswebpanel, CloudLinux, cPanel, CWP, Debian

Working with MySQL-MariaDB Time Zones

For any program, whether it’s a web app, API server, desktop software, tablet or phone app, working with the time zones is a pretty common task. In this article, I am going to show you how to install time zone databases to MySQL and MariaDB database server and use it. I have tested the steps …

CloudLinux, cPanel

How to Change Document Root of Primary Domain in WHM/cPanel

cPanel/WHM is a web-based control panel to manage a complete Linux operating system. All the cPanel accounts are created using one primary domain. This article will help you to change the document root for the primary domain of the cPanel user. You must have root shell access for changing the main/primary domain document root in …

CentOS, CloudLinux, cPanel, CWP

How to disable LiteSpeed connection timeouts

LiteSpeed is the webserver we use on all our hosting servers instead of Apache. We set a LiteSpeed connection timeout to ensure users with potential scripting issues do not cause long-running processes on our servers. This helps to ensure that users don’t end up with processes stacking up and hitting account limits for the number …

CentOS, Centoswebpanel, CloudLinux, cPanel, CWP

GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed

On centos 7, there are instances where you get the error Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subjectError registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0) How to fix this error. Add the following in /etc/fstab as well After mount the new mountpoint and restart the service.

CentOS, CloudLinux, cPanel

cPanel MySQL/MariaBB error: adminbin Cpanel/cpmysql/DBCACHE: exit 11

Because of Bug in the CPanel release lots of our client are facing issue that MySQL is showing down in cPanel interface. But the MySQL/MariaDB was still running. It’s only the cPanel interface that was showing the error. And cPanel error logs were being populated with below string. To fix the issue please follow below …