• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Ubuntu 22/Plesk Obsidian: "There are incorrect permissions on some items: \/var\/lock","level":1}"

GerdSchrewe

Basic Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Plesk Obsidian 18.45
Ubuntu 22.04 LTS, Plesk 18.45
Contabo V-Server with a few Wordpress und Typo3 installations.
Everything works fine, but during "Plesk diagnosis and repair" i get the following error message:

Der Vorgang ist fehlgeschlagen. Fehlermeldung: {"id":1,"cmd":"plesk repair fs -n","type":"progress","message":"Checking Linux system files","level":0} {"id":2,"cmd":"plesk repair fs -n","type":"error","message":"There are incorrect permissions on some items: \/var\/lock","level":1} {"id":3,"cmd":"plesk repair fs -n","type":"progress","message":"Checking virtual hosts' file system","level":0} {"id":3,"cmd":"plesk repair fs -n","type":"success","message":"Checking virtual hosts' file system","level":0}

When i try to repair, i get:

Der Vorgang ist fehlgeschlagen. Fehlermeldung: {"id":1,"cmd":"plesk repair fs -y","type":"progress","message":"Checking Linux system files","level":0} {"id":2,"cmd":"plesk repair fs -y","type":"error","message":"There are incorrect permissions on some items: \/var\/lock","level":1} {"id":3,"cmd":"plesk repair fs -y","type":"progress","message":"Repairing incorrect permissions","level":2} {"id":3,"cmd":"plesk repair fs -y","type":"failed","message":"Repairing incorrect permissions","level":2} {"id":3,"cmd":"plesk repair fs -y","type":"failed","message":"Repairing incorrect permissions","level":2,"details":"fsmng failed: ERROR:Cannot fix %s: file exists and it is not a\nsymlink\n"} {"id":4,"cmd":"plesk repair fs -y","type":"progress","message":"Checking virtual hosts' file system","level":0} {"id":4,"cmd":"plesk repair fs -y","type":"success","message":"Checking virtual hosts' file system","level":0}

Just ignore it or any ideas how to fix it?
Thanks a lot!
 
Have you seen this article?

Thank you very much.
Yes I've read the article but the error message is a little different than mine.
Do you think the way suggested in the article would still work.
I am not very familiar with SSH commands and therefore always very careful.
 
Can you try to run this command on the command line?

plesk repair fs -v

You should run it as root.

It doesn't do much except give you a better overview of the issue. The error message in the GUI is hard to read.
 
Can you try to run this command on the command line?

plesk repair fs -v

You should run it as root.

It doesn't do much except give you a better overview of the issue. The error message in the GUI is hard to read.
root@server2:~# plesk repair fs -v
Checking Linux system files

There are incorrect permissions on some items: /var/lock .......... [ERROR]
- Incorrect permissions on /var/lock. Expected: one of 0777.
Actual: 01777.
Incorrect type of /var/lock. Expected: symlink. Actual:
directory
Do you want to repair incorrect permissions? [Y/n] n

Checking virtual hosts' file system ................................. [OK]

Error messages: 1; Warnings: 0; Errors resolved: 0
 
That's much easier to read than the message in the GUI.

If you follow the support article I mentioned above, you should be able to fix this.
 
root@server2:~# plesk repair fs -v
Checking Linux system files

There are incorrect permissions on some items: /var/lock .......... [ERROR]
- Incorrect permissions on /var/lock. Expected: one of 0777.
Actual: 01777.
Incorrect type of /var/lock. Expected: symlink. Actual:
directory
Do you want to repair incorrect permissions? [Y/n] n

Checking virtual hosts' file system ................................. [OK]

Error messages: 1; Warnings: 0; Errors resolved: 0

That's much easier to read than the message in the GUI.

If you follow the support article I mentioned above, you should be able to fix this.
Thank you very much! You were spot on with the link to the article.
 
Back
Top