SAP Knowledge Base Article - Preview

2315186 - Server won't start with error "NT operating system error 5" and "Access is denied" - SAP ASE


  • An ASE server on Windows can't start with permission error on shared memory:

kernel Allocating a shared memory segment of size 183115776 bytes.
kernel NT operating system error 5 in module ’winx64\ksource\blkmem\osmntmmap.c' at line 605: Access is denied.
kernel os_create_region: CreateFileMapping for file 'D:\sybase\SY1\ASE-16_0\SY1.krg' on mapping 'Global\SY1.krg' failed.
kernel kbcreate: couldn't create kernel region.
kernel kistartup: could not create shared memory

  • The error can occur when ASE is automatically restarted via Windows Service or if starting manually using RUN_Server file (RUN_servername.bat)



  • SAP Adaptive Server Enterprise (ASE)
  • Windows OS


SAP Adaptive Server Enterprise 12.5 ; SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0


KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.