Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
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
Comments
4 comments
Thanks for editing this comment- but doing nothing about actually providing a fix.
it is left with these;
But it tries to repair them thinking is a full Debian system vs ubuntu (what variant I am running)
and on the CLI it has these errors:
ERROR:Cannot find deb-archive for package
Same problem here with 3 different servers.
Emmanuel Delgado If your error is about "/var/log" instead of "/var/lock," like the other comment, it is a false positive, typically caused because the command can't run properly. It's best to reach out to Plesk Support to investigate.
My error was about /var/lock and the solution has worked in a split second.
Thank you
Please sign in to leave a comment.