var bdv_ref_pid=562243;var bdv_ref_type=’i’;var bdv_ref_option=’a’;var bdv_ref_eb=’1′;var bdv_ref_gif_id=’ref_728x90_green_ebay’;var bdv_ref_width=728;var bdv_ref_height=90;toolbar creator
If you cannot log in to Parallels Plesk Panel (PP) and getting following error is displayed instead of the login screen:
———————
ERROR: PleskFatalException
Unable to connect to database: saved admin password is incorrect.
0: common_func.php3:93
psaerror(string ‘Unable to connect to database: saved admin password is incorrect.’)
1: auth.php3:127
———————
Solution ::-
The password in the file /etc/psa/.psa.shadow used to access the Plesk Panel database does not match your admin password. Simply reset your PP admin password using
ch_admin_passwd utility
———————
# export PSA_PASSWORD=<NEW_PASSWORD>
# /usr/local/psa/admin/bin/ch_admin_passwd
———————
If the above solution does not solve your issue, then please follow below steps to reset the “/etc/psa/.psa.shadow” password:
1. Modify the MySQL server settings in the file /etc/my.cnf and add the skip-grant-tables option in the [mysqld] section:
———————
[mysqld]
skip-grant-tables
———————
2. Restart the MySQL server:
———————
# /etc/init.d/mysqld restart
———————
3. Add new password to the “/etc/psa/.psa.shadow” file.
4. Reset the password in the service table of the MySQL server:
———————
# /usr/bin/mysql -D mysql -e”update user set password=PASSWORD(‘`cat /etc/psa/.psa.shadow`’) where User=’admin’;”
———————
5. Delete the skip-grant-tables option from the /etc/my.cnf file.
6. Restart the MYSQL server:
———————
# /etc/init.d/mysqld restart
———————
That’s All.…..!!!!!!
toolbar creator ( function() { if (window.CHITIKA === undefined) { window.CHITIKA = { ‘units’ : [] }; }; var unit = { ‘publisher’ : “deepaksonawane”, ‘width’ : 728, ‘height’ : 90, ‘type’ : “mpu”, ‘sid’ : “Chitika Default”, ‘color_site_link’ : “0000CC”, ‘color_title’ : “0000CC”, ‘color_border’ : “FFFFFF”, ‘color_text’ : “000000”, ‘color_bg’ : “FFFFFF” }; var placement_id = window.CHITIKA.units.length; window.CHITIKA.units.push(unit); document.write(‘
‘); var s = document.createElement(‘script’); s.type = ‘text/javascript’; s.src = ‘http://scripts.chitika.net/getads.js’; try { document.getElementsByTagName(‘head’)[0].appendChild(s); } catch(e) { document.write(s.outerHTML); } }());