Skip to Content
0

SMDAgent stop exitcode -2

Jun 08, 2017 at 03:39 AM

99

avatar image
Former Member

After restarted the server, our SMD Agent not start, can anybody help me?

--------------------------------------------------- trc file: "E:\usr\sap\SMD\J98\work\dev_SMDAgent", trc level: 1, release: "701" --------------------------------------------------- node name : smdagent pid : 6864 system name : SMD system nr. : 98 started at : Tue Jun 06 11:09:09 2017 arguments : arg[00] : E:\usr\sap\SMD\J98\..\exe\jlaunch.exe arg[01] : pf=E:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPSOL01 arg[02] : -DSAPINFO=SMD_98_server arg[03] : pf=E:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPSOL01 ********************************************************************** JStartupReadInstanceProperties: read instance properties [E:\usr\sap\SMD\J98\profile\smd.properties] -> ms host : -> ms port : 36 -> OS libs : E:\usr\sap\SMD\J98\..\exe -> Admin URL : -> run mode : NORMAL -> run action : NONE -> enabled : yes ********************************************************************** ********************************************************************** Used property files -> files [00] : E:\usr\sap\SMD\J98\profile\smd.properties ********************************************************************** ********************************************************************** Instance properties -> ms host : -> ms port : 36 -> os libs : E:\usr\sap\SMD\J98\..\exe -> admin URL : -> run mode : NORMAL -> run action : NONE -> enabled : yes ********************************************************************** ********************************************************************** Bootstrap nodes ********************************************************************** ********************************************************************** Worker nodes -> [00] smdagent : E:\usr\sap\SMD\J98\profile\smd.properties ********************************************************************** [Thr 6076] Tue Jun 06 11:09:09 2017 [Thr 6076] JLaunchRequestQueueInit: create named pipe for ipc [Thr 6076] JLaunchRequestQueueInit: create pipe listener thread [Thr 2096] JLaunchRequestFunc: Thread 2096 started as listener thread for np messages. [Thr 760] WaitSyncSemThread: Thread 760 started as semaphore monitor thread. [Thr 6076] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202) [Thr 6076] CPIC (version=701.2009.01.26) [Thr 6076] [Node: SMDAgent] java home is set by profile parameter Java Home: C:\j2sdk1.4.2_24-x64 [Thr 6076] JStartupICheckFrameworkPackage: can't find framework package E:\usr\sap\SMD\J98\..\exe\jvmx.jar ********************************************************************** JStartupIReadSection: read node properties [smdagent] -> node name : SMDAgent -> node type : server -> node id : 1 -> node execute : yes -> java path : C:\j2sdk1.4.2_24-x64 -> java parameters : -DP4ClassLoad=P4Connection -> java vm version : 1.4.2_24-rev-b06 -> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.) -> java vm type : server -> java vm cpu : amd64 -> heap size : 128M -> init heap size : 128M -> root path : ..\SMDAgent -> class path : lib\launcher\smdagentlauncher.jar;..\..\exe\jstartupapi.jar;..\..\exe\jstartupimpl.jar -> OS libs path : E:\usr\sap\SMD\J98\..\exe -> main class : com.sap.smd.agent.launcher.SMDAgentLauncher -> framework class : com.sap.bc.proj.jstartup.JStartupFramework -> registr. class : com.sap.bc.proj.jstartup.JStartupNatives -> framework path : E:\usr\sap\SMD\J98\..\exe\jstartup.jar;E:\usr\sap\SMD\J98\..\exe\jvmx.jar -> shutdown class : com.sap.smd.agent.launcher.SMDAgentLauncher -> parameters : run jcontrol -> debuggable : yes -> debug mode : no -> debug port : 58981 -> shutdown timeout : 20000 ********************************************************************** [Thr 6076] JLaunchISetDebugMode: set debug mode [no] [Thr 8088] JLaunchIStartFunc: Thread 8088 started as Java VM thread. [Thr 8088] *** ERROR => DlLoadLib()==DLENOACCESS - LoadLibrary("jvm.dll") Error 126 = "The specified module could not be found." [dlnt.c 255] [Thr 8088] *** ERROR => Can't load VM shared library (jvm.dll) (rc=-2) [jhvmxx.c 1586] [Thr 8088] ********************************************************************** *** ERROR => Cannot load the Java VM shared library. *** Please see SAP Note 943602 , section 'Java VM shared library issues' *** for additional information and trouble shooting. ********************************************************************** [Thr 8088] *** ERROR => Cannot load DLL for Java VM [jlnchxxi.c 717] [Thr 6076] Tue Jun 06 11:09:11 2017 [Thr 6076] JLaunchCloseProgram: good bye (exitcode = -2) --------------------------------------------------- trc file: "E:\usr\sap\SMD\J98\work\dev_SMDAgent", trc level: 1, release: "701" --------------------------------------------------- node name : smdagent pid : 5812 system name : SMD system nr. : 98 started at : Tue Jun 06 11:09:16 2017 arguments : arg[00] : E:\usr\sap\SMD\J98\..\exe\jlaunch.exe arg[01] : pf=E:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPSOL01 arg[02] : -DSAPINFO=SMD_98_server arg[03] : pf=E:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPSOL01 ********************************************************************** JStartupReadInstanceProperties: read instance properties [E:\usr\sap\SMD\J98\profile\smd.properties] -> ms host : -> ms port : 36 -> OS libs : E:\usr\sap\SMD\J98\..\exe -> Admin URL : -> run mode : NORMAL -> run action : NONE -> enabled : yes ********************************************************************** ********************************************************************** Used property files -> files [00] : E:\usr\sap\SMD\J98\profile\smd.properties ********************************************************************** ********************************************************************** Instance properties -> ms host : -> ms port : 36 -> os libs : E:\usr\sap\SMD\J98\..\exe -> admin URL : -> run mode : NORMAL -> run action : NONE -> enabled : yes ********************************************************************** ********************************************************************** Bootstrap nodes ********************************************************************** ********************************************************************** Worker nodes -> [00] smdagent : E:\usr\sap\SMD\J98\profile\smd.properties ********************************************************************** [Thr 7656] Tue Jun 06 11:09:16 2017 [Thr 7656] JLaunchRequestQueueInit: create named pipe for ipc [Thr 7656] JLaunchRequestQueueInit: create pipe listener thread [Thr 6960] JLaunchRequestFunc: Thread 6960 started as listener thread for np messages. [Thr 2680] WaitSyncSemThread: Thread 2680 started as semaphore monitor thread. [Thr 7656] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202) [Thr 7656] CPIC (version=701.2009.01.26) [Thr 7656] [Node: SMDAgent] java home is set by profile parameter Java Home: C:\j2sdk1.4.2_24-x64 [Thr 7656] JStartupICheckFrameworkPackage: can't find framework package E:\usr\sap\SMD\J98\..\exe\jvmx.jar ********************************************************************** JStartupIReadSection: read node properties [smdagent] -> node name : SMDAgent -> node type : server -> node id : 1 -> node execute : yes -> java path : C:\j2sdk1.4.2_24-x64 -> java parameters : -DP4ClassLoad=P4Connection -> java vm version : 1.4.2_24-rev-b06 -> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.) -> java vm type : server -> java vm cpu : amd64 -> heap size : 128M -> init heap size : 128M -> root path : ..\SMDAgent -> class path : lib\launcher\smdagentlauncher.jar;..\..\exe\jstartupapi.jar;..\..\exe\jstartupimpl.jar -> OS libs path : E:\usr\sap\SMD\J98\..\exe -> main class : com.sap.smd.agent.launcher.SMDAgentLauncher -> framework class : com.sap.bc.proj.jstartup.JStartupFramework -> registr. class : com.sap.bc.proj.jstartup.JStartupNatives -> framework path : E:\usr\sap\SMD\J98\..\exe\jstartup.jar;E:\usr\sap\SMD\J98\..\exe\jvmx.jar -> shutdown class : com.sap.smd.agent.launcher.SMDAgentLauncher -> parameters : run jcontrol -> debuggable : yes -> debug mode : no -> debug port : 58981 -> shutdown timeout : 20000 ********************************************************************** [Thr 7656] JLaunchISetDebugMode: set debug mode [no] [Thr 8076] JLaunchIStartFunc: Thread 8076 started as Java VM thread. [Thr 8076] *** ERROR => DlLoadLib()==DLENOACCESS - LoadLibrary("jvm.dll") Error 126 = "The specified module could not be found." [dlnt.c 255] [Thr 8076] *** ERROR => Can't load VM shared library (jvm.dll) (rc=-2) [jhvmxx.c 1586] [Thr 8076] ********************************************************************** *** ERROR => Cannot load the Java VM shared library. *** Please see SAP Note 943602 , section 'Java VM shared library issues' *** for additional information and trouble shooting. ********************************************************************** [Thr 8076] *** ERROR => Cannot load DLL for Java VM [jlnchxxi.c 717] [Thr 7656] Tue Jun 06 11:09:18 2017 [Thr 7656] JLaunchCloseProgram: good bye (exitcode = -2) --------------------------------------------------- trc file: "E:\usr\sap\SMD\J98\work\dev_SMDAgent", trc level: 1, release: "701" --------------------------------------------------- node name : smdagent pid : 6780 system name : SMD system nr. : 98 started at : Tue Jun 06 11:09:21 2017 arguments : arg[00] : E:\usr\sap\SMD\J98\..\exe\jlaunch.exe arg[01] : pf=E:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPSOL01 arg[02] : -DSAPINFO=SMD_98_server arg[03] : pf=E:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPSOL01 ********************************************************************** JStartupReadInstanceProperties: read instance properties [E:\usr\sap\SMD\J98\profile\smd.properties] -> ms host : -> ms port : 36 -> OS libs : E:\usr\sap\SMD\J98\..\exe -> Admin URL : -> run mode : NORMAL -> run action : NONE -> enabled : yes ********************************************************************** ********************************************************************** Used property files -> files [00] : E:\usr\sap\SMD\J98\profile\smd.properties ********************************************************************** ********************************************************************** Instance properties -> ms host : -> ms port : 36 -> os libs : E:\usr\sap\SMD\J98\..\exe -> admin URL : -> run mode : NORMAL -> run action : NONE -> enabled : yes ********************************************************************** ********************************************************************** Bootstrap nodes ********************************************************************** ********************************************************************** Worker nodes -> [00] smdagent : E:\usr\sap\SMD\J98\profile\smd.properties ********************************************************************** [Thr 7380] Tue Jun 06 11:09:21 2017 [Thr 7380] JLaunchRequestQueueInit: create named pipe for ipc [Thr 7380] JLaunchRequestQueueInit: create pipe listener thread [Thr 4156] JLaunchRequestFunc: Thread 4156 started as listener thread for np messages. [Thr 7408] WaitSyncSemThread: Thread 7408 started as semaphore monitor thread. [Thr 7380] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202) [Thr 7380] CPIC (version=701.2009.01.26) [Thr 7380] [Node: SMDAgent] java home is set by profile parameter Java Home: C:\j2sdk1.4.2_24-x64 [Thr 7380] JStartupICheckFrameworkPackage: can't find framework package E:\usr\sap\SMD\J98\..\exe\jvmx.jar ********************************************************************** JStartupIReadSection: read node properties [smdagent] -> node name : SMDAgent -> node type : server -> node id : 1 -> node execute : yes -> java path : C:\j2sdk1.4.2_24-x64 -> java parameters : -DP4ClassLoad=P4Connection -> java vm version : 1.4.2_24-rev-b06 -> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.) -> java vm type : server -> java vm cpu : amd64 -> heap size : 128M -> init heap size : 128M -> root path : ..\SMDAgent -> class path : lib\launcher\smdagentlauncher.jar;..\..\exe\jstartupapi.jar;..\..\exe\jstartupimpl.jar -> OS libs path : E:\usr\sap\SMD\J98\..\exe -> main class : com.sap.smd.agent.launcher.SMDAgentLauncher -> framework class : com.sap.bc.proj.jstartup.JStartupFramework -> registr. class : com.sap.bc.proj.jstartup.JStartupNatives -> framework path : E:\usr\sap\SMD\J98\..\exe\jstartup.jar;E:\usr\sap\SMD\J98\..\exe\jvmx.jar -> shutdown class : com.sap.smd.agent.launcher.SMDAgentLauncher -> parameters : run jcontrol -> debuggable : yes -> debug mode : no -> debug port : 58981 -> shutdown timeout : 20000 ********************************************************************** [Thr 7380] JLaunchISetDebugMode: set debug mode [no] [Thr 7472] JLaunchIStartFunc: Thread 7472 started as Java VM thread. [Thr 7472] *** ERROR => DlLoadLib()==DLENOACCESS - LoadLibrary("jvm.dll") Error 126 = "The specified module could not be found." [dlnt.c 255] [Thr 7472] *** ERROR => Can't load VM shared library (jvm.dll) (rc=-2) [jhvmxx.c 1586] [Thr 7472] ********************************************************************** *** ERROR => Cannot load the Java VM shared library. *** Please see SAP Note 943602 , section 'Java VM shared library issues' *** for additional information and trouble shooting. ********************************************************************** [Thr 7472] *** ERROR => Cannot load DLL for Java VM [jlnchxxi.c 717] [Thr 7380] Tue Jun 06 11:09:23 2017 [Thr 7380] JLaunchCloseProgram: good bye (exitcode = -2) --------------------------------------------------- trc file: "E:\usr\sap\SMD\J98\work\dev_SMDAgent", trc level: 1, release: "701" --------------------------------------------------- node name : smdagent pid : 7468 system name : SMD system nr. : 98 started at : Tue Jun 06 11:09:26 2017 arguments : arg[00] : E:\usr\sap\SMD\J98\..\exe\jlaunch.exe arg[01] : pf=E:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPSOL01 arg[02] : -DSAPINFO=SMD_98_server arg[03] : pf=E:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPSOL01 ********************************************************************** JStartupReadInstanceProperties: read instance properties [E:\usr\sap\SMD\J98\profile\smd.properties] -> ms host : -> ms port : 36 -> OS libs : E:\usr\sap\SMD\J98\..\exe -> Admin URL : -> run mode : NORMAL -> run action : NONE -> enabled : yes ********************************************************************** ********************************************************************** Used property files -> files [00] : E:\usr\sap\SMD\J98\profile\smd.properties ********************************************************************** ********************************************************************** Instance properties -> ms host : -> ms port : 36 -> os libs : E:\usr\sap\SMD\J98\..\exe -> admin URL : -> run mode : NORMAL -> run action : NONE -> enabled : yes ********************************************************************** ********************************************************************** Bootstrap nodes ********************************************************************** ********************************************************************** Worker nodes -> [00] smdagent : E:\usr\sap\SMD\J98\profile\smd.properties ********************************************************************** [Thr 5032] Tue Jun 06 11:09:26 2017 [Thr 5032] JLaunchRequestQueueInit: create named pipe for ipc [Thr 5032] JLaunchRequestQueueInit: create pipe listener thread [Thr 5796] JLaunchRequestFunc: Thread 5796 started as listener thread for np messages. [Thr 1612] WaitSyncSemThread: Thread 1612 started as semaphore monitor thread. [Thr 5032] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202) [Thr 5032] CPIC (version=701.2009.01.26) [Thr 5032] [Node: SMDAgent] java home is set by profile parameter Java Home: C:\j2sdk1.4.2_24-x64 [Thr 5032] JStartupICheckFrameworkPackage: can't find framework package E:\usr\sap\SMD\J98\..\exe\jvmx.jar ********************************************************************** JStartupIReadSection: read node properties [smdagent] -> node name : SMDAgent -> node type : server -> node id : 1 -> node execute : yes -> java path : C:\j2sdk1.4.2_24-x64 -> java parameters : -DP4ClassLoad=P4Connection -> java vm version : 1.4.2_24-rev-b06 -> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.) -> java vm type : server -> java vm cpu : amd64 -> heap size : 128M -> init heap size : 128M -> root path : ..\SMDAgent -> class path : lib\launcher\smdagentlauncher.jar;..\..\exe\jstartupapi.jar;..\..\exe\jstartupimpl.jar -> OS libs path : E:\usr\sap\SMD\J98\..\exe -> main class : com.sap.smd.agent.launcher.SMDAgentLauncher -> framework class : com.sap.bc.proj.jstartup.JStartupFramework -> registr. class : com.sap.bc.proj.jstartup.JStartupNatives -> framework path : E:\usr\sap\SMD\J98\..\exe\jstartup.jar;E:\usr\sap\SMD\J98\..\exe\jvmx.jar -> shutdown class : com.sap.smd.agent.launcher.SMDAgentLauncher -> parameters : run jcontrol -> debuggable : yes -> debug mode : no -> debug port : 58981 -> shutdown timeout : 20000 ********************************************************************** [Thr 5032] JLaunchISetDebugMode: set debug mode [no] [Thr 7668] JLaunchIStartFunc: Thread 7668 started as Java VM thread. [Thr 7668] *** ERROR => DlLoadLib()==DLENOACCESS - LoadLibrary("jvm.dll") Error 126 = "The specified module could not be found." [dlnt.c 255] [Thr 7668] *** ERROR => Can't load VM shared library (jvm.dll) (rc=-2) [jhvmxx.c 1586] [Thr 7668] ********************************************************************** *** ERROR => Cannot load the Java VM shared library. *** Please see SAP Note 943602 , section 'Java VM shared library issues' *** for additional information and trouble shooting. ********************************************************************** [Thr 7668] *** ERROR => Cannot load DLL for Java VM [jlnchxxi.c 717] [Thr 5032] Tue Jun 06 11:09:28 2017 [Thr 5032] JLaunchCloseProgram: good bye (exitcode = -2)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Yogesh Patel
Jun 08, 2017 at 03:49 AM
1

please look SAP note as below

940893 - Analysis of errors within the startup of J2EE Engine 6.40

section 'Java VM shared library issues'

OR

Look at below

https://archive.sap.com/discussions/thread/1891304

Thanks

Yogesh

Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Dear Yogesh,

Thanks for your answer

Actually, we didn't change any Java's envieronment.

Our system running on 64-bit systems, and i'm sure that the JDK is also 64 bit.

E:\usr\sap\SMD\exe>java -version

java version "1.6.0_25" Java(TM) SE Runtime Environment (build 1.6.0_25-b06)

Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)

Have you another solution for this case?

Regards,

JK

0

Can you please try java version 1.4

-Yogesh

0
Former Member

Dear Yogesh,

Actually we have solve this issue. The solution just like you said, the path JavaVM is changed, so jcontrol cannot be launch. Thanks for your solution

Regards,

JK

0