When I launching the updater, it gives the following error: "Warning: Error: Can't create directory psa."

Article ID: 1791 
Last Review: Oct,6 2008
Author: APPLIES TO:
  • Plesk 8.x for Linux/Unix

Symptoms

If you run the updater tool from the Plesk CP it returns the error:

     Warning: Error: Can't create directory //psa/.

However it works fine from the command line.

Cause

When you run updater tool from the Plesk CP, it gets 'root' privileges by means of 'wrapper' utility that has 'SUID' bit set. If updater gets the permission error, most probably it was not able to get 'root' privileges due to 'SUID' bit absence.

Resolution

Make sure that $PRODUCT_ROOT_D/admin/sbin/wrapper binary has right permissions as listed below:

# ls -la /usr/local/psa/admin/sbin/wrapper ---s--x---  1 root psaadm 13632 Jun 13  2006 /usr/local/psa/admin/sbin/wrapper
  If not, you should correct it with the command:
# chmod 4110 /usr/local/psa/admin/sbin/wrapper


Also make sure that /usr/local/psa/admin/bin/autoinstaller is a symlink to /usr/local/psa/admin/sbin/wrapper :

# ls -la /usr/local/psa/admin/bin/autoinstaller
lrwxr-xr-x  1 root  psaadm  15 Jul 16 14:59 /usr/local/psa/admin/bin/autoinstaller -> ../sbin/wrapper


Keywords: denied
Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
captcha *Please type the code you can see.
* - required fields