• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Access problem

FlorencioH

New Pleskian
Hi all

I can´t access to my admin Plesk panel via web browser. The system show me this error:


ERROR: PleskFatalException
Unable to connect to database: get_admin_password() failed: file_get_contents() failed: mktime() [<a href='function.mktime'>function.mktime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'UTC' for 'UTC/0.0/no DST' instead

0: /usr/local/psa/admin/plib/common_func.php3:158
psaerror(string 'Unable to connect to database: get_admin_password() failed: file_get_contents() failed: mktime() [<a href='function.mktime'>function.mktime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'UTC' for 'UTC/0.0/no DST' instead')
1: /usr/local/psa/admin/auto_prepend/auth.php3:87


Any idea???
 
Strange issue, however it seems like "get_admin_password() failed" is the main problem.

First - try to enter Plesk DB:
# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

If it fails - there is a neat article about how to regenerate Plesk admin password:
http://kb.odin.com/article_16_346_en.html
 
Back
Top