[FIX] Getting defpackagemng errors when logging into Plesk Control Panel

Article ID: 1160 
Last Review: Oct,6 2008
Author: Oleg Beznosov APPLIES TO:
  • Plesk 7 for Windows
  • Plesk 7.5.x for Windows
  • Plesk 7.5.6 for Windows
  • Plesk 7.5.5 for Windows
  • Plesk 7.6.x for Windows
  • Plesk 7.6.1 for Windows

Symptoms

When attempting to log into Plesk Control Panel the following error message is received:

DefPackageMng() constructor failed: defpackagemng failed: Access is denied.(Error code 5) at CreateProcess 'C:\\WINDOWS\\system32\\cmd.exe /c ""C:\\Plesk\\admin\\bin\\defpackagemng.exe" --get"' at execUtil C:\\Plesk\\admin\\bin\\defpackagemng.exe --get on C:\\Plesk\\admin(PleskSrvClient::execUtil line 420)at execute console command --get(vconsoleapp::start line 128) at execute C:\\Plesk\\/admin/bin/defpackagemng --get(vconsoleapp::run line 138)

Resolution

Such error occurs when Plesk Control Panel web server service cannot access the  C:\Windows\System32\cmd.exe ( C:\Windows\SysWOW64\cmd.exe on 64bit Windows version). This may happen when administrator has manually changes permissions to access the file. User SERVICE should have Read+Execute; Read on the file.

The following permissions should be set on cmd.exe

 - Administrators - Full Control
 -
System - Full Control
 - Service - Read+Execute; Read
 - Interactive - Read+Execute; Read

The file owner should also be administrator, otherwise it will not be possible to change these. File owner can be checked in file’s Properties, Security tab, Advanced button, Owner tab.


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.
* - required fields