Plesk

The “plesk login” command fails with 255 error code

Symptoms

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

  1. Connect to the server via SSH

  2. Remove broken /etc/localtime file:

    # rm /etc/localtime

  3. Link /etc/localtime to correct timezone file like below:

    # ln -s /usr/share/zoneinfo/Europe/London /etc/localtime

Exit mobile version