on 07-12-2010 8:09 AM
Hi,
I installed a double stack (ABAP+Java) instance for ECC6.0 and PI 7.0 (unicode 32 bit) with oracle 10.2 database runing on windows 2003 server SP2. After i applied sp15 for PI successfuly and restarted the jee server, i could not log on to the java instance anymore.
I checked that the MMC has the status "green" in the "process list" for all processes, and could not find error under SAP folder "D:\usr\sap\<SID>\DVEBMGS00\work". Just under "D:\usr\sap\<SID>\SCS01\work",there are some error message in the file dev_enqsrv and dev_enq.old:
-
trc file: "dev_enqsrv", trc level: 1, release: "700"
-
[Thr 2260] *** ERROR => ShmDelete: Invalid shared memory Key=34. [shmnt.c 719]
[Thr 2260] *** ERROR => ShmCleanup: ShmDelete failed for Key:34. [shmnt.c 793]
[Thr 2260] initialize_global: enqueue server without replication
[Thr 2260] Enqueue: EnqMemStartupAction Utc=1278916956
[Thr 2260] Enqueue Info: replication enabled
[Thr 2260] Enqueue Info: enque/replication_dll not set
-
trc file: "dev_enqsrv", trc level: 1, release: "700"
-
[Thr 5648] Mon Jul 12 14:38:28 2010
[Thr 5648] stopAllThreads: stop Thread worker thread ...[Thr 5648] done
[Thr 5648] stopAllThreads: stop Thread Listener thread ...[Thr 5648] done
[Thr 5648] stopAllThreads: stop Thread IOThread_0 ...[Thr 5648] done
[Thr 5648] stopAllThreads: stop Thread ADM-thread ...[Thr 5648] stopAllThreads: stop ADM-thread not implemented. Hard kill
[Thr 5648] *** ERROR => ShmDelete: Invalid shared memory Key=1. [shmnt.c 719]
[Thr 5648] *** ERROR => ShmCleanup: ShmDelete failed for Key:1. [shmnt.c 793]
[Thr 5648] *** ERROR => ShmDelete: Invalid shared memory Key=2. [shmnt.c 719]
[Thr 5648] *** ERROR => ShmCleanup: ShmDelete failed for Key:2. [shmnt.c 793]
[Thr 5648] *** ERROR => ShmDelete: Invalid shared memory Key=3. [shmnt.c 719]
[Thr 5648] *** ERROR => ShmCleanup: ShmDelete failed for Key:3. [shmnt.c 793]
[Thr 5648] *** ERROR => ShmDelete: Invalid shared memory Key=4. [shmnt.c 719]
[Thr 5648] *** ERROR => ShmCleanup: ShmDelete failed for Key:4. [shmnt.c 793]
[Thr 5648] *** ERROR => ShmDelete: Invalid shared memory Key=6. [shmnt.c 719]
[Thr 5648] *** ERROR => ShmCleanup: ShmDelete failed for Key:6. [shmnt.c 793]
[Thr 5648] *** ERROR => ShmDelete: Invalid shared memory Key=7. [shmnt.c 719]
[Thr 5648] *** ERROR => ShmCleanup: ShmDelete failed for Key:7. [shmnt.c 793]
[Thr 5648] *** ERROR => ShmDelete: Invalid shared memory Key=8. [shmnt.c 719]
[Thr 5648] *** ERROR => ShmCleanup: ShmDelete failed for Key:8. [shmnt.c 793]
[Thr 5648] *** ERROR => ShmDelete: Invalid shared memory Key=9. [shmnt.c 719]
[Thr 5648] *** ERROR => ShmCleanup: ShmDelete failed for Key:9. [shmnt.c 793]
[Thr 5648] *** ERROR => ShmDelete: Invalid shared memory Key=10. [shmnt.c 719]
[Thr 5648] *** ERROR => ShmCleanup: ShmDelete failed for Key:10. [shmnt.c 793]
[Thr 5648] *** ERROR => ShmDelete: Invalid shared memory Key=11. [shmnt.c 719]
[Thr 5648] *** ERROR => ShmCleanup: ShmDelete failed for Key:11. [shmnt.c 793]
[Thr 5648] *** ERROR => ShmDelete: Invalid shared memory Key=12. [shmnt.c 719]
[Thr 5648] *** ERROR => ShmCleanup: ShmDelete failed for Key:12. [shmnt.c 793]
[Thr 5648] *** ERROR => ShmDelete: Invalid shared memory Key=13. [shmnt.c 719]
[...........................................
[Thr 5648] *** ERROR => ShmCleanup: ShmDelete failed for Key:82. [shmnt.c 793]
[Thr 5648] ***LOG GEZ=> Server shutdown (normal shutdown) [encllog.cpp 493]
[Thr 5648] Enqueue server: normal shutdown
Java version the system used is 1.4.2_17.
Any suggestions/comments would be appreciated.
Thanks!
Joseph
Can you post the entire log? I had a similar issue, where the firewall was blocking the port of the message server..
Do you see something like WSAECONNRESET in the log?
Kind regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Mark!
I tested that the message server 3600 works, also the http port 50000 works.
I did not find anything like "WSAECONNRESET" in log file.
Would you like to check which log file? I post the dev_server0 for your reference.
-
trc file: "D:\usr\sap\<SID>\DVEBMGS00\work\dev_server0", trc level: 1, release: "700"
-
node name : ID4062350
pid : 2232
system name : <SID>
system nr. : 00
started at : Mon Jul 12 16:11:20 2010
arguments :
arg[00] : D:\usr\sap\<SID>\DVEBMGS00\exe\jlaunch.exe
arg[01] : pf=D:\usr\sap\<SID>\SYS\profile\<SID>_DVEBMGS00_<HOSTNAME>
arg[02] : -DSAPINFO=<SID>_00_server
arg[03] : pf=D:\usr\sap\<SID>\SYS\profile\<SID>_DVEBMGS00_<HOSTNAME>
arg[04] : -DSAPSTART=1
arg[05] : -DCONNECT_PORT=64999
arg[06] : -DSAPSYSTEM=00
arg[07] : -DSAPSYSTEMNAME=<SID>
arg[08] : -DSAPMYNAME=<HOSTNAME>_<SID>_00
arg[09] : -DSAPPROFILE=D:\usr\sap\<SID>\SYS\profile\<SID>_DVEBMGS00_<HOSTNAME>
arg[10] : -DFRFC_FALLBACK=ON
arg[11] : -DFRFC_FALLBACK_HOST=localhost
[Thr 2228] Mon Jul 12 16:11:20 2010
[Thr 2228] *** WARNING => INFO: Unknown property [instance.box.number=<SID>DVEBMGS00<HOSTNAME>] [jstartxx.c 841]
[Thr 2228] *** WARNING => INFO: Unknown property [instance.en.host=<HOSTNAME>] [jstartxx.c 841]
[Thr 2228] *** WARNING => INFO: Unknown property [instance.en.port=3201] [jstartxx.c 841]
[Thr 2228] *** WARNING => INFO: Unknown property [instance.system.id=0] [jstartxx.c 841]
**********************************************************************
JStartupReadInstanceProperties: read instance properties [D:\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\instance.properties]
-> ms host : <HOSTNAME>
-> ms port : 3901
-> OS libs : D:\usr\sap\<SID>\DVEBMGS00\j2ee\os_libs
-> Admin URL :
-> run mode : safe
-> run action : UPGRADE
-> enabled : yes
**********************************************************************
**********************************************************************
Used property files
-> files [00] : D:\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\instance.properties
**********************************************************************
**********************************************************************
Instance properties
-> ms host : <HOSTNAME>
-> ms port : 3901
-> os libs : D:\usr\sap\<SID>\DVEBMGS00\j2ee\os_libs
-> admin URL :
-> run mode : safe
-> run action : UPGRADE
-> enabled : yes
**********************************************************************
**********************************************************************
Bootstrap nodes
-> [00] bootstrap : D:\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\instance.properties
-> [01] bootstrap_ID4062300 : D:\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\instance.properties
-> [02] bootstrap_ID4062350 : D:\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\instance.properties
**********************************************************************
**********************************************************************
Worker nodes
-> [00] ID4062300 : D:\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\instance.properties
-> [01] ID4062350 : D:\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\instance.properties
**********************************************************************
[Thr 2228] JLaunchRequestQueueInit: create named pipe for ipc
[Thr 2228] JLaunchRequestQueueInit: create pipe listener thread
[Thr 2616] JLaunchRequestFunc: Thread 2616 started as listener thread for np messages.
[Thr 1304] WaitSyncSemThread: Thread 1304 started as semaphore monitor thread.
[Thr 2228] NiInit3: NI already initialized; param 'maxHandles' ignored (1;2002)
[Thr 2228] CPIC (version=700.2009.02.11)
[Thr 2228] [Node: server0] java home is set by profile parameter
Java Home: C:\j2sdk1.4.2_17
[Thr 2228] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\<SID>\DVEBMGS00\exe\jvmx.jar
**********************************************************************
JStartupIReadSection: read node properties [ID4062350]
-> node name : server0
-> node type : server
-> node execute : yes
-> jlaunch parameters :
-> java path : C:\j2sdk1.4.2_17
-> java parameters : -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -Djco.jarm=1 -XX:MaxPermSize=256M -XX:PermSize=256M -XX:NewSize=171M -XX:MaxNewSize=171M -XX:DisableExplicitGC -verbose:gc -Xloggc:GC.log -XX:PrintGCDetails -XX:+PrintGCTimeStamps -Djava.awt.headless=true -Dsun.io.useCanonCaches=false -XX:SoftRefLRUPolicyMSPerMB=1 -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer -Dstartup.mode=SAFE -Dstartup.action=UPGRADE
-> java vm version : 1.4.2_17-b06
-> java vm vendor : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
-> java vm type : server
-> java vm cpu : x86
-> heap size : 1024M
-> init heap size : 1024M
-> root path : D:\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\server0
-> class path : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
-> OS libs path : D:\usr\sap\<SID>\DVEBMGS00\j2ee\os_libs
-> main class : com.sap.engine.boot.Start
-> framework class : com.sap.bc.proj.jstartup.JStartupFramework
-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives
-> framework path : D:\usr\sap\<SID>\DVEBMGS00\exe\jstartup.jar;D:\usr\sap\<SID>\DVEBMGS00\exe\jvmx.jar
-> shutdown class : com.sap.engine.boot.Start
-> parameters :
-> debuggable : no
-> debug mode : no
-> debug port : 50021
-> shutdown timeout : 120000
**********************************************************************
[Thr 2228] JLaunchISetDebugMode: set debug mode [no]
[Thr 3024] JLaunchIStartFunc: Thread 3024 started as Java VM thread.
**********************************************************************
JHVM_LoadJavaVM: VM Arguments of node [server0]
-> stack : 262144 Bytes
-> arg[ 0]: exit
-> arg[ 1]: abort
-> arg[ 2]: vfprintf
-> arg[ 3]: -Djava.security.policy=./java.policy
-> arg[ 4]: -Djava.security.egd=file:/dev/urandom
-> arg[ 5]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
-> arg[ 6]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
-> arg[ 7]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-> arg[ 8]: -Djco.jarm=1
-> arg[ 9]: -XX:MaxPermSize=256M
-> arg[ 10]: -XX:PermSize=256M
-> arg[ 11]: -XX:NewSize=171M
-> arg[ 12]: -XX:MaxNewSize=171M
-> arg[ 13]: -XX:+DisableExplicitGC
-> arg[ 14]: -verbose:gc
-> arg[ 15]: -Xloggc:GC.log
-> arg[ 16]: -XX:+PrintGCDetails
-> arg[ 17]: -XX:+PrintGCTimeStamps
-> arg[ 18]: -Djava.awt.headless=true
-> arg[ 19]: -Dsun.io.useCanonCaches=false
-> arg[ 20]: -XX:SoftRefLRUPolicyMSPerMB=1
-> arg[ 21]: -XX:SurvivorRatio=2
-> arg[ 22]: -XX:TargetSurvivorRatio=90
-> arg[ 23]: -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer
-> arg[ 24]: -Dstartup.mode=SAFE
-> arg[ 25]: -Dstartup.action=UPGRADE
-> arg[ 26]: -Dsys.global.dir=D:\usr\sap\<SID>\SYS\global
-> arg[ 27]: -Dapplication.home=D:\usr\sap\<SID>\DVEBMGS00\exe
-> arg[ 28]: -Djava.class.path=D:\usr\sap\<SID>\DVEBMGS00\exe\jstartup.jar;D:\usr\sap\<SID>\DVEBMGS00\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
-> arg[ 29]: -Djava.library.path=C:\j2sdk1.4.2_17\jre\bin\server;C:\j2sdk1.4.2_17\jre\bin;C:\j2sdk1.4.2_17\bin;D:\usr\sap\<SID>\DVEBMGS00\j2ee\os_libs;D:\oracle\<SID>\102\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;%JAVA_HOME%\bin;D:\usr\sap\<SID>\SYS\exe\uc\NTI386
-> arg[ 30]: -Dmemory.manager=1024M
-> arg[ 31]: -Xmx1024M
-> arg[ 32]: -Xms1024M
-> arg[ 33]: -DLoadBalanceRestricted=no
-> arg[ 34]: -Djstartup.mode=JCONTROL
-> arg[ 35]: -Djstartup.ownProcessId=2232
-> arg[ 36]: -Djstartup.ownHardwareId=X0017570043
-> arg[ 37]: -Djstartup.whoami=server
-> arg[ 38]: -Djstartup.debuggable=no
-> arg[ 39]: -DSAPINFO=<SID>_00_server
-> arg[ 40]: -DSAPSTART=1
-> arg[ 41]: -DCONNECT_PORT=64999
-> arg[ 42]: -DSAPSYSTEM=00
-> arg[ 43]: -DSAPSYSTEMNAME=<SID>
-> arg[ 44]: -DSAPMYNAME=<HOSTNAME>_<SID>_00
-> arg[ 45]: -DSAPPROFILE=D:\usr\sap\<SID>\SYS\profile\<SID>_DVEBMGS00_<HOSTNAME>
-> arg[ 46]: -DFRFC_FALLBACK=ON
-> arg[ 47]: -DFRFC_FALLBACK_HOST=localhost
-> arg[ 48]: -DSAPSTARTUP=1
-> arg[ 49]: -DSAPSYSTEM=00
-> arg[ 50]: -DSAPSYSTEMNAME=<SID>
-> arg[ 51]: -DSAPMYNAME=<HOSTNAME>_<SID>_00
-> arg[ 52]: -DSAPDBHOST= <HOSTNAME>
-> arg[ 53]: -Dj2ee.dbhost= <HOSTNAME>
**********************************************************************
CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
[Thr 3024] JHVM_LoadJavaVM: Java VM created OK.
**********************************************************************
JHVM_BuildArgumentList: main method arguments of node [server0]
**********************************************************************
[Thr 3740] Mon Jul 12 16:11:22 2010
[Thr 3740] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
[Thr 3740] Mon Jul 12 16:11:23 2010
[Thr 3740] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
[Thr 3740] JLaunchISetClusterId: set cluster id 4062350
[Thr 3740] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
[Thr 3740] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
[Thr 1480] Mon Jul 12 16:11:41 2010
[Thr 1480] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.driver.CpicDriver
[Thr 1480] JHVM_RegisterNatives: registering methods in com.sap.i18n.cp.ConverterJNI
[Thr 1480] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.engine.Compress
[Thr 5348] Mon Jul 12 16:11:47 2010
[Thr 5348] JHVM_RegisterNatives: registering methods in com.sap.security.core.server.vsi.service.jni.VirusScanInterface
[Thr 3740] Mon Jul 12 16:11:50 2010
[Thr 3740] JLaunchISetState: change state from [Starting (2)] to [Starting applications (10)]
[Thr 544] Mon Jul 12 16:12:01 2010
[Thr 544] JLaunchISetState: change state from [Starting applications (10)] to [Running (3)]
Edited by: Zhong Joseph on Jul 12, 2010 10:39 AM
Yes, the j2ee server is running, and enq also running, I post enqsrv log from SCS.
-
trc file: "dev_enqsrv", trc level: 1, release: "700"
-
sysno 01
sid DC0
systemid 560 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 248
intno 20050900
make: multithreaded, Unicode, optimized
pid 5516
[Thr 5520] Mon Jul 12 16:10:49 2010
[Thr 5520] profile D:\usr\sap\<SID>\SYS\profile\DC0_SCS01_<Hostname>
[Thr 5520] hostname CGDELSR06SAP
[Thr 5520] *** ERROR => ShmDelete: Invalid shared memory Key=34. [shmnt.c 719]
[Thr 5520] *** ERROR => ShmCleanup: ShmDelete failed for Key:34. [shmnt.c 793]
[Thr 5520] initialize_global: enqueue server without replication
[Thr 5520] Enqueue: EnqMemStartupAction Utc=1278922249
[Thr 5520] Enqueue Info: replication enabled
[Thr 5520] Enqueue Info: enque/replication_dll not set
[Thr 5520] Mon Jul 12 16:10:50 2010
[Thr 5520] ***LOG GEZ=> Server start [encllog.cpp 493]
-
trc file: "dev_enqsrv", trc level: 1, release: "700"
-
[Thr 2272] Mon Jul 12 16:07:21 2010
[Thr 2272] stopAllThreads: stop Thread worker thread ...[Thr 2272] done
[Thr 2272] stopAllThreads: stop Thread Listener thread ...[Thr 2272] done
[Thr 2272] stopAllThreads: stop Thread IOThread_0 ...[Thr 2272] done
[Thr 2272] stopAllThreads: stop Thread ADM-thread ...[Thr 2272] stopAllThreads: stop ADM-thread not implemented. Hard kill
[Thr 2272] *** ERROR => ShmDelete: Invalid shared memory Key=1. [shmnt.c 719]
[Thr 2272] *** ERROR => ShmCleanup: ShmDelete failed for Key:1. [shmnt.c 793]
[Thr 2272] *** ERROR => ShmDelete: Invalid shared memory Key=2. [shmnt.c 719]
[Thr 2272] *** ERROR => ShmCleanup: ShmDelete failed for Key:2. [shmnt.c 793]
[Thr 2272] *** ERROR => ShmDelete: Invalid shared memory Key=3. [shmnt.c 719]
[Thr 2272] *** ERROR => ShmCleanup: ShmDelete failed for Key:3. [shmnt.c 793]
[Thr 2272] *** ERROR => ShmDelete: Invalid shared memory Key=4. [shmnt.c 719]
[Thr 2272] *** ERROR => ShmCleanup: ShmDelete failed for Key:4. [shmnt.c 793]
[Thr 2272] *** ERROR => ShmDelete: Invalid shared memory Key=6. [shmnt.c 719]
[Thr 2272] *** ERROR => ShmCleanup: ShmDelete failed for Key:6. [shmnt.c 793]
[Thr 2272] *** ERROR => ShmDelete: Invalid shared memory Key=7. [shmnt.c 719]
[Thr 2272] *** ERROR => ShmCleanup: ShmDelete failed for Key:7. [shmnt.c 793]
[Thr 2272] *** ERROR => ShmDelete: Invalid shared memory Key=8. [shmnt.c 719]
[Thr 2272] *** ERROR => ShmCleanup: ShmDelete failed for Key:8. [shmnt.c 793]
[Thr 2272] *** ERROR => ShmDelete: Invalid shared memory Key=9. [shmnt.c 719]
I tried the following:
reboot the server and restart SAP;
Updated the SAP kernel to the latest;
Increase the pagefile to 16GB;
decrease the java max heap size from 1024 to 512M.
but all in vain.
Please help me. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.