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
0 comments
Please sign in to leave a comment.