on 03-29-2008 8:02 PM
Hi experts,
I have installed SMD_AGENT in Java server, I can see the agent in solution manager, but the status is showing START_FAILED.
Here are some logs.
jvm_SMDAgent.out : this showing that the Agent is Running, but question is is it pointing the right way? since the pointing to sapms://*****.com' on port 8100. Is it not should be like this >> http://***.com' on port 8100?
Starting SMDAgent ...
Running SMD Agent ...
Establishing connection to server 'sapms://********.com' on port 8100
I have also found some warnings here as well.
Log: Dev_jcontrol
[Thr 1] Thu Mar 27 16:51:57 2008
[Thr 1] *** WARNING => Key profile parameters not set /usr/sap/SMD/SYS/profile/DEFAULT.PFL:
j2ee/scs/host=
j2ee/scs/system= [jcntrxx_mt.c 1459]
[Thr 1] *** WARNING => Can't open default profile [/usr/sap/SMD/SYS/profile/DEFAULT.PFL] for migration [jcntrxx_mt.c 1460]
[Thr 1] SigISetDefaultAction : default handling for signal 18
[Thr 1] JControlExecuteBootstrap: jcontrol runs in 6.20 compatible mode
[Thr 1] JControlExecuteBootstrap: jcontrol runs in 6.20 compatible mode
[Thr 1] JControlIBuildProcessList: Maximum error count is set to 4
[Thr 2] JControlRequestFunc: Thread 2 started as listener thread for np messages.
[Thr 1] [Node: SMDAgent] java home is set by profile parameter
Java Home: /opt/j2sdk1.4.2_12
[Thr 1] JStartupICheckFrameworkPackage: can't find framework package /usr/sap/SMD/exe/jvmx.jar
I was not able to find jvmx.jar file in /USR/SAP/SMD/EXE. Do you think this could have a problem? If yes, Any idea how can I fill this file there?
I really appreciate your help.
Thanks,
Hi shaji,
here are my other VM parameters.
Xms2048M
-Xmx2048M
-XX:+DisableExplicitGC
-XX:+HandlePromotionFailure
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-XX:+UseParNewGC
-XX:MaxNewSize 320m
-XX:MaxPermSize 512m
-XX:NewSize 320m
-XX:PermSize 512m
-XX:SoftRefLRUPolicyMSPerMB 1
-XX:SoftRefLRUPolicyMSPerMB 1
-XX:SurvivorRatio 2
-XX:TargetSurvivorRatio
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
(OS: Win Server 2003 Entreprise, ECC 6, SM 4.0 R2, SMD agent V 10)
Actually I am having the problem when I log into the SMD and I go under monitored systems --> Agent Admin, the page is blank and no agent is detected.
I followed all the configuration steps, and even I reinstalled but no fix.
I checked the jvm_SMDAgent.out and it shows a an exception as in the log below:
....
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Authentication in progress ...
[sapsrv:50004] Connection established .
[sapsrv:50004] Registering agent on server ...
Exception occured. Please check log files.[Exception ID: 1217039227468 ]
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Authentication in progress ...
[sapsrv:50004] Connection established .
[sapsrv:50004] Registering agent on server ...
Exception occured. Please check log files.[Exception ID: 1217039242187 ]
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Authentication in progress ...
[sapsrv:50004] Connection established .
[sapsrv:50004] Registering agent on server ...
Exception occured. Please check log files.[Exception ID: 1217039254562 ]
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Authentication in progress ...
[sapsrv:50004] Connection established .
[sapsrv:50004] Registering agent on server ...
Exception occured. Please check log files.[Exception ID: 1217039267328 ]
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Authentication in progress ...
[sapsrv:50004] Connection established .
[sapsrv:50004] Registering agent on server ...
Exception occured. Please check log files.[Exception ID: 1217039281500 ]
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Checking server availability...
[sapsrv:50004] Checking server availability...
As for the Dev_Jcontrol:
...
**********************************************************************
[Thr 7192] JControlConnectToMS: jcontrol runs in 6.20 compatible mode without message server
**********************************************************************
JControlStartJLaunch: program = E:\usr\sap\SMD\exe\jlaunch.exe
-> arg[00] = E:\usr\sap\SMD\exe\jlaunch.exe
-> arg[01] = pf=E:\usr\sap\SMD\J98/profile\SMD_J98_localhost
-> arg[02] = -DSAPINFO=SMD_98_server
-> arg[03] = -nodeId=0
-> arg[04] = -file=E:\usr\sap\SMD\J98\profile\smd.properties
-> arg[05] = -syncSem=JSTARTUP_WAIT_ON_9768
-> arg[06] = -nodeName=smdagent
-> arg[07] = -jvmOutFile=E:\usr\sap\SMD\J98\work\jvm_SMDAgent.out
-> arg[08] = -stdOutFile=E:\usr\sap\SMD\J98\work\std_SMDAgent.out
-> arg[09] = -locOutFile=E:\usr\sap\SMD\J98\work\dev_SMDAgent
-> arg[10] = -mode=JCONTROL
-> arg[11] = pf=E:\usr\sap\SMD\J98/profile\SMD_J98_localhost
-> lib path = PATH=C:\j2sdk1.4.2_15\jre\bin\server;C:\j2sdk1.4.2_15\jre\bin;E:\oracle\TAH\102\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\j2sdk1.4.2_15\jre;C:\Program Files\Adobe\Adobe RoboHelp 7\RoboHTML;E:\usr\sap\SMD\exe
-> exe path = PATH=C:\j2sdk1.4.2_15\bin;E:\usr\sap\SMD\exe;E:\oracle\TAH\102\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\j2sdk1.4.2_15\jre;C:\Program Files\Adobe\Adobe RoboHelp 7\RoboHTML;E:\usr\sap\SMD\exe
**********************************************************************
[Thr 7192] Fri Jul 25 22:01:13 2008
[Thr 7192] JControlICheckProcessList: process SMDAgent started (PID:10084)
Any help is really appreciated.
Regards,
Lachker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI all. I have solved the problem with re-installation.
Thanks for all ur help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Avrohom,
I have tried your way but I'm still getting the following error;
hostname:smdadm 51% ./smdsetup.sh /usr/j2se hostname.FQDN.com 50104 smd_admin login123
-
SAP Solution Manager Diagnostic - SMD Agent Setup - Copyright (c) 2005 SAP AG
-
-
VM Properties -
OS: SunOS
Java Version: 1.4.2_12
Java Classpath: .:lib/launcher/smdagentlauncher.jar:lib/smdagent.jar:lib/tc_sec_secstorefs.jar:lib/iaik_jce_export.jar:lib/launcher/logging.jar:lib/smdserver.jar:lib/exception.jar:lib/sapj2eeclient.jar:lib/sapxmltoolkit.jar:
-
SMD Agent Setup is in progress ...
- STEP 1: checking JDK location
JDK location is consistent: /usr/j2se/bin
- STEP 2: checking JDK Version
External Command Executed:
/usr/j2se/bin/java -DP4ClassLoad=P4Connection -Dsap.p4.remote_classloading=false -cp ".:lib/launcher/smdagentlauncher.jar:lib/smdagent.jar:lib/tc_sec_secstorefs.jar:lib/iaik_jce_export.jar:lib/launcher/logging.jar:lib/smdserver.jar:lib/exception.jar:lib/sapj2eeclient.jar:lib/sapxmltoolkit.jar:" com.sap.smd.setup.Setup /jdkversion
JDK Version is correct: 1.4.2_12
- STEP 3: checking Connection to SMD Server
SMD Server check completed successfully
- STEP 4: generating Runtime Properties
runtime.properties has been created.
- STEP 5: generating Launcher
- STEP 6: generating SecStore
External Command Executed:
/usr/j2se/bin/java -DP4ClassLoad=P4Connection -Dsap.p4.remote_classloading=false -cp ".:lib/launcher/smdagentlauncher.jar:lib/smdagent.jar:lib/tc_sec_secstorefs.jar:lib/iaik_jce_export.jar:lib/launcher/logging.jar:lib/smdserver.jar:lib/exception.jar:lib/sapj2eeclient.jar:lib/sapxmltoolkit.jar:" com.sap.security.core.server.secstorefs.SecStoreFS create -f /usr/sap/SMD/J98/SMDAgent/configuration/secstore.properties -k "" -noenc
secstore.properties: creation failed. exitcode= 1
Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/tc/logging/LogController
-
ERROR!!! SMD Agent Setup failed - Please retry
Any further suggestion?
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you see the agent connected in SMD.
logon on to SMD http://host:5xx00/SMD
goto: Diagnostic Administration -->Managed systems - Agent Administration.
If it is not there then one can fix up the agent configuration with the commands:
su - smdadm
cd /usr/sap/SMD/J98/SMDAgent
setenv JAVA_HOME /usr/java #point to your correct java home
./smdsetup.sh /usr/java SMhost 5xx04 smd_admin password
There are 5 parameters past to this script.
/usr/java This is you java home directory
SMhost This is the solution manager server name e.g. sm.comp.com
5xx04 This will be your port for smd e.g. 50004
smd_admin User name
password password for user smd_admin
with SPS13 the java library moved. If you have this problem it can corrected.
Regards,
Avrohom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have the following values in my system.
-Xms2048M
-Xmx2048M
Any further suggestion? Should I try reinstalling SMD_AGENT or redeucing the values of Xms and Xmx?
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The warning for jvmx.jar can be ignored. The error is not due to this. This warnings also appear where systems are up and running.
Can you paste the logs of
dev_jcontrol
dev_server0
dev_bootstrap
Shaji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shaji,
I have paste dev_jcontrol log and Since it's SMD_AGENT, There are no dev_server0 and dev_bootstrap available.
Thanks,
trc file: "/usr/sap/SMD/J98/work/dev_jcontrol", trc level: 1, release: "700"
---------------------------------------------------
node name : jcontrol
pid : 16578
system name : SMD
system nr. : 98
started at : Fri Mar 28 16:14:43 2008
arguments :
arg[00] : /usr/sap/SMD/exe/jcontrol
arg[01] : pf=/usr/sap/SMD/SYS/profile/SMD_J98_*******1
**********************************************************************
JStartupReadInstanceProperties: read instance properties [/usr/sap/SMD/J98/profile/smd.properties]
-> ms host :
-> ms port : 36
-> OS libs : /usr/sap/SMD/exe
-> Admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
**********************************************************************
**********************************************************************
Used property files
-> files [00] : /usr/sap/SMD/J98/profile/smd.properties
**********************************************************************
**********************************************************************
Instance properties
-> ms host :
-> ms port : 36
-> os libs : /usr/sap/SMD/exe
-> admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
**********************************************************************
**********************************************************************
Bootstrap nodes
**********************************************************************
**********************************************************************
Worker nodes
-> [00] smdagent : /usr/sap/SMD/J98/profile/smd.properties
**********************************************************************
[Thr 1] Fri Mar 28 16:14:43 2008
[Thr 1] *** WARNING => Key profile parameters not set /usr/sap/SMD/SYS/profile/DEFAULT.PFL:
j2ee/scs/host=
j2ee/scs/system= [jcntrxx_mt.c 1459]
[Thr 1] *** WARNING => Can't open default profile [/usr/sap/SMD/SYS/profile/DEFAULT.PFL] for migration [jcntrxx_mt.c 1460]
[Thr 1] SigISetDefaultAction : default handling for signal 18
[Thr 1] JControlExecuteBootstrap: jcontrol runs in 6.20 compatible mode
[Thr 1] JControlExecuteBootstrap: jcontrol runs in 6.20 compatible mode
[Thr 1] JControlIBuildProcessList: Maximum error count is set to 4
[Thr 2] JControlRequestFunc: Thread 2 started as listener thread for np messages.
[Thr 1] [Node: SMDAgent] java home is set by profile parameter
Java Home: /opt/j2sdk1.4.2_12
[Thr 1] JStartupICheckFrameworkPackage: can't find framework package /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 : /opt/j2sdk1.4.2_12
-> java parameters : -DP4ClassLoad=P4Connection
-> java vm version : 1.4.2_12-b03
-> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)
-> java vm type : server
-> java vm cpu : sparcv9
-> heap size : 128M
-> init heap size : 128M
-> root path : ../SMDAgent
-> class path : lib/launcher/smdagentlauncher.jar:lib/logging.jar:../../exe/jstartupapi.jar:../../exe/jstartupimpl.ja
r
-> OS libs path : /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 : /usr/sap/SMD/exe/jstartup.jar:/usr/sap/SMD/exe/jvmx.jar
-> shutdown class : com.sap.smd.agent.launcher.SMDAgentLauncher
-> parameters : run jcontrol
-> debuggable : yes
-> debug mode : no
-> debug port : 58021
-> shutdown timeout : 20000
**********************************************************************
[Thr 1] JControlConnectToMS: jcontrol runs in 6.20 compatible mode without message server
**********************************************************************
JControlStartJLaunch: program = /usr/sap/SMD/exe/jlaunch
-> arg[00] = /usr/sap/SMD/exe/jlaunch
-> arg[01] = pf=/usr/sap/SMD/SYS/profile/SMD_J98_*******
-> arg[02] = -DSAPINFO=SMD_98_server
-> arg[03] = -nodeId=0
-> arg[04] = -file=/usr/sap/SMD/J98/profile/smd.properties
-> arg[05] = -syncSem=251658313
-> arg[06] = -nodeName=smdagent
-> arg[07] = -jvmOutFile=/usr/sap/SMD/J98/work/jvm_SMDAgent.out
-> arg[08] = -stdOutFile=/usr/sap/SMD/J98/work/std_SMDAgent.out
-> arg[09] = -locOutFile=/usr/sap/SMD/J98/work/dev_SMDAgent
-> arg[10] = -mode=JCONTROL
-> arg[11] = pf=/usr/sap/SMD/SYS/profile/SMD_J98_*******
-> lib path = LD_LIBRARY_PATH=/opt/j2sdk1.4.2_12/jre/lib/sparcv9/server:/opt/j2sdk1.4.2_12/jre/lib/sparcv9:/opt/j2sdk1.4.2_12
/jre/../lib/sparcv9:/usr/sap/SMD/exe:/usr/lib:/usr/sap/SMD/exe:/usr/sap/SMD/exe
-> exe path = PATH=/opt/j2sdk1.4.2_12/bin:/usr/sap/SMD/exe:.:/export/home/smdadm:/usr/sap/SMD/exe:/usr/bin:/bin:/usr/sbin:/sb
in:/usr/local/bin:/usr/ccs/bin:/usr/ucb
**********************************************************************
[Thr 1] JStartupICreateProcess: fork process (pid 16579)
[Thr 1] JControlICheckProcessList: process SMDAgent started (PID:16579)
[Thr 1] Fri Mar 28 16:42:50 2008
[Thr 1] JControlICheckProcessList: process SMDAgent (pid:16579) died (RUN-FLAG)
[Thr 1] JControlIResetProcess: reset process SMDAgent
[Thr 1] JControlICheckProcessList: running flight recorder:
/opt/j2sdk1.4.2_12/bin/java -classpath ../j2ee/cluster/bootstrap/sap.com~tc~bl~offline_launcher~impl.jar com.sap.engi
ne.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node smdagent 1206746083
-bz /usr/sap/SMD/SYS/global
**********************************************************************
JControlStartJLaunch: program = /usr/sap/SMD/exe/jlaunch
-> arg[00] = /usr/sap/SMD/exe/jlaunch
-> arg[01] = pf=/usr/sap/SMD/SYS/profile/SMD_J98_*******
-> arg[02] = -DSAPINFO=SMD_98_server
-> arg[03] = -nodeId=0
-> arg[04] = -file=/usr/sap/SMD/J98/profile/smd.properties
-> arg[05] = -syncSem=251658313
-> arg[06] = -nodeName=smdagent
-> arg[07] = -jvmOutFile=/usr/sap/SMD/J98/work/jvm_SMDAgent.out
-> arg[08] = -jvmOutMode=append
-> arg[09] = -stdOutFile=/usr/sap/SMD/J98/work/std_SMDAgent.out
-> arg[10] = -stdOutMode=append
-> arg[11] = -traceMode=append
-> arg[12] = -locOutFile=/usr/sap/SMD/J98/work/dev_SMDAgent
-> arg[13] = -mode=JCONTROL
-> arg[14] = pf=/usr/sap/SMD/SYS/profile/SMD_J98_*******
-> lib path = LD_LIBRARY_PATH=/opt/j2sdk1.4.2_12/jre/lib/sparcv9/server:/opt/j2sdk1.4.2_12/jre/lib/sparcv9:/opt/j2sdk1.4.2_12
/jre/../lib/sparcv9:/usr/sap/SMD/exe:/usr/lib:/usr/sap/SMD/exe:/usr/sap/SMD/exe
-> exe path = PATH=/opt/j2sdk1.4.2_12/bin:/usr/sap/SMD/exe:.:/export/home/smdadm:/usr/sap/SMD/exe:/usr/bin:/bin:/usr/sbin:/sb
in:/usr/local/bin:/usr/ccs/bin:/usr/ucb
**********************************************************************
[Thr 1] Fri Mar 28 16:42:51 2008
[Thr 1] JStartupICreateProcess: fork process (pid 17349)
[Thr 1] JControlICheckProcessList: process SMDAgent started (PID:17349)
[Thr 1] Fri Mar 28 16:47:25 2008
[Thr 1] JControlSigInt: signal = 2
[Thr 1] JControlIStopInstance: shutting down (command: 0)
[Thr 1] JControlIProcessSoftKill: soft kill of process SMDAgent (pid:17349)
[Thr 1] Fri Mar 28 16:47:26 2008
[Thr 1] JControlICheckProcessList: process SMDAgent (pid:17349) died (STOPPING)
[Thr 1] JControlIResetProcess: reset process SMDAgent
[Thr 1] JControlCloseProgram: started (exitcode = 0)
[Thr 1] JControlCloseProgram: good bye... (exitcode = 0)
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.