Quantcast
Channel: Hosting Controller – System Network Programming Solution
Viewing all articles
Browse latest Browse all 187

Plesk: componentUpdate failed: Unable to exec utility packagemng

$
0
0

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 15 Jan 01 01:01 /usr/local/psa/admin/bin/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 19760 Jan 01 05:20 /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 /usr/local/psa/admin/sbin/wrapper

Once done, you should be able to access the Plesk control panel.


Viewing all articles
Browse latest Browse all 187

Trending Articles