fsmng utility fails to check permission on /var/lib/psa/dumps: ERR [util_exec] proc_close() failed with exit code [1]

Created:

2017-05-17 06:59:30 UTC

Modified:

2017-08-16 16:31:34 UTC

0

Was this article helpful?


Have more questions?

Submit a request

fsmng utility fails to check permission on /var/lib/psa/dumps: ERR [util_exec] proc_close() failed with exit code [1]

Applicable to:

  • Plesk Onyx 17.5 for Linux

Note: This article has the reference to the issue with the fix available:

Please consider updating your server:

Symptoms

  • The following errors are returned when executing a plesk repair fs utility:
    On RPM based OS:
    # plesk repair fs
    Checking Linux system files ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/fsmng' '--check-ac' '/var/lib/psa/dumps' '--perms' '0750' '--owner' 'psaadm' '--group' 'psaadm'] with exit cod [1]
    fsmng failed: ERROR:Command '['/bin/rpm', '-qf', '/var/lib/psa/dumps', '--dump']' returned non-zero exit status 1

    On DPKG based OS:
    # plesk repair fs
    Checking Linux system files ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/fsmng' '--check-ac' '/var/lib/psa/dumps' '--perms' '0750' '--owner' 'psaadm' '--group' 'psaadm'] with exit code [1]

    fsmng failed: ERROR:Cannot find deb-archive for package plesk-base (17.5.3-ubuntu16.04.build1705170317.16)
  • Errors in /var/log/plesk/panel.log:
    ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/fsmng' '--check-ac' '/var/lib/psa/dumps' '--perms' '0750' '--owner' 'psaadm' '--group' 'psaadm'] with exit code [1]
    ERR [1] '/opt/psa/admin/bin/fsmng' '--check-ac' '/var/lib/psa/dumps' '--perms' '0750' '--owner' 'psaadm' '--group' 'psaadm' failed with code 1.

Cause

This is Plesk bug with ID # PPP-28599 which is fixed in Plesk Onyx 17.8 Preview 1 .

Resolution

As a workaround, add /var/lib/psa/dumps line into /usr/local/psa/lib/modules/python/fsmng/fsmng_permission.py :

# cat /usr/local/psa/lib/modules/python/fsmng/fsmng_permissions.py | grep /var/lib/psa/dumps
    '/var/lib/psa/dumps': ('0750', 'psaadm', 'psaadm', FileStat.DIR),
Have more questions? Submit a request
Please sign in to leave a comment.