ch_owner failed: file does not exist or is not executable: /usr/local/psa/admin/bin/ch_owner

Created:

2016-11-16 13:12:20 UTC

Modified:

2017-04-24 11:43:11 UTC

0

Was this article helpful?


Have more questions?

Submit a request

ch_owner failed: file does not exist or is not executable: /usr/local/psa/admin/bin/ch_owner

Applicable to:

  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux

Symptoms

When you try to change admin password through Plesk, the following error appears:

Error: Unable to change the administrator's password: ch_owner failed: file does not exist or is not executable: /usr/local/psa/admin/bin/ch_owner

Cause

  1. Permissions are not correct for /usr/local/psa/admin/bin/ch_owner .

  2. 'fs.enforce_symlinksifowner' is set to 1 by default. It effectively disables ability to run Plesk's wrapper.

    # grep sym /etc/sysctl.conf
    fs.enforce_symlinksifowner = 1
    fs.symlinkown_gid = 503

Resolution

  1. Check permissions for mentioned file, they should look as below:

    # ll /usr/local/psa/admin/bin/ch_owner
    lrwxrwxrwx 1 psaadm psaadm 15 Dec 26 15:22 /usr/local/psa/admin/bin/ch_owner -> ../sbin/wrapper
  2. Disable 'fs.enforce_symlinksifowner' (setting it to "0"):

    # grep sym /etc/sysctl.conf
    fs.enforce_symlinksifowner = 0
    fs.symlinkown_gid = 503
Have more questions? Submit a request
Please sign in to leave a comment.