SBDavid
Aug 17th, 2009
Aug 17th, 2009
defpackagemng failed: Access is denied.
defpackagemng failed: Access is denied.
If you are getting the following error when logging into Plesk control panel (Windows) :
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)
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)
Solution:
This error occurs when Plesk Control Panel service Apache can’t access to C:\Windows\System32\cmd.exe. This may happen when administrator manually changes permissions on file system. User SERVICE should have Read+Execute; Read on the file.
>> The following permissions should be set on ‘cmd.exe’ to make server work properly:
Administrators - Full Control
System - Full Control
Service - Read+Execute; Read
Interactive - Read+Execute; Read
System - Full Control
Service - Read+Execute; Read
Interactive - Read+Execute; Read
Restart the plesk service. Try login again.