on 10-17-2013 6:43 AM
Hi Nainesh,
From the command prompt, change the directory to Drive:\usr\sap\DAA\SMDA97\script and run the script
smdsetup managingconf hostname:"sapms://solman.full.qual.host.name" port:"8101" user:"SMD_ADMIN" pwd:"XXXXXXXX"
and paste us the screenshot.
regards
kartik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Goto the below directory
Execute the script in /usr/sap/DAA/SMDA97/script
smdsetup.sh managingconf hostname:"give the solman hostname" port:"5XX04" user:"solman_admin" pwd:"password of solman admin" servername:"managed system hostname"
execute it.
Now Restart the Diagnostic agent with daaadm user.
command for the same is
Execute the script in /usr/sap/DAA/SMDA97/exe directory andexecute the below command
stopsap SMDA<instanceid> this will stop the smd agent
startsap SMDA<insatnceid> this will start the smd agent
Thanks
RishI abrol
I do this it ok
D:\usr\sap\DAA\SMDA97\exe>stopsap SMDA97 00 ailsaptest
STOPSAP: execution of sapntwaitforhalt.exe SMDA97 00 ailsaptest 3600 failed
Details are written to D:\usr\sap\DAA\SMDA97\exe\stopsap.log
D:\usr\sap\DAA\SMDA97\exe>startsap SMDA97 00 ailsaptest
STARTSAP continues...
D:\usr\sap\DAA\SMDA97\exe>stopsap SMDA97
nanesh
D:\usr\sap\DAA\SMDA97\exe>stopsap SMDA97 00 ailsaptest
D:\usr\sap\DAA\SMDA97\exe>startsap SMDA97 00 ailsaptest
STARTSAP continues...
D:\usr\sap\DAA\SMDA97\exe>stopsap SMDA97
nanesh
I dont think that you need this in (00 ailsaptest) there.
Stop an smd agent you just need to give stopsap SMDA97.
same is start smdagent
startsap SMDA97 or startsap 97
Thanks
Rishi Abrol
Dear Risi I give log when i go to stop
SAPSRVKILL failed on __00: The filename, directory name, or volume label syntax is incorrect., CreateFile failed in plugin_pipefopen()
Error occured when waiting for halt on __00.
sapntwaitforhalt.exe=>sapparam(1c): No Profile used.
sapntwaitforhalt.exe=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
running sapsrvkill.exe __00
running sapntwaitforhalt.exe SMDA97 00 ailsaptest 3600
Nainesh
9376998808
Hi,
Please try this.
If this works then this is because of the below note.
1903632 - sapcontrol - "CreateFile failed in plugin_pipefopen()" error occurs sporadically
Thanks
Rishi Abrol
Hi Nainesh,
Its better to uninstall and re-install the diagnostic agent with SWPM.
1. Download diagnostic agent 7.3 from the below location
http://service.sap.com/swdc -> Software Downloads -> Support Packages and Patches -> Browse our Download Catalog SAP -> Technology Components -> SAP SOLUTION MANAGER -> SAP SOLUTION MANAGER 7.1 -> Entry by Component -> Agents for Managed systems -> DIAGNOSTICS AGENT 7.3 -> <choose operating system of managed>
2. Use Software Provisioning Manager - SWPM10SP03_9-20009707.SAR
download from Support Packages and Patches - S" SL TOOLSET" SL TOOLSET 1.0" Entry by Component" Software Provisioning Manager- Your operating system
3. Download any one of below kernel
-- SWPM 1.0 SP3 720 Kernel, unicode, 32-bit
-- SWPM 1.0 SP3 720 Kernel, unicode, 64-bit
-- SWPM 1.0 SP3 720_EXT Kernel, unicode, 64-bit (refer to sap note: 1858920 - Diagnostics Agent installation with SWPM)
4. Use SWPM to uninstall the existing diagnostic agent and reinstall using the same
regards
kartik
Hello
I would consider the above suggestions for re-installation only if that is the ultimate solution.
Else I consider them as the laziest recommendations.
For sure there are logs which can guide to fix the issue rather than re-installing the SMD agent
Have you checked the latest logs at /usr/sap/SMD/SMDA98/work ?
I suggest you to check the logs dev_smdagent and jvm_smdagent.out
If there are memory related issues then I would check the memory configuration for the SMD agent in the smdagent.properties file present at /usr/sap/SMD/SMDA98/SMDAgent
Good Luck
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check these links
http://wiki.scn.sap.com/wiki/display/SMSETUP/Diagnostics+Agent+Troubleshooting
http://wiki.scn.sap.com/wiki/display/SMSETUP/Diagnostics+Agents
http://wiki.scn.sap.com/wiki/display/SM/FAQ+Diagnostics+Agent
Note 1707141 - Diagnostics Agent - How to upgrade SAP Kernel
Note 1365123 - Installation of Diagnostics Agents
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nainesh,
Just a suggestion as it will take very less time only.
Why dont you try to reinstall as it will take very less time?
Regards,
Raja. g
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nainesh,
Please paste us the dev_smdagent log files.
regards
kartik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<!--LOGHEADER[START]/-->
<!--HELP[Manual modification of the header may cause parsing problem!]/-->
<!--LOGGINGVERSION[1.5.3.7185 - 630]/-->
<!--NAME[SMDSystemLog]/-->
<!--PATTERN[SMDSystem.log]/-->
<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%t] %10s %m)]/-->
<!--ENCODING[Cp1252]/-->
<!--FILESET[0, 10, 1000000]/-->
<!--PREVIOUSFILE[SMDSystem.9.log]/-->
<!--NEXTFILE[SMDSystem.1.log]/-->
<!--LOGHEADER[END]/-->
Oct 16, 2013 4:05:03 PM [Thread[main,5,main]] Info Starting SMDAgent ...
Oct 16, 2013 4:05:03 PM [Thread[main,5,main]] Info Agent path: D:\usr\sap\DAA\SMDA97\SMDAgent
Oct 16, 2013 4:05:03 PM [Thread[main,5,main]] Info Agelets path: D:\usr\sap\DAA\SMDA97\SMDAgent\applications
Oct 16, 2013 4:05:03 PM [Thread[main,5,main]] Info Agelets configuration path: D:\usr\sap\DAA\SMDA97\SMDAgent\applications.config
Oct 16, 2013 4:05:05 PM [Thread[main,5,main]] Warning [checkBootstrapDeployment] Cannot delete the file D:\usr\sap\DAA\SMDA97\SMDAgent\bootstrap\com.sap.smd.agent.application.runtime_7.10.0.0.20100622171046.war_1381919705114.bak
Oct 16, 2013 4:05:07 PM [Thread[main,5,main]] Info Reading JStartup environment...
Oct 16, 2013 4:05:07 PM [Thread[main,5,main]] Info 'SAPLOCALHOST' found, The value 'ailsaptest' will be used to determine the Agent name.
Oct 16, 2013 4:05:07 PM [Thread[main,5,main]] Info InetAddress Resolving for 'ailsaptest' - FQN: ailsaptest.anupamgroup.com SQN: ailsaptest IP: 172.17.11.40
Oct 16, 2013 4:05:07 PM [Thread[main,5,main]] Info InetAddress Resolving for localhost - FQN: ailsaptest.anupamgroup.com SQN: ailsaptest IP: 172.17.11.40
Oct 16, 2013 4:05:07 PM [Thread[main,5,main]] Info [SMDConnector.reset] in progress ...
Oct 16, 2013 4:05:07 PM [Thread[main,5,main]] Info [SMDConnector.reset] Done.
Oct 16, 2013 4:05:07 PM [Thread[main,5,main]] Info Offline mode activated (reason no p4 connection url found in runtime.properties)
Oct 16, 2013 4:05:07 PM [Thread[main,5,main]] Info [AgentContext.startApplications] Starting Agent Applications...
Oct 16, 2013 4:05:07 PM [Thread[main,5,main]] Info Found application : 'com.sap.smd.agent.application.runtime' in folder 'com.sap.smd.agent.application.runtime_7.10.0.0.20100622171046'.
Oct 16, 2013 4:05:08 PM [Thread[main,5,main]] Info SMD Patch Installer: Patching SMD Agent - source D:\usr\sap\DAA\SMDA97\SMDAgent\applications\com.sap.smd.agent.application.runtime_7.10.0.0.20100622171046\patches\patch_7.10.0.0.20100622171046 - destination: D:\usr\sap\DAA\SMDA97\SMDAgent\lib\patch_7.10.0.0.20100622171046
Oct 16, 2013 4:05:26 PM [Thread[main,5,main]] Info Starting SMDAgent ...
Oct 16, 2013 4:05:26 PM [Thread[main,5,main]] Info Agent path: D:\usr\sap\DAA\SMDA97\SMDAgent
Oct 16, 2013 4:05:26 PM [Thread[main,5,main]] Info Agelets path: D:\usr\sap\DAA\SMDA97\SMDAgent\applications
Oct 16, 2013 4:05:26 PM [Thread[main,5,main]] Info Agelets configuration path: D:\usr\sap\DAA\SMDA97\SMDAgent\applications.config
Oct 16, 2013 4:05:29 PM [Thread[main,5,main]] Info Starting SMDAgent ...
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.