Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
Symptoms
Unable to access Plesk interface with the following error messages:
Server Error
500 Plesk\Exception\Database
DB query failed: SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: NO)
Cause
Incorrect ownerships are set for the /etc/psa/.psa.shadow
file:
# ls -la /etc/psa/.psa.shadow
-rw------- 1 root psaadm 62 Apr 28 19:23 /etc/psa/.psa.shadow
Resolution
-
Connect to the server via SSH.
-
Set correct ownerships for the
/etc/psa/.psa.shadow
file:# chown psaadm:psaadm /etc/psa/.psa.shadow
-
Restart MySQL service:
# systemctl restart mariadb
Comments
2 comments
I need some help.
I have the same problem as I can not access Plesk and I get a very similar error, only instead of being 1045, in my case it appears 2002 in the error description message. This happened after running the Plesk repair tool when I was getting error 500 caused by the Apache update. I have checked several articles for very similar problems but so far I have not been able to solve it. any suggestions?
Necesito ayuda.
Tengo el mismo problema ya que no puedo acceder a Plesk y me arroja un error muy similar, solo que en vez de ser 1045, en mi caso aparece 2002 en el mensaje de descripción del error. Esto sucedió después de ejecutar la herramienta de reparación de Plesk cuando me aparecia el error 500 ocasionado por la actualización de Apache. He verificado diversos artículos de problemas muy similares pero hasta ahora no he logrado resolverlo. ¿alguna sugerencia?
Antonio De Mendieta
The issue you have described is too general and in case articles like below does not help:
https://support.plesk.com/hc/en-us/articles/115000140333
then please consider directly contact our Technical Support.
Please sign in to leave a comment.