Plesk: componentUpdate failed: Unable to exec utility packagemng
April 17, 2011 | Posted byYou may see an “Unable to exec utility packagemng” error message while accessing the Plesk control panel. The error generally occurs after performing a Plesk control panel upgrade and the complete error message looks like follows:
Components::componentUpdate() failed: Unable to exec utility
packagemng: file does not exist or is not executable:
/usr/local/psa/admin/bin/packagemng 0: auth.php3:551
This is due to the “packagemng” file is symlinked to the “wrapper” file and the ‘wrapper’ file don’t have the executable permissions for it’s group user “psaadm”.
The permissions of ‘packagemng’ file are (symlink):
# ls -la /usr/local/psa/admin/bin/packagemnglrwxrwxrwx 1 psaadm psaadm Jan 01 packagemng -> ../sbin/wrapper
In my case the permissions of wrapper file were ( there was no executable permission)
# ls -la /usr/local/psa/admin/sbin/wrapper
---s------ 1 root psaadm Jan 01 /usr/local/psa/admin/sbin/wrapper
The correct permissions of the wrapper files are ( —s–x— ) which can be set using the following command:
# chmod 4110 /usr/local/psa/admin/sbin/wrapper
so it should look like
---s--x--- 1 root psaadm 19760 Jan 01 05:20 wrapper
Once done, you should be able to access the Plesk control panel.