Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: PleskFatalException: Unable to connect to database: get_admin_password() failed  (Read 2398 times)

0 Members and 1 Guest are viewing this topic.

jominj

  • Guest
Have you ever found the following error while accessing plesk control panel in browser:
 ERROR: PleskFatalException: Unable to connect to database: get_admin_password() failed: file_get_contents() failed: file_get_contents() failed: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Tokyo' for 'JST/9.0/no DST' instead (auth.php:142)

This error may occur due to the wrong permissions on Plesk internal file '/etc/psa/.psa.shadow'

Please make sure that permissions and ownership for the mentioned file are as follows:
Code: [Select]
# ll /etc/psa/.psa.shadow
-rw------- 1 psaadm psaadm 62 Jan 29 23:41 /etc/psa/.psa.shadow