2367366 - Diagnostics Agent does not start: ERROR => SfCreateShm: Shm in use by process <xxxx> | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2367366 - Diagnostics Agent does not start: ERROR => SfCreateShm: Shm in use by process <xxxx>

Symptom

The Diagnostics Agent doesn't start. In the dev_jstart.new file, you can see an error like below:

I  [Thr 01] MtxInit: 30002 0 2
F  [Thr 01] *** ERROR => SfCreateShm: Shm in use by process 787224. [jsfxxshm_mt. 1277]
F  [Thr 01] *** ERROR => SfEStartupError: SfCInstanceManager::initShm: SfCreateShm failed (rc = 13 already in use)  [sfxxinst.hpp 406]
F  [Thr 01] *** ERROR => Operation failed: SfEStartupError: SfCInstanceManager::initShm: SfCreateShm failed (rc = 13 already in use) [sfxxmain_mt. 1186]

F  ********************************************************************************
F  *** ERROR => Shared memory initialization failed.
F  ***
F  *** Please see section 'Instance initialization issues'
F  *** in SAP Note 1316652 for additional information and trouble shooting advice.
F  ********************************************************************************

F  [Thr 01] *** LOG => exiting (exitcode -21001, retcode 2).

This process number changes from case to case.


Read more...

Environment

Diagnostics Agent start-up.

Product

SAP Solution Manager 7.1

Keywords

Diagnostics Agent not starting Diagnostics Agent fails to start , KBA , SV-SMG-INS-DIA , Configuration of Root Cause Analysis related infrastructure , SV-SMG-DIA-SRV-AGT , Agent Framework , Problem

About this page

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

Search for additional results

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