Symptoms
Checking the file system in Tools & Settings > Diagnose & Repair or with the command-line returns an error
There are incorrect permissions on some items: /var/lock
# plesk repair fs -v
[...]
Incorrect type of /var/lock. Expected: symlink. Actual:
directory
Cause
/var/lock
is a directory while it should be a symlink.
Resolution
-
Connect to the server via SSH
-
Move the
/var/lock
directory:# mv /var/lock{,.backup}
-
Recreate the symlink by repairing the file system:
# plesk repair fs -system -y