Plesk: componentUpdate failed: Unable to exec utility packagemng

You 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/packagemng
lrwxrwxrwx 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.

4110
This entry was posted on Sunday, April 17th, 2011 and is filed under Plesk Management. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

2 Responses to “Plesk: componentUpdate failed: Unable to exec utility packagemng”

  1. Raymond

    Many thanks!

    had to do a chmod 4777 swapper to solve this problem…

  2. Saloob

    Champion!