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.

We can reset the plesk admin password by doing the following steps. 1. Login to the server as root. 2. [root@test]# cd /usr/local/psa/admin/bin/ 3.Enter the following command [root@bin]#export PSA_PASSWORD=’newpass’ 4.Execute the command “./ch_admin_passwd ” and it will reset the plesk admin with new one which we entered now. [root@bin]#./ch_admin_passwd Now… Continue Reading How to reset the Plesk Admin password

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.