You can execute the following command for getting the “mysql” root password of the server in Ensim control panel. [root@test]#ensim-python -c “import sys;sys.path.append(\”/usr/lib/opcenter/mysql\”);import mysqlbe;print mysqlbe.read_mysqlpass()” [or] [root@test]#ensim-python -c “from vh3 import virthost; from vh3.modules import mysql; print mysql.GetMySQLRootPass()” Both command will return the mysql root password.

Introduction If you forget the administrator password for Plesk, you can reset it directly from the command line using the built-in Plesk utility. Prerequisites Before proceeding, ensure: Implementation Step 1: Login to the Server Login to the server as the root user via SSH. Step 2: Navigate to Plesk Admin… Continue Reading How to reset the Plesk Admin password via Command Line

Introduction Managing file permissions is a critical part of maintaining a secure web server environment. When using suPHP, security is tightened by enforcing strict ownership and permission rules for files and directories. While this helps prevent unauthorised access and script execution, it can also lead to unexpected issues—most commonly the… Continue Reading Fixing File and Folder Permission on suPHP

We can increase the /tmp directory by doing the following steps: cd /usrdd if=/dev/zero of=/usr/tmpMnt bs=1024 count=2000000 mke2fs -j /usr/tmpMnt cd /cp -R /tmp /tmp_backup mount -o loop,noexec,nosuid,rw /usr/tmpMnt /tmpchmod 0777 /tmp/bin/cp -R /tmp_backup/* /tmp/rm -rf /tmp_backup + Now, we will need to add this new block device in fstab.… Continue Reading Increase /tmp size

Introduction When accessing webmail, you may encounter the error: This issue typically occurs due to database connection problems with the webmail application, often related to MySQL configuration or authentication issues. Prerequisites Before proceeding, ensure: Common Causes Implementation Step 1: Verify MySQL Socket Configuration Check if the following line exists in:… Continue Reading Webmail: A fatal error has occurred DB Error: connect failed Details have been logged for the administrator.

Introduction WebHost Manager (WHM) is a powerful control panel used by server administrators to manage hosting accounts, services, and configurations. Sometimes, users may face issues while logging into WHM due to authentication errors, firewall restrictions, incorrect credentials, or service-related problems. This document outlines the basic prerequisites and provides a structured… Continue Reading Unable to login to the WHM

Introduction In some cases, the SSH port on a server may be changed from the default (22) for security reasons. If the custom SSH port is forgotten or inaccessible, Web Host Manager provides a way to restore SSH access to the default configuration. Prerequisites Before proceeding, ensure: Implementation Step 1:… Continue Reading RESET SSH PORT TO DEFAULT PORT THROUGH WHM

Some times, we will get the following error when we tried to login to the horde.