cancel
Showing results for 
Search instead for 
Did you mean: 

error during the diagnostic agents registration

Former Member
0 Kudos

Hi SAP, Getting error while registering DAA in solution manager. 1. stop DAA 2. go to script /usr/sap/DAA/SMDA98/script 3. run the scipt ./smdsetup sldconf hostname:"test" port:"8102" user:"SLDDSUSER" pwd:"test123" Got the below error. TEST:smpadm 53> ./smdsetup.sh sldconf hostname:"test" port:"8102" user:"SLDDSUSER" pwd:"test123" _________________________________________________________________________ SAP Solution Manager - Diagnostics Agent  - Copyright (c) 2012 SAP AG _________________________________________________________________________ ------- VM Properties ---------- OS                            : Linux OS Version                    : 3.0.76-0.11-default OS Architecture              : amd64 OS data model                : 64 Java Vendor                  : SAP AG Java Home                    : /usr/sap/DAA/SMDA98/exe/sapjvm_6/jre Java Version                  : 1.6.0_71 Java Classpath                : .:lib/patch_7.10.8.0.20140401000004/launcher/smdagentlauncher.jar:lib/patch_7.10.8.0.20140401000004/sapxmltoolkit.jar:lib/patch_7.10.8.0.20140401000004/smdagent.jar:lib/patch_7.10.8.0.20140401000004/tc_sec_secstorefs.jar:lib/patch_7.10.8.0.20140401000004/iaik_jce_export.jar:lib/patch_7.10.8.0.20140401000004/smdserver.jar:lib/patch_7.10.8.0.20140401000004/logging.jar:lib/patch_7.10.8.0.20140401000004/exception.jar:lib/patch_7.10.8.0.20140401000004/sldclient.jar:lib/patch_7.10.8.0.20140401000004/sldserv.jar:lib/patch_7.10.8.0.20140401000004/jARM.jar:lib/patch_7.10.8.0.20140401000004/httpclient.jar:lib/patch_7.10.8.0.20140401000004/sapj2eeclient.jar: Java Runtime version          : 6.1.064 Java Specfic. version        : 1.6 File Encoding                : UTF-8 Console Encoding              : null HTTP Proxy                    : null HTTP Proxy port              : null HTTP non Proxy hosts          : null smd class version:            : 7.10.8.0.20140331232159 -------------------------------- Check Prerequisites: OK. [-] Diagnostics agent maintenance setup starting ... ---------------------------------------------------- Execute the action 'sldconf' to update the sld configuration for agent registration in SLD. ! Error ! during diagnostics agent sld configuration generation. Exception: java.io.FileNotFoundException: configuration/runtime.properties (Permission denied)         at java.io.FileOutputStream.open(Native Method)         at java.io.FileOutputStream.(FileOutputStream.java:193)         at java.io.FileOutputStream.(FileOutputStream.java:145)         at com.sap.smd.setup.tasks.AgentConfigurationGenerator.writeRuntimeProperties(AgentConfigurationGenerator.java:237)         at com.sap.smd.setup.tasks.agent.configuration.AgentSetupWithSLD.generateRuntimeProperties(AgentSetupWithSLD.java:177)         at com.sap.smd.setup.tasks.agent.configuration.AgentSetupWithSLD.executeTasks(AgentSetupWithSLD.java:121)         at com.sap.smd.setup.tasks.agent.configuration.AgentSetupWithSLD.executeTasks(AgentSetupWithSLD.java:26)         at com.sap.smd.setup.SetupMaintenance.executeSLDConfUpdate(SetupMaintenance.java:825)         at com.sap.smd.setup.SetupMaintenance.executeTasks(SetupMaintenance.java:265)         at com.sap.smd.setup.SetupMaintenance.main(SetupMaintenance.java:61) Task completed with status ERROR (3) Please help on this. Regards, Venkata

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member182657
Active Contributor
0 Kudos

Hi,

For me the quickest possible solution is to uninstall the DAA & re-install the same with help of SWPM as also suggested by Matt.

You could follow above recommendations for successful executions of DAA.If still you experiences the issue please share the logs again.

For ref you could follow SCN doc at Installation of SMD Agent With SWPM SP04 - SAP Solution Manager Setup - SCN Wiki

& http://wiki.scn.sap.com/wiki/display/SMSETUP/Diagnostics+Agents

Good luck !!

Matt_Fraser
Active Contributor
0 Kudos

Hi Karthik,

Additionally, check that you are using the correct user. SLDDSUSER is typically associated with registrations on SLD, but you are trying to register the agent with SolMan. The typical service user for that is SMD_AGT.

Bear in mind that the quickest and easiest way to register the agent may be to simply uninstall it and reinstall it with the latest SWPM. This doesn't take very long at all, and will probably be much faster than a lot of troubleshooting.

Cheers,

Matt

Former Member
0 Kudos

Hi Karthik,

Please check the permission of the file runtime.properties under /usr/sap/DAA/SMDA98/SMDAgent/configuration/ or check whether the file is present.

Regards,

Rajesh Kumar S