Symptoms
- Plesk login page shows Internal server error 500
-
The
plesk login
command returns 255 error code:# plesk login
exit status 255 -
The
plesk repair
command returns 255 error code:# plesk repair
exit status 255 -
Stracing the
plesk login
command returns an error:# strace /usr/local/psa/bin/admin --get-login-link
readlink("/etc/localtime", "/usr/share/zoneinfo/[Europe/Lond"..., 1024) = 35
openat(AT_FDCWD, "/usr/share/zoneinfo/[Europe/London]", O_RDONLY) = -1 ENOENT (No such file or directory)
Cause
File /etc/localtime
is broken link:
# ls -la /etc/localtime
lrwxrwxrwx 1 root root 35 May 20 20:24 /etc/localtime -> '/usr/share/zoneinfo/[Europe/London]'
Resolution
-
Connect to the server via SSH
-
Remove broken
/etc/localtime
file:# rm /etc/localtime
-
Link
/etc/localtime
to correct timezone file like below:# ln -s /usr/share/zoneinfo/Europe/London /etc/localtime