SAP Knowledge Base Article - Preview

2350982 - AS Java Not Starting Can't load VM shared library

Symptom

When trying to start the Java application server and the SDM, server node or dispatcher node is not starting.
In the logs you can see a similar error to either one of the below errors:

Netweaver 7.0 System:

dev_jcontrol:

ERROR => DlLoadLib()==DLENOACCESS - dlopen("libjvm.so") FAILED
"Could not load module .
System error: No such file or directory" (errno=2,No such file or directory)
*** ERROR => Can't load VM shared library (libjvm.so) (rc=-2)
**********************************************************************
*** ERROR => Cannot load the Java VM shared library.

Netweaver 7.3 system:

dev_jstart:

*** ERROR => SfEStartupError: Java VM detection failed. 
*** ERROR => Initialization failed: SfEStartupError: Java VM detection failed.
********************************************************************************
*** ERROR => Cannot find Java binaries directory 'C:\usr\sap\COL\J00\exe\sapjvm_6\SAP\bin'.

dev_server<x>

F [Thr 140056344418144] *** ERROR => JsfOpenShm2: ShmCreate(79, 4096, ATTACH) failed (rc = 3 SHM segment doesn't exist) [jsfxxshm_mt. 1538]
F [Thr 140056344418144] *** ERROR => SfEStartupError: SfCControlClient::SfCControlClient: JsfOpenShm failed (rc = 4 object not found) [sfxxcli.hpp 112]
F [Thr 140056344418144] *** ERROR => Operation failed: SfEStartupError: JsfOpenShm failed (rc = 4 object not found)
[sfxxmain_mt. 1190]
F
F *****************************************************************


Read more...

Environment

  • Release Independent
  • SAP NetWeaver

Product

SAP NetWeaver 2004 ; SAP NetWeaver 7.0 ; SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

DlLoadLib, DLENOACCESS dlopen libjvm.so FAILED libjvm.so shared object startup Java VM detection Initialization binaries directory rc 2 JsfOpenShm failed SHM segment doesn't exist Shared memory initialization failed , KBA , BC-JAS-SF , Startup Framework , BC-JAS-COR , Enterprise Runtime, Core J2EE 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.