Articles in this section

The "plesk login"/"plesk repair" command fails with 255 error code

kb: technical Plesk Obsidian for Linux

Applicable to:

  • Plesk Obsidian for Linux

Symptoms

  • Plesk login page shows Internal server error 500
  • The plesk login or plesk repaircommand returns 255 error code:

    # plesk login
    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

  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

Was this article helpful?

Comments

1 comment
Date Votes
  • Seems Windows servers are forgotten in 90% of the KB

    0

Please sign in to leave a comment.