Plesk shows: Unable to execute application exception: 0xc0000005

Refers to:

  • Plesk 11.0 for Windows
  • Plesk 11.5 for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows
  • Plesk 10.x and below for Windows
  • MT:2ac835c69fcd696273e8133d510420f7
  • MG:7b54746e3d13de40976d124b7fd47566
  • MT:4d633d0a8d5a310f2e5cc59dc8b64a0d

Created:

2016-11-16 13:00:58 UTC

Modified:

2017-02-13 06:12:50 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk shows: Unable to execute application exception: 0xc0000005

Symptoms

  1. Unable to start Plesk Management service:

    C structured exception: 0xc0000005
    at Plesk impersonation(PipeServer::ServerThread::runAs line 886)
    at Unable to execute application:(zif_plesk_proc_open line 1274)#0 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\common_func.php3(1339): plesk_proc_open('"C:\\Program Fil...', Array

    Or the following error:

        Error: C structured exception: 0xc0000005
    at Plesk impersonation(PipeServer::ServerThread::runAs line 886)
    at Unable to execute application:(zif_plesk_proc_open line 1274)
  2. Defpackagemng.exe utility fails with error:

    "%plesk_bin%\\defpackagemng" --help 
    C structured exception: 0xc0000005
  3. It is not possible to open Services Management in Plesk > Tools & Settings > Services Management , the following error appears:

    C structured exception: 0xc0000005
    ---------------------- Debug Info -------------------------------
    0: common_func.php3:1198
    plesk_exec(string '"C:\\Program Files (x86)\\Parallels\\Plesk\\/admin/bin/defpackagemng" --get-services-state', array, integer '1')
    1: common_func.php3:1198
    lst_exec(string '"C:\\Program Files (x86)\\Parallels\\Plesk\\/admin/bin/defpackagemng" --get-services-state')
    2: common_func.php3:1110
    util_exec(string 'defpackagemng', array, string 'lst', string 'C:\\Program Files (x86)\\Parallels\\Plesk\\/admin/bin')
    3: common_func.php3:1065
    smart_exec(string 'defpackagemng', array, string 'lst')
    4: DefPackageMng.php:43
    DefPackageMng->_call(string 'get-services-state')
    5: DefPackageMng.php:187
    DefPackageMng->getServicesState()
    6: class.ServiceControl.php:149
    ServiceControl->parsePackageInfo()
    7: class.ServiceControl.php:228
    ServiceControl->getServicesList()
    8: class.RestartServForm.php:200
    ServicesList->fetchServicesList()
    9: cList.php:91
    cList->fetchList()
    10: cList.php:110
    cList->init()
    11: restart_services.php:35
    require(string 'C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\htdocs\\server\\restart_services.php')
    12: plesk.php:66
  4. In Event Viewer > Plesk following error can be found:

    Unable to process impersonate run as command: C structured exception: 0xc0000005
    Execute file name: C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\plesksrv.exe
  5. In C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\logs\\php_error.log following error can be found:

    [2016-03-21 12:05:23] ERR [panel] C structured exception: 0xc0000005:
    0: vz.php:23
    is_virtuozzo()
    1: vz.php:23
    vz::is_virtuozzo()
    2: visibility.php:64
    getVisibilitySets()
    3: visibility.php:325
    isControlSetVisible(string 'product_copyrights')
    4: class.NavigationForm.php:119
    NavigationForm->_getCopyrights()
    5: class.NavigationForm.php:52
    NavigationForm->assign(array, string 'home')
    6: left.php3:31
    [2016-03-21 12:05:23] Exception: C structured exception: 0xc0000005
    file: C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\vz.php
    line: 23
    code: 0
    trace: #0 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\vz.php(23): is_virtuozzo()
    #1 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\visibility.php(64): vz::is_virtuozzo()
    #2 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\visibility.php(325): getVisibilitySets()
    #3 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\class.NavigationForm.php(119): isControlSetVisible('product_copyrig...')
    #4 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\class.NavigationForm.php(52): NavigationForm->_getCopyrights()
    #5 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\htdocs\\left.php3(31): NavigationForm->assign(Array, 'home')
    #6 {main}

Cause

System cannot execute command under Plesk user psaadm , because executable is broken or does not contain necessary permissions. In particular case plesksrv.exe does not contain permissions for psaadm user. Such issue may take a place when server is infected by viruses or Windows system is broken.

Resolution

  1. Open directory %plesk_bin%
  2. Check permissions and security settings for plesksrv.exe : right click on 'plesksrv.exe > security'
  3. Make sure that plesksrv.exe has following permissions:
    psaadm , psacln : Read and Execute
    System and Administrator : Full Control
  4. Check system by antivirus program.
Have more questions? Submit a request
Please sign in to leave a comment.