• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Permissions Error

BrinsleyP

Regular Pleskian
When run the plesk repair fs -verbose i give these error;

root@server ~ # plesk repair fs -verbose

Checking Linux system files[2020-11-02 15:45:28.373] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/fsmng' '--check-ac' '/vhosts'] with exit code [1]


There are incorrect permissions on some items: /vhosts ............ [ERROR]
- fsmng failed: dpkg-query: no path found matching pattern
/vhosts
ERROR:Command '['/usr/bin/dpkg', '-S', '/vhosts']' returned
non-zero exit status 1
Do you want to repair incorrect permissions? [Y/n] y
Repairing incorrect permissions ................................. [2020-11-02 15:45:35.876] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/fsmng' '--set-ac' '/vhosts'] with exit code [1]
[FAILED]
- fsmng failed: dpkg-query: no path found matching pattern
/vhosts
ERROR:Command '['/usr/bin/dpkg', '-S', '/vhosts']' returned
non-zero exit status 1

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

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


exit status 1
root@server ~ #

So, how to fix this. Im works server in Debian 9
 
Looks like you have custom vhosts directory, right?
I would like to inform you that our Development Team confirmed it to be bug PPPM-12325, which will be fixed on future Plesk updates.
The bug causes Plesk repair to wrongly identify custom virtual hosts folders as having wrong permissions.
 
Looks like you have custom vhosts directory, right?
I would like to inform you that our Development Team confirmed it to be bug PPPM-12325, which will be fixed on future Plesk updates.
The bug causes Plesk repair to wrongly identify custom virtual hosts folders as having wrong permissions.
Yes, all directory/permissions its fine...
/vhosts its a dedicated disk with a patition for only vhosts !
Please, inform about this issue...
 
Good evening everyone,
I can only confirm the error so far Plesk Obsidian v18.0.33_build1800210225.14 os_Debian 10.0

Does this put me at any disadvantage in using Plesk? Or can I ignore this error?


Checking Linux system files[2021-02-26 22:39:17.502] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/fsmng' '--check-ac' '/media/filesystem/vhosts'] with exit code [1]


There are incorrect permissions on some items:
/media/filesystem/vhosts .......................................... [ERROR]
To see more details, run the command in the verbose mode: plesk repair fs -verbose
Repairing incorrect permissions ................................. [2021-02-26 22:39:17.637] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/fsmng' '--set-ac' '/media/filesystem/vhosts'] with exit code [1]
[FAILED]
- fsmng failed: dpkg-query: no path found matching pattern
/media/filesystem/vhosts
ERROR:Command '['/usr/bin/dpkg', '-S',
'/media/filesystem/vhosts']' returned non-zero exit status 1

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

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


exit status 1
manuel@srv01:~$ ls -la /opt/psa/admin/bin/fsmng
lrwxrwxrwx 1 root root 15 Feb 25 08:02 /opt/psa/admin/bin/fsmng -> ../sbin/wrapper
manuel@srv01:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
 
root@server:/home/wenxxxx# plesk repair fs

Checking Linux system files[2021-04-03 10:23:51.142] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/fsmng' '--check-ac' '/media/storage/vhosts'] with exit code [1]


There are incorrect permissions on some items: /media/storage/vhosts[ERROR]
To see more details, run the command in the verbose mode: plesk repair fs -verbose
Do you want to repair incorrect permissions? [Y/n]
Repairing incorrect permissions ................................. [2021-04-03 10:23:56.919] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/fsmng' '--set-ac' '/media/storage/vhosts'] with exit code [1]
[FAILED]
- fsmng failed: dpkg-query: no path found matching pattern
/media/storage/vhosts
ERROR:Command '['/usr/bin/dpkg', '-S',
'/media/storage/vhosts']' returned non-zero exit status 1

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

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


exit status 1
root@server:/home/wenxxxx# ls -la /opt/psa/admin/bin/fsmng
lrwxrwxrwx 1 root root 15 Mar 24 10:29 /opt/psa/admin/bin/fsmng -> ../sbin/wrapper
root@server:/home/wendelin# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
 
What's the next steps, As I'm getting these permissions issues AND I can't get Apache to start up again. I've been battling it for 6 hours

HTTPD startup gives me this -
httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/vhosts/<Domain>.com.conf: Permission denied
I've compared the permissions to another working server and it's all fine

Here's the permissions error referenced by the op
_____________________________________________
There are incorrect permissions on some items: /home/vhosts ....... [ERROR]
- fsmng failed: ERROR:Command '['/bin/rpm', '-qf',
'/home/vhosts', '--dump']' returned non-zero exit status 1
Repairing incorrect permissions ................................. [2021-04-04 09:28:12.389] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/fsmng' '--set-ac' '/home/vhosts'] with exit code [1]
[FAILED]
- fsmng failed: ERROR:Command '['/bin/rpm', '-qf',
'/home/vhosts', '--dump']' returned non-zero exit status 1
 
Back
Top