cancel
Showing results for 
Search instead for 
Did you mean: 

SMD Setup - Error during SMD Setup for JAVA System

Former Member
0 Kudos

Hi,

While Executing SMD Configuration wizard for system FP1(SAP Enterprise

Portal 7.0 SP18) following error is displayed . Step Wilyhost Agent Details

Created destination SapStartSrv_ciFP1_FP1_01

Created destination FP1_JC01_server0

Created action FP1 ciFP1_FP1_01 - SapStartSrv_ciFP1_FP1_01

Created action SAP GC FP1_JC01_server0 - SAP GC FP1_JC01_server0

Created 2 action(s).

1 Wilyhost Agent(s) from host efpdb is connected to the EM.

90 seconds after restarting the WilyHostAgent the data of the following

action is still missing in EM: SAP OsCol - null

Please check SMDAgentApplication log files for warnings and errors. Wilyhost Agent setup finished successfully with limitations. Data of at least one action is not available in EnterpriseManager(bpcsm.corp.bharatpetroleum.com:6001).

I checked SMDAgentApplication log but I see no errors. Wily host status shows green.

any help.

Regards,

Sankar S

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sankar,

If Iam not wrong you be must be in SPS20 or below.

To solve the problem I suggest to upgrade Solution Manager to latest.

Regards,

Shyam

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Gurus,

host_profile is changed as per note 1400891.

now i see

In the SMDAgentApplication.log:

INFO com.sap.smd.wily.hostagent.config.AgentConfigXmlHandler -

startElement(...): Action SAP OsCol is deprecated and will be ignored.

Info com.sap.smd.wily.hostagent.config.AgentConfigVO -

finalizeAction(...): Last acction was ignored.

Info com.sap.smd.wily.hostagent.config.AgentConfigXmlHandler -

startElement(...): Action SAP OsCol is deprecated and will be ignored.

Regards,

Sankar S.

Former Member
0 Kudos

Hi Shyam and Jansi,

thanks for your quick response

now this is what I get

This is en error of saposcol and SAPHostControl configuration:

[EXCEPTION]

com.sap.smd.agent.plugins.datacollector.create.saposcol.exc.SapOsColExc

eption: IO Exception while executing <saposcol -b >

,,at com.sap.smd.agent.plugins.datacollector.create.saposcol.util.SapOsC

olProcess.execute(SapOsColProcess.java:107)

,,at com.sap.smd.agent.plugins.datacollector.os.OsCollect.readSapOsCol(O

sCollect.java:193)

,,at com.sap.smd.agent.plugins.datacollector.os.OsCollect.readStoreConte

nt(OsCollect.java:175)

,,at com.sap.smd.agent.plugins.datacollector.os.OsCollect.collect(OsColl

ect.java:114)

,,at com.sap.smd.agent.plugins.datacollector.os.OsCollectp4_Skel.dispatc

h(OsCollectp4_Skel.java:60)

,,at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchIm

pl.java:319)

,,at

com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)

,,at

com.sap.engine.services.rmi_p4.DispatchImpl.run(DispatchImpl.java:716)

,,at java.lang.Thread.run(Thread.java:678)

Caused by: java.io.IOException: Cannot run program "saposcol":

java.io.IOException: error=2, No such file or directory

,,at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)

,,at java.lang.Runtime.exec(Runtime.java:593)

,,at java.lang.Runtime.exec(Runtime.java:431)

,,at java.lang.Runtime.exec(Runtime.java:328)

,,at com.sap.smd.agent.plugins.datacollector.create.saposcol.util.SapOsC

olProcess.execute(SapOsColProcess.java:104)

,,... 8 more

Caused by: java.io.IOException: java.io.IOException: error=2, No such

file or directory

,,at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)

,,at java.lang.ProcessImpl.start(ProcessImpl.java:65)

,,at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)

,,... 12 more

I checekd notes mentioned by you.

I am checking further

Former Member
0 Kudos

hi

seems the problem due to version,

try with Diagnostic Agent of Higer version like 7.20 or check the below thread suggesting for install SAPOSCOL on the version 7.10

[|]

Check , it may useful.

jansi

Former Member
0 Kudos

Hi Sankar,

Could you please go to section agent administration and verify if you have entered the correct directory in the property smd.file.root_directories in the agent application com.sap.smd.agent.applicatoin.filesystem

read IntroscopeFAQ/introscope troubleshooting guide attached in 797147. please check section 7.7 of them.

Please also run commands

saphostexec -status

saphostexec -version

saposcol #status

post the results. Please also see note 19227.

Regards,

Shyam

Former Member
0 Kudos

hi

check SAPoscol is running or not, if yes, add the SAPoscol as mentioned below note and restart your host agent and Diagnostic agent

[Note 1400891 - OSCommand CPU stat fails and missing Wily Host metrics|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1400891]

jansi