• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Error Before Plesk login

Webroy

Regular Pleskian
After a update i get this error:

I cannot login to plesk 10.3 on centos 5.5


ERROR: PleskFatalException
Unable to connect to database: get_admin_password() failed: file_get_contents() failed: Constant PRODUCT_MODE already defined

0: common_func.php3:93
psaerror(string 'Unable to connect to database: get_admin_password() failed: file_get_contents() failed: Constant PRODUCT_MODE already defined')
1: auth.php3:125
ERROR: PleskFatalException
Unable to connect to database: get_admin_password() failed: file_get_contents() failed: Constant PRODUCT_MODE already defined

0: common_func.php3:93
psaerror(string 'Unable to connect to database: get_admin_password() failed: file_get_contents() failed: Constant PRODUCT_MODE already defined')
1: auth.php3:125
 
Make sure that /etc/psa/.psa.shadow file has a valid permissions. Right permissions should be as follows

-rw- 1 psaadm psaadm 5 Feb 26 11:22 /etc/psa/.psa.shadow
 
The files are oke

When i do this i get :

/usr/local/psa/bin/admin --show-password
Unable to connect to database: 1045


I tried to reset the admin password through mysql by doing this:

mysqld stop
/usr/bin/mysqld_safe --skip-grant-tables &

mysql --user=root mysql

update user set Password=PASSWORD('new-password-here') WHERE User='admin';

But no result....
 
Okay i think i have solved this problem:

I did this:

Plesk stop
Mysql stop

/usr/bin/mysqld_safe --skip-grant-tables &

mysql --user=root mysql

update user set Password=PASSWORD('new-password-here') WHERE User='admin';


flush privileges;

mysql start


cd /usr/local/psa/admin/bin/

export PSA_PASSWORD='newpass'

echo $PSA_PASSWORD

./ch_admin_passwd

export PSA_PASSWORD=

/usr/local/psa/bin/admin --show-password

And i can login again
 
Back
Top