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

After installing suPHP on server, the directories which is having the permission more than 755 and files which is having more than 644 will not work in the browser. The browser will show the Internal server error. For fixing the suPhp error, you can use the following scripts. 1. find… 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

If you receive the following error during attempting to login into Webmail: A fatal error has occurred DB Error: connect failed Details have been logged for the administrator. please make sure that the following line exists in the directory /etc/my.conf: socket=/var/lib/mysql/mysql.sock Also check that Mysql service is running and that… Continue Reading Webmail: A fatal error has occurred DB Error: connect failed Details have been logged for the administrator.

If there are many failed login attempts, your account may get locked by WHM. You will get the following message in the browser after the account blocked in the WHM. —————- This account is currently locked out because a brute force attempt was detected. Please wait 10 minutes and try… Continue Reading Unable to login to the WHM

Sometimes, you may forgot the SSH port of the server. You can reset the SSH port to default one by doing the following steps. 1)Open the browser. 2) Enter the following URL in the browser, http://serverip:2086/scripts2/doautofixer?autofix=safesshrestart That’s it. Now, you are able to login the server by using default SSH… Continue Reading RESET SSH PORT TO DEFAULT PORT THROUGH WHM