cancel
Showing results for 
Search instead for 
Did you mean: 

CE7.2 server not starting - Windows XP (SP2)

i042339
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi, I have installed the CE7.2 server trial version on a 32 bit system (windows XP Professional SP2). I think as per the server requirement, it is matching the requirement. Also installation was sucessful and there was no error. But when i am starting the server, it is not starting up (Status - yellow - some processes are running).

When I check the trace file(dev_server0), there is error related to 'Java VM shared library issues'

Please let me know, if anybody has any idea about solving this issue.

Total physical memory - 4 GB

Regards

Satya

Thu Jun 03 10:54:22 2010

F ********************************************************************************

F Java environment properties

F root directory : C:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_6.1.007/sapjvm_6

F vendor : SAP AG

F version : 1.6.0_07

F cpu : x86

F java vm type : server

F java vm version : 6.1.007

F jvm library name : jvm.dll

F library path : C:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_6.1.007\sapjvm_6\jre\bin\server;C:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_6.1.007\sapjvm_6\jre\bin

F executable path : C:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_6.1.007\sapjvm_6\bin

F SAP extensions : available

F ********************************************************************************

I [Thr 1956] MtxInit: 10002 0 2

I [Thr 1956] MPI: dynamic quotas disabled.

I [Thr 1956] MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%

I [Thr 1956] *** ERROR => [MapOsShm] Can't find free space for Shared Memory (Size=84239 KB)

[shmnt0.c 2249]

I [Thr 1956] *** ERROR => [AttachOsShm] MapViewOfFile(Key=62,Handle=0x000005C8) failed with Err=0

[shmnt0.c 2249]

I [Thr 1956] *** ERROR => ShmCreate: Attach (62,86260736,2) failed [shmnt0.c 426]

I [Thr 1956] *** ERROR => ShmCreate( ATTACH 62, 86260728) failed 1 [mpixx.c 1064]

I [Thr 1956] *** ERROR => FcaInit: MpiInit failed (rc=MPI_ERROR: General error(1)) [fcaxxcomm.c 928]

I [Thr 1956] *** ERROR => JfcaInit(): Native FCA layer broken: 1 **unknown error occurred** [sfxxjfca.c 5264]

F [Thr 1956] *** ERROR => SfCSapVm::initJniClasses: com.sap.bc.proj.jstartup.fca.FCAProperties::mInit() failed (rc = 1) [sfxxjvm.hpp 362]

F [Thr 1956] *** ERROR => SfEInternalError: JNI class init failed [sfxxjvm.hpp 373]

F [Thr 1956] *** ERROR => Operation failed: SfEInternalError: JNI class init failed

[sfxxmain.cpp 1171]

F

F ********************************************************************************

F *** ERROR =>

F ***

F *** Please see section 'Java VM shared library issues'

F *** in SAP Note 1316652 for additional information and trouble shooting advice.

F ********************************************************************************

F

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Please follow below steps.

: Go to my computer-->right click >properties>advanced tab>environmental variables>in system variables below>click newatab>here u have to give varaible name> java_home-> variable value is>whatever u installed in javafile> please take that path > paste there.e:g: (c:j2sdk1.4.2-64)> after that u can restart the server.

1. Take a backup of the instance profile and add

jstartup/vm/home = C:\j2sdk1.4.2_17

2. SET JAVA_HOME to C:\j2sdk1.4.2_17

3. Remove

/usr/sap/<SID>/<INSTANCE>/j2ee/cluster/instance.properties.vmprop

/usr/sap/<SID>/<INSTANCE>/SDM/program/config/sdm_jstartup.properties.vmprop

4. Start SAP

STEP:2

Please check if you have set enough Virtual Memory.

For every SAP System to run properly, it needs 20 GB of virtual memory.

Right Click on Mycomputer->Properties->Advanced Tab-> Setting of Virtual Memory-> Advanced Tab-> Click on Change Virtual Memory-> Select the Drive you have installed SAP-> Select Custom Size and enter Intial and Max Size as 20480.

This will be the value if you have installed only one SAP System on this machine on this drive

IF U WANT MORE DETAILS PLEASE CHECK THIS BELOW NOTE

Same symptom is referred to in Note 940893.

REGARDS,

K.Ramamoorthy

Former Member
0 Kudos

Hi,<br>

Please check if you have set enough Virtual Memory.<br>

For every SAP System to run properly, it needs 20 GB of virtual memory.<br>

Right Click on Mycomputer->Properties->Advanced Tab-> Setting of Virtual Memory-> Advanced Tab-> Click on Change Virtual Memory-> Select the Drive you have installed SAP-> Select Custom Size and enter Intial and Max Size as 20480.<br>

This will be the value if you have installed only one SAP System on this machine on this drive.<br>

<br>

Thanks<br>

<br>

Jaianandh V

Former Member
0 Kudos

Check this blog too /people/anilkumar.vippagunta2/blog/2010/11/24/shared-memory-issues-during-nw-ce-72-start-up

Anil

Former Member
0 Kudos

Hye to All,

We have also downloaded CE 7.2 90 days trial Version. I tried different SAP notes provided at SERVICE MARKET PLACE, but still facing the same problem.

1) I made changes to heap size as per specification given here......

http://help.sap.com/saphelp_nwce71/helpdata/en/43/73949862c16fcbe10000000a1553f6/content.htm

2) I Made changes in BOOT.ini as well.

SYStem specifications are

RAM of my system is 2 GB.

I also tried witth 3 GB RAM but same problem.

32 bit system (windows XP Professional SP3).

Installation was sucessful and there was no error. But when i am starting the server, it is not starting up (Status - yellow - some processes are running).

When I check the trace file(dev_server0), there is error related to 'Java VM shared library issues'

Please let me know, if anybody has any idea about solving this issue.

Regards,

AJAY TOMAR

This is DEVELOPER TRACE

.............................................................

trc file: "dev_server0", trc level: 1, release: "720"

.............................................................

Tue Nov 30 15:31:16 2010

F ********************************************************************************

F Java environment properties

F root directory : D:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_6.1.007/sapjvm_6

F vendor : SAP AG

F version : 1.6.0_07

F cpu : x86

F java vm type : server

F java vm version : 6.1.007

F jvm library name : jvm.dll

F library path : D:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_6.1.007\sapjvm_6\jre\bin\server;D:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_6.1.007\sapjvm_6\jre\bin

F executable path : D:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_6.1.007\sapjvm_6\bin

F SAP extensions : available

F ********************************************************************************

I [Thr 888] MtxInit: 10002 0 2

I [Thr 888] MPI: dynamic quotas disabled.

I [Thr 888] MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%

I

I [Thr 888] Tue Nov 30 15:31:17 2010

I [Thr 888] *** ERROR => [MapOsShm] Can't find free space for Shared Memory (Size=84239 KB)

[shmnt0.c 2249]

I [Thr 888] *** ERROR => [AttachOsShm] MapViewOfFile(Key=62,Handle=0x00000520) failed with Err=0

[shmnt0.c 2249]

I [Thr 888] *** ERROR => ShmCreate: Attach (62,86260736,2) failed [shmnt0.c 426]

I [Thr 888] *** ERROR => ShmCreate( ATTACH 62, 86260728) failed 1 [mpixx.c 1064]

I [Thr 888] *** ERROR => FcaInit: MpiInit failed (rc=MPI_ERROR: General error(1)) [fcaxxcomm.c 928]

I [Thr 888] *** ERROR => JfcaInit(): Native FCA layer broken: 1 **unknown error occurred** [sfxxjfca.c 5264]

F [Thr 888] *** ERROR => SfCSapVm::initJniClasses: com.sap.bc.proj.jstartup.fca.FCAProperties::mInit() failed (rc = 1) [sfxxjvm.hpp 362]

F [Thr 888] *** ERROR => SfEInternalError: JNI class init failed [sfxxjvm.hpp 373]

F [Thr 888] *** ERROR => Operation failed: SfEInternalError: JNI class init failed

[sfxxmain.cpp 1171]

F

F ********************************************************************************

F *** ERROR =>

F ***

F *** Please see section 'Java VM shared library issues'

F *** in SAP Note 1316652 for additional information and trouble shooting advice.

F ********************************************************************************

F

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

PLZ help me.

Former Member
0 Kudos

I am having this problem also. I have tried installing CE7,1 and CE7.2 on XP and Windoows 2003 and always the problem is the same. The instance is yellow and says it is started but the instance stays yellow

Former Member
0 Kudos

Your Error:

ERROR => [MapOsShm] Can't find free space for Shared Memory (Size=84239 KB) [shmnt0.c 2249] I [Thr 1956] *** ERROR => [AttachOsShm] MapViewOfFile(Key=62,Handle=0x000005C8) failed with Err=0 [shmnt0.c 2249] I [Thr 1956] *** ERROR => ShmCreate: Attach (62,86260736,2) failed [shmnt0.c 426] I [Thr 1956] *** ERROR => ShmCreate( ATTACH 62, 86260728) failed 1 [mpixx.c 1064] I [Thr 1956]

You need follow this as you are in Windows XP 32 Bit.

The defined heap is too big; there is not enough contiguous virtual address space to allocate the heap. For Windows systems, Note 835704 provides additional information. You can use the address space viewer (Note 736462 or Note 129813) and preload DLL (Note 853696) to resolve this issue.

All the best !