SAP Knowledge Base Article - Preview

2595246 - Sum is stopped in phase START-SCS-SHADOW during upgrade of AS JAVA system with error: Err=5 EIO*: Input/output error OR: Access is denied.

Symptom

Software Update Manager (SUM) is stopped in phase START-SCS-SHADOW during upgrade of AS JAVA system.

Directory sum/sdt/log/SUM:

TroubleTicket_06.Txt
An error occurred during the execution of Start shadow instance SCS of action pre-execute.
Service com.sap.sdt.j2ee.services.servicesimpl.EngineControllerService failed with the following message:

Could not start SAP instance with number 3.

For more information, see the log SUM\sdt\log\SUM\START-SCS-SHADOW_06.LOG.

Use the provided information to troubleshoot the problem. There might be a SAP Note providing a solution to this problem. Search the SAP Notes using the following search terms:

SWITCH, pre-execute, install-shadow, start-scs-shadow,com.sap.sdt.j2ee.services.servicesimpl.EngineControllerService, class com.sap.sdt.util.diag.DiagException
========================================================================

Directory sum/sdt/log/SUM:

SAPCONTROL_WAITFORSTARTED_4.OUT

22.01.2018 11:55:09

WaitforStarted

FAIL: process enserver.EXE EnqueueServer not running

=========================================================================

Directory sum/sdt/log/SUM:

START-SCS-SHADOW_06.LOG

Jan 23, 2018 3:12:05 PM [Info  ]: Process ID 864, name sapcontrol has been started.
Jan 23, 2018 3:12:05 PM [Info  ]:   Command line: SUM\sdt\data\kernel\sapcontrol -nr 3 -host hostname -user SC##\<SID>adm <SecureField> -prot NI_HTTP -function Start
Jan 23, 2018 3:12:05 PM [Info  ]:   Standard out: SUM\SAPCONTROL_START_3_06.OUT
Jan 23, 2018 3:12:05 PM [Info  ]: Process ID 864 has been started.
Jan 23, 2018 3:12:05 PM [Info  ]: Waiting for process ID 864, name sapcontrol to finish.
Jan 23, 2018 3:12:05 PM [Info  ]: Process ID 864, name sapcontrol has been finished, exit code 0.
Jan 23, 2018 3:12:05 PM [Info  ]: An instance start was triggered.
Jan 23, 2018 3:12:05 PM [Info  ]: Sent the start command to instance number 3 on host hostname with timeout of 7200 seconds.
Jan 23, 2018 3:12:05 PM [Info  ]: Process ID 865, name sapcontrol has been started.
Jan 23, 2018 3:12:05 PM [Info  ]:   Command line: SUM\sdt\data\kernel\sapcontrol -nr 3 -host hostname -user SC##\<SID>adm <SecureField> -prot NI_HTTP -function WaitforStarted 7200 5
Jan 23, 2018 3:12:05 PM [Info  ]:   Standard out: \SUM\sdt\log\SUM\SAPCONTROL_WAITFORSTARTED_3_06.OUT
Jan 23, 2018 3:12:05 PM [Info  ]: Process ID 865 has been started.
Jan 23, 2018 3:12:05 PM [Info  ]: Waiting for process ID 865, name sapcontrol to finish.
Jan 23, 2018 3:12:16 PM [Info  ]: Process ID 865, name sapcontrol has been finished, exit code 2.
Jan 23, 2018 3:12:16 PM [Error ]: Return code condition success evaluated to false for process sapcontrol for action wait for started.

Jan 23, 2018 3:12:16 PM [Error ]: The following problem has occurred during step execution: com.sap.sdt.util.diag.DiagException: Could not start SAP instance with number

=============================================================================

Directory: usr/sap/<SID>/<xx>/work:

In dev_enqsrv:

I  [Thr 7048] MtxInit: 10000 0 2
I  [Thr 7048] *** ERROR => [AttachOsShm] OpenFileMapping(FILE_MAP_ALL_ACCESS,FALSE,Global\SAP_SYSTEM_SHM_1_79) failed with Err=5 EIO*: Input/output error OR: Access is denied. [shmnt0.c     2263]
I  [Thr 7048] *** ERROR => ShmCreate: Attach (79,4096,2) failed [shmnt0.c     440]
F  [Thr 7048] *** ERROR => JsfOpenShm2: ShmCreate(79, 4096, ATTACH) failed (rc = 1 general error) [jsfxxshm.c   1549]
F  [Thr 7048] *** ERROR => SfEStartupError: SfCControlClient::SfCControlClient: JsfOpenShm failed (rc = 4 object not found)  [sfxxcli.hpp  112]
F  [Thr 7048] *** ERROR => Operation failed: SfEStartupError: JsfOpenShm failed (rc = 4 object not found)[sfxxmain.cpp 1173]

or

[Thr 3300] *** ERROR => [AttachOsShm] OpenFileMapping(FILE_MAP_ALL_ACCESS,FALSE,Global\SAP_SYSTEM_SHM_5_5) failed with Err=5 EIO*: Input/output error OR: Access is denied. [shmnt.c 2267]

[Thr 3300] *** ERROR => ShmCreate: Attach (5,4096,2) failed [shmnt.c 440]
[Thr 3300] initialize_global: Enqueue server started WITHOUT replication functionality

[Thr 3300] Mon Jan 22 11:35:23 2018

[Thr 3300] Enqueue: EnqMemStartupAction Utc=1516601123, attach_only=0
[Thr 3300] *** ERROR => [AttachOsShm] OpenFileMapping(FILE_MAP_ALL_ACCESS,FALSE,Global\SAP_SYSTEM_SHM_5_37) failed with Err=5
EIO*: Input/output error OR: Access is denied. [shmnt.c 2267]
[Thr 3300] *** ERROR => ShmCreate: Attach (37,67136,2) failed [shmnt.c 440]
[Thr 3300] *** ERROR => CrtOsSemAdm: Semaphore Admin. Table not created [semnt.c 1947]
[Thr 3300] *** ERROR => SemInMgt: Create Global Admin.Table failed [semnt.c 503]
[Thr 3300] *** ERROR => SemInit: Semaphore Admin. Table not initialized (Key=26) [semnt.c 755]
[Thr 3300] ***LOG GEF=> [enxxmini.h 398]
[Thr 3300] ***LOG GZZ=> Initialization of semaphore failed [enxxmini.h 399]
[Thr 3300] ***LOG GZZ=> ENSA: PID = XXX [enservglob.c 839]
[Thr 3300] *** ERROR => initialize_global: failed to initialize the enqueue table: rc=8
[enservglob.c 842]
[Thr 3300] *** ERROR => main: Server initialisation failed!
Errortext:"error at server initialisation detected at D:/depot/bas/74X_REL:XXX Errorinfo: "initialize_global: failed to initialize the enqueue table: rc=8
"" [enservmain.c 251]


Read more...

Environment

  • Software update Manager for JAVA system
  • Windows environment

Product

SAP enhancement package 1 for SAP NetWeaver 7.0

Keywords

AS JAVA stopped with error  FILE_MAP_ALL_ACCESS, SAP_SYSTEM_SHM, failed with Err=5, Input/output error, Access is denied, JsfOpenShm failed, Shared memory initialization failed, Enqueue, dev_enqsrv, AttachOsShm, ShmCreate, ENSA , KBA , BC-UPG-TLS-TLJ , Upgrade tools for Java , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , BC-CST-EQ , Enqueue , 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.