cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting to SMD server failed

Former Member
0 Kudos

Hello folks,

We installed a java add-in on a machine running ECC 6.0. The installation went fine and we could log-in to the portal using the webbrowser. After that we tried to upgrade all components from SP14 to SP17. But when the JSPM tried to restart the J2EE-Engine, the SMD didn't come up again and stayed in status "Starting processes". We could fix this be reinstalling the SMD-Agent, but now our main instance tells us in the MMC that "J2EE status info unavailable". I can't reach the portal using the webbrowser as well as I can't login using visual administrator.

In the SMDSystem.x.log I just get following lines over and over again:

Mar 25, 2009 5:59:27 PM [Thread[SMDAgent connection thread,5,main]] Info [p4://saphcx:59804] Waiting for connection ...

Mar 25, 2009 5:59:27 PM [Thread[SMDAgent connection thread,5,main]] Info [p4://saphcx:59804] Checking server availability...

Mar 25, 2009 5:59:29 PM [Thread[SMDAgent connection thread,5,main]] Warning Connecting to SMD server p4://saphcx:59804 failed - error counter: 0 - com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances

Nested exceptions are:

com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection on host: 10.10.24.4 and port: 59804

]

Content of dev_jcontrol:

-


trc file: "D:\usr\sap\SMD\J98\work\dev_jcontrol", trc level: 1, release: "700"

-


node name : jcontrol

pid : 132

system name : SMD

system nr. : 98

started at : Wed Mar 25 18:08:20 2009

arguments :

arg[00] : D:\usr\sap\SMD\J98\..\exe\jcontrol.exe

arg[01] : pf=D:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_saphcx

**********************************************************************

JStartupReadInstanceProperties: read instance properties [D:\usr\sap\SMD\J98\profile\smd.properties]

-> ms host :

-> ms port : 36

-> OS libs : D:\usr\sap\SMD\exe

-> Admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

**********************************************************************

**********************************************************************

Used property files

-> files [00] : D:\usr\sap\SMD\J98\profile\smd.properties

**********************************************************************

**********************************************************************

Instance properties

-> ms host :

-> ms port : 36

-> os libs : D:\usr\sap\SMD\exe

-> admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

**********************************************************************

**********************************************************************

Bootstrap nodes

**********************************************************************

**********************************************************************

Worker nodes

-> [00] smdagent : D:\usr\sap\SMD\J98\profile\smd.properties

**********************************************************************

[Thr 4444] Wed Mar 25 18:08:20 2009

[Thr 4444] *** WARNING => Key profile parameters not set D:\usr\sap\SMD\J98\..\SYS\profile\DEFAULT.PFL:

j2ee/scs/host=

j2ee/scs/system= [jcntrxx.c 1459]

[Thr 4444] *** WARNING => Can't open default profile [D:\usr\sap\SMD\J98\..\SYS\profile\DEFAULT.PFL] for migration [jcntrxx.c 1460]

[Thr 4444] JControlExecuteBootstrap: jcontrol runs in 6.20 compatible mode

[Thr 4444] JControlExecuteBootstrap: jcontrol runs in 6.20 compatible mode

[Thr 4444] JControlIBuildProcessList: Maximum error count is set to 4

[Thr 5320] JControlRequestFunc: Thread 5320 started as listener thread for np messages.

[Thr 4444] [Node: SMDAgent] java home is set by profile parameter

Java Home: C:\j2sdk1.4.2_19-x64\

[Thr 4444] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\SMD\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_19-x64\

-> java parameters : -DP4ClassLoad=P4Connection

-> java vm version : 1.4.2_19-rev-b07

-> 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 : D:\usr\sap\SMD\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 : D:\usr\sap\SMD\exe\jstartup.jar;D:\usr\sap\SMD\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 4444] JControlConnectToMS: jcontrol runs in 6.20 compatible mode without message server

**********************************************************************

JControlStartJLaunch: program = D:\usr\sap\SMD\J98\..\exe\jlaunch.exe

-> arg[00] = D:\usr\sap\SMD\J98\..\exe\jlaunch.exe

-> arg[01] = pf=D:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_saphcx

-> arg[02] = -DSAPINFO=SMD_98_server

-> arg[03] = -nodeId=0

-> arg[04] = -file=D:\usr\sap\SMD\J98\profile\smd.properties

-> arg[05] = -syncSem=JSTARTUP_WAIT_ON_132

-> arg[06] = -nodeName=smdagent

-> arg[07] = -jvmOutFile=D:\usr\sap\SMD\J98\work\jvm_SMDAgent.out

-> arg[08] = -stdOutFile=D:\usr\sap\SMD\J98\work\std_SMDAgent.out

-> arg[09] = -locOutFile=D:\usr\sap\SMD\J98\work\dev_SMDAgent

-> arg[10] = -mode=JCONTROL

-> arg[11] = pf=D:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_saphcx

-> lib path = PATH=C:\j2sdk1.4.2_19-x64
jre\bin\server;C:\j2sdk1.4.2_19-x64
jre\bin;C:\Program Files\Legato\nsr\bin;D:\oracle\HCX\102\bin;C:\Program Files (x86)\Windows Resource Kits\Tools\;C:\Program Files\HP\NCU;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\j2sdk1.4.2_19-x64\bin;D:\usr\sap\SMD\exe

-> exe path = PATH=C:\j2sdk1.4.2_19-x64
bin;D:\usr\sap\SMD\exe;C:\Program Files\Legato\nsr\bin;D:\oracle\HCX\102\bin;C:\Program Files (x86)\Windows Resource Kits\Tools\;C:\Program Files\HP\NCU;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\j2sdk1.4.2_19-x64\bin;D:\usr\sap\SMD\exe

**********************************************************************

[Thr 4444] JControlICheckProcessList: process SMDAgent started (PID:6048)

Content of dev_SMDAgent

-


trc file: "D:\usr\sap\SMD\J98\work\dev_SMDAgent", trc level: 1, release: "700"

-


node name : smdagent

pid : 6048

system name : SMD

system nr. : 98

started at : Wed Mar 25 18:08:20 2009

arguments :

arg[00] : D:\usr\sap\SMD\J98\..\exe\jlaunch.exe

arg[01] : pf=D:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_saphcx

arg[02] : -DSAPINFO=SMD_98_server

arg[03] : pf=D:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_saphcx

**********************************************************************

JStartupReadInstanceProperties: read instance properties [D:\usr\sap\SMD\J98\profile\smd.properties]

-> ms host :

-> ms port : 36

-> OS libs : D:\usr\sap\SMD\exe

-> Admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

**********************************************************************

**********************************************************************

Used property files

-> files [00] : D:\usr\sap\SMD\J98\profile\smd.properties

**********************************************************************

**********************************************************************

Instance properties

-> ms host :

-> ms port : 36

-> os libs : D:\usr\sap\SMD\exe

-> admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

**********************************************************************

**********************************************************************

Bootstrap nodes

**********************************************************************

**********************************************************************

Worker nodes

-> [00] smdagent : D:\usr\sap\SMD\J98\profile\smd.properties

**********************************************************************

[Thr 5948] Wed Mar 25 18:08:20 2009

[Thr 5948] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 5948] JLaunchRequestQueueInit: create pipe listener thread

[Thr 2000] WaitSyncSemThread: Thread 2000 started as semaphore monitor thread.

[Thr 4740] JLaunchRequestFunc: Thread 4740 started as listener thread for np messages.

[Thr 5948] NiInit3: NI already initialized; param 'maxHandles' ignored (1;402)

[Thr 5948] CPIC (version=700.2006.09.13)

[Thr 5948] [Node: SMDAgent] java home is set by profile parameter

Java Home: C:\j2sdk1.4.2_19-x64\

[Thr 5948] Wed Mar 25 18:08:21 2009

[Thr 5948] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\SMD\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_19-x64\

-> java parameters : -DP4ClassLoad=P4Connection

-> java vm version : 1.4.2_19-rev-b07

-> 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 : D:\usr\sap\SMD\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 : D:\usr\sap\SMD\exe\jstartup.jar;D:\usr\sap\SMD\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 5948] JLaunchISetDebugMode: set debug mode [no]

[Thr 6040] JLaunchIStartFunc: Thread 6040 started as Java VM thread.

[Thr 6040] [JHVM_PrepareVMOptions] use java parameters set by profile parameter

Java Parameters: -Xss2m

**********************************************************************

JHVM_LoadJavaVM: VM Arguments of node [SMDAgent]

-> stack : 1048576 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: vfprintf

-> arg[ 3]: -DP4ClassLoad=P4Connection

-> arg[ 4]: -Dsys.global.dir=D:\usr\sap\SMD\SYS\global

-> arg[ 5]: -Dapplication.home=D:\usr\sap\SMD\exe

-> arg[ 6]: -Djava.class.path=D:\usr\sap\SMD\exe\jstartup.jar;D:\usr\sap\SMD\exe\jvmx.jar;lib\launcher\smdagentlauncher.jar;..\..\exe\jstartupapi.jar;..\..\exe\jstartupimpl.jar

-> arg[ 7]: -Djava.library.path=C:\j2sdk1.4.2_19-x64
jre\bin\server;C:\j2sdk1.4.2_19-x64
jre\bin;C:\j2sdk1.4.2_19-x64
bin;D:\usr\sap\SMD\exe;C:\Program Files\Legato\nsr\bin;D:\oracle\HCX\102\bin;C:\Program Files (x86)\Windows Resource Kits\Tools\;C:\Program Files\HP\NCU;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\j2sdk1.4.2_19-x64\bin;D:\usr\sap\SMD\exe

-> arg[ 8]: -Dmemory.manager=128M

-> arg[ 9]: -Xmx128M

-> arg[ 10]: -Xms128M

-> arg[ 11]: -DLoadBalanceRestricted=no

-> arg[ 12]: -Djstartup.mode=JCONTROL

-> arg[ 13]: -Djstartup.ownProcessId=6048

-> arg[ 14]: -Djstartup.ownHardwareId=F1342910626

-> arg[ 15]: -Djstartup.whoami=server

-> arg[ 16]: -Djstartup.debuggable=yes

-> arg[ 17]: -Xss2m

-> arg[ 18]: -DSAPINFO=SMD_98_server

-> arg[ 19]: -DSAPSTARTUP=1

-> arg[ 20]: -DSAPSYSTEM=98

-> arg[ 21]: -DSAPSYSTEMNAME=SMD

-> arg[ 22]: -DSAPMYNAME=saphcx_SMD_98

-> arg[ 23]: -DSAPDBHOST=

-> arg[ 24]: -Dj2ee.dbhost=

**********************************************************************

[Thr 6040] JHVM_LoadJavaVM: Java VM created OK.

**********************************************************************

JHVM_BuildArgumentList: main method arguments of node [SMDAgent]

-> arg[ 0]: run

-> arg[ 1]: jcontrol

**********************************************************************

[Thr 6040] Wed Mar 25 18:08:22 2009

[Thr 6040] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework

[Thr 6040] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]

[Thr 6040] JLaunchISetState: change state from [Waiting for start (1)] to [Initial (0)]

[Thr 6040] JLaunchISetState: change state from [Initial (0)] to [Starting (2)]

Does anybody have any idea on how to fix the problem?

Thanks and best regards,

Benjamin Huth

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Benjamin Huth

Please check SAP Note 1144737 -Inst.NW 7.0 SR3 - Diagnostics Agent installation.

Open a shell on <drive>:\usr\sap\<smdsid>\JXX\script and execute

the command:

smdsetup sldconf hostname:"<SLD_HOSTNAME>" port:"<SLD_PORT>" user:"<SLDDSUSER>" pwd:"<SLDDSUSER_PWD>"

maybe solove your problem.

Best Regards,

Wu