Category: CentOS

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 …

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, Linux, Security

How To Add User To Sudoers & Add User To Sudo Group On CentOS 7

Step 1: Login as Administrator If you’re working on a local machine, log in to the system with administrator credentials. If you’re connecting to a remote machine (over a network), open a terminal window and enter the command: ssh root@server_ip_address The server_ip_address is the network IP address of the server you’re logging into. Enter your …

CentOS, cPanel, Linux

Database available but not showing in cPanel

If the database is not exists in cpanel after update of cpanel software, then first you have to make sure that database is available on server. But if it exists on server and not showing on cpanel server then it happened just because of database mapping. To resolve this issue you have to rebuild database …