cancel
Showing results for 
Search instead for 
Did you mean: 

Managed system configuration error

former_member1334776
Participant
0 Kudos

Dear Experts,

Pls find the attachment for your reference...

On managed system configuration step4:assign diagonists agent shows error.

I checked for SMD agent but no agent is found...

user SM_EXTERN_WS locked ..i relaesed too....

Then also i cant able to find any agents...

please find the o/p of TXCODE sso2 it displays as

Issuing System for the Logon Ticket

SAP System KRD Client 301

Certificate of the Issuing System for the Logon Ticket

Owner                        CN=KRD

Issuer                       CN=KRD

Serial Number                20121126110116

Validity                     20121126 110116 20380101 000001

Check Sum                    1E:38:2E:BC:D9:43:66:EA:4F:11:50:FF:86:17:7E:9E

Profile Parameters login/create_sso2_ticket = 0

     System KRD Is not Creating Logon Tickets

     The Certificate for System KRD Is not Included In the Certificate List for System KSM

     System KSM Does not Accept Verified Logon Tickets for System KRD

I checked the smd.0.connector.listener.log but i cant able to understand.....

Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]] Info  [SMDAgent.IConnectionStatusListener.statusChanged] SMD Agent connection status changed from INITIAL to CONNECTING
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]] Info  [SMDAgent.IConnectionStatusListener.statusChanged] SMD Agent connection status changed from CONNECTING to DISABLED

SMDSystem.0.log

Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                ] Info  [SMDConnector.resetBroker] p4 broker initialized.
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                ] Info  Offline mode activated (no p4 connection url found in runtime.properties)
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                ] Info  [AgentAppStartupManager.offlineStartAppsIfNeeded] start agent applications.
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                ] WarningEncryption will be disabled because property smd.server.encryption.definition was not found on the server
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                ] Info  [AgentContext.startApplications] Starting Agent Applications...
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                ] Info  Found application : 'com.sap.smd.agent.application.runtime' in folder 'com.sap.smd.agent.application.runtime_7.10.1.0.20110706111553'.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                ] Info  SMD Patch Installer: Nothing to do ... already patched at: /usr/sap/DAA/SMDA97/SMDAgent/lib/patch_7.10.1.0.20110706111553
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                ] Info  Initialization done.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                ] Info  Service provider initialized.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                ] Info  [AgentContext.startApplications] Agent Applications started.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                ] Info  Smd connector has been disabled

I checked with jarm.log it shows as

Wed Jan 23 11:06:21 IST 2013 INFO:JARM started
Wed Jan 23 11:06:21 IST 2013 INFO:Profile 'profile/jarm.properties' not found in current directory
Wed Jan 23 11:06:21 IST 2013 INFO:Profile 'profile/jarm.properties' not found in classpath
Wed Jan 23 11:06:21 IST 2013 INFO:Running without using profile 'profile/jarm.properties'
Wed Jan 23 11:06:21 IST 2013 INFO:Set parameter jarm/condense/daemon = off
Wed Jan 23 11:06:21 IST 2013 INFO:Set parameter jarm/rmi/startregistry = off
Wed Jan 23 11:06:21 IST 2013 INFO:Set parameter jarm/comp/properties/set/switch = off
Wed Jan 23 11:06:21 IST 2013 INFO:Set parameter jarm/tracemode/switch = off
Wed Jan 23 11:06:21 IST 2013 INFO:Set parameter jarm/rmi/switch = off
Wed Jan 23 11:06:21 IST 2013 INFO:Set parameter jarm/instrumentation/check = off
Wed Jan 23 11:06:21 IST 2013 INFO:Set parameter jarm/switch = off
Wed Jan 23 11:06:21 IST 2013 INFO:Log file 'jarm.log' opened in directory '/usr/sap/DAA/SMDA97/SMDAgent'
Wed Jan 23 11:06:21 IST 2013 INFO:JARM properties initialization is ready
Wed Jan 23 11:06:21 IST 2013 INFO:Set parameter jarm/switch = off

I kindly suggest you help me out how to continue the next step in configuration...

Thanks,

Thamodaran.

Accepted Solutions (1)

Accepted Solutions (1)

former_member185239
Active Contributor
0 Kudos

Hi Gopal,

Goto the below directory

Execute the script in /usr/sap/DAA/SMDA97/script

smdsetup.sh managingconf hostname:"give the solman hostname" port:"50004" user:"solman_admin" pwd:"password of solman admin" servername:"managed system hostname"

With this command you will not be able to see the agents in SLD Agent Candidate.

To register with SLD

smdsetup.sh sldreg syntax though sap not recommend this.

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

With Regards

Ashutosh Chaturvedi

former_member1334776
Participant
0 Kudos

Dear Ashutosh Chaturvedi,

In this folder  /usr/sap/DAA/SMDA97/script i can find only one smdsetup.sh.

I edited that but i cannot able to see that line.....

can you please tell me what to do at now state.....

Thanks,

Thamodaran.


former_member185239
Active Contributor
0 Kudos

Hi Thamo,

Now  Logon with daaadm user and run the below command

smdsetup.sh managingconf hostname:"give the solman hostname" port:"50004" user:"solman_admin" pwd:"password of solman admin" servername:"managed system hostname"

With Regards

Ashutosh Chaturvedi

former_member185239
Active Contributor
0 Kudos

Hi Thamo,

Let me know the progress!!

With Regrads

Ashutosh

former_member1334776
Participant
0 Kudos

Dear

i executed but i got an error message

solman:daaadm 57> smdsetup.sh managingconf hostname:solman.ksidc.org:50004:solman_admin:system1:erpdev.ksidc.org

_________________________________________________________________________

SAP Solution Manager - Diagnostics Agent  - Copyright (c) 2010 SAP AG

______________________________________________________________________

------- VM Properties ----------

OS                            : Linux

OS Version                    : 3.0.13-0.27-default

OS Architecture               : amd64

OS data model                 : 64

Java Vendor                   : SAP AG

Java Home                     : /usr/sap/DAA/SMDA97/exe/sapjvm_6/jre

Java Version                  : 1.6.0_26

Java Classpath                : .:lib/patch_7.10.1.0.20110706111553/launcher/smdagentlauncher.jar:lib/patch_7.10.1.0.20110706111553/sapxmltoolkit.jar:lib/patch_7.10.1.0.20110706111553/smdagent.jar:lib/patch_7.10.1.0.20110706111553/tc_sec_secstorefs.jar:lib/patch_7.10.1.0.20110706111553/iaik_jce_export.jar:lib/patch_7.10.1.0.20110706111553/smdserver.jar:lib/patch_7.10.1.0.20110706111553/logging.jar:lib/patch_7.10.1.0.20110706111553/exception.jar:lib/patch_7.10.1.0.20110706111553/sldclient.jar:lib/patch_7.10.1.0.20110706111553/sldserv.jar:lib/patch_7.10.1.0.20110706111553/jARM.jar:lib/patch_7.10.1.0.20110706111553/httpclient.jar:lib/patch_7.10.1.0.20110706111553/sapj2eeclient.jar:

Java Runtime version          : 6.1.036

Java Specfic. version         : 1.6

File Encoding                 : UTF-8

HTTP Proxy                    : null

HTTP Proxy port               : null

HTTP non Proxy hosts          : null

smd class version:            : 7.10.1.0.20110706111553

--------------------------------

Check Prerequisites:

OK.

[-] Diagnostics agent maintenance setup starting ...

----------------------------------------------------

Execute the action 'managingconf' to update connection information to connect to Managing system.

Error occurs during the task execution.

Exception:

java.lang.IllegalArgumentException: SAPInst parameter 'port' is empty.

        at com.sap.smd.setup.SetupTask.getParameter(SetupTask.java:259)

        at com.sap.smd.setup.SetupMaintenance.executeManagingConfUpdate(SetupMaintenance.java:706)

        at com.sap.smd.setup.SetupMaintenance.executeTasks(SetupMaintenance.java:236)

        at com.sap.smd.setup.SetupMaintenance.main(SetupMaintenance.java:54)

Thnaks,

Thamodaran

former_member185239
Active Contributor
0 Kudos

Dear Thamo,

can you paste the command

With Regards

Ashutosh

Former Member
0 Kudos

Hi Thamo,

Execute this command:

./smdsetup.sh managingconf hostname:"solman.ksidc.org" port:"50004" user:"solman_admin" pwd:"system1"

Let me know the outcome.

Regards,

David

former_member1334776
Participant
0 Kudos

Dear David,

Please find the output for your command...

SAP Solution Manager - Diagnostics Agent  - Copyright (c) 2010 SAP AG

_________________________________________________________________________

------- VM Properties ----------

OS                            : Linux

OS Version                    : 3.0.13-0.27-default

OS Architecture               : amd64

OS data model                 : 64

Java Vendor                   : SAP AG

Java Home                     : /usr/sap/DAA/SMDA97/exe/sapjvm_6/jre

Java Version                  : 1.6.0_26

Java Classpath                : .:lib/patch_7.10.1.0.20110706111553/launcher/smdagentlauncher.jar:lib/patch_7.10.1.0.20110706111553/sapxmltoolkit.jar:lib/patch_7.10.1.0.20110706111553/smdagent.jar:lib/patch_7.10.1.0.20110706111553/tc_sec_secstorefs.jar:lib/patch_7.10.1.0.20110706111553/iaik_jce_export.jar:lib/patch_7.10.1.0.20110706111553/smdserver.jar:lib/patch_7.10.1.0.20110706111553/logging.jar:lib/patch_7.10.1.0.20110706111553/exception.jar:lib/patch_7.10.1.0.20110706111553/sldclient.jar:lib/patch_7.10.1.0.20110706111553/sldserv.jar:lib/patch_7.10.1.0.20110706111553/jARM.jar:lib/patch_7.10.1.0.20110706111553/httpclient.jar:lib/patch_7.10.1.0.20110706111553/sapj2eeclient.jar:

Java Runtime version          : 6.1.036

Java Specfic. version         : 1.6

File Encoding                 : UTF-8

HTTP Proxy                    : null

HTTP Proxy port               : null

HTTP non Proxy hosts          : null

smd class version:            : 7.10.1.0.20110706111553

--------------------------------

Check Prerequisites:

OK.

[-] Diagnostics agent maintenance setup starting ...

----------------------------------------------------

Execute the action 'managingconf' to update connection information to connect to Managing system.

STEP 1 - File configuration/runtime.properties generated.

External Command Executed:

/usr/sap/DAA/SMDA97/exe/sapjvm_6/bin/java -DP4ClassLoad=P4Connection -Dsap.p4.remote_classloading=false -cp ".:lib/patch_7.10.1.0.20110706111553/launcher/smdagentlauncher.jar:lib/patch_7.10.1.0.20110706111553/sapxmltoolkit.jar:lib/patch_7.10.1.0.20110706111553/smdagent.jar:lib/patch_7.10.1.0.20110706111553/tc_sec_secstorefs.jar:lib/patch_7.10.1.0.20110706111553/iaik_jce_export.jar:lib/patch_7.10.1.0.20110706111553/smdserver.jar:lib/patch_7.10.1.0.20110706111553/logging.jar:lib/patch_7.10.1.0.20110706111553/exception.jar:lib/patch_7.10.1.0.20110706111553/sldclient.jar:lib/patch_7.10.1.0.20110706111553/sldserv.jar:lib/patch_7.10.1.0.20110706111553/jARM.jar:lib/patch_7.10.1.0.20110706111553/httpclient.jar:lib/patch_7.10.1.0.20110706111553/sapj2eeclient.jar:" com.sap.security.core.server.secstorefs.SecStoreFS  create -f /usr/sap/DAA/SMDA97/SMDAgent/configuration/secstore.properties -k "" -noenc

secstore.properties: has been created.

secstore.properties: update the property smd/agent/User but no previous value existing, so use insert method.

secstore.properties: property smd/agent/User updated.

secstore.properties: update the property smd/agent/Password but no previous value existing, so use insert method.

secstore.properties: property smd/agent/Password updated.

STEP  - Agent secstore file generated.

Task completed with status SUCCESS (0)

Thanks,

thamu.

Former Member
0 Kudos

Okay!

So now your agent should be visible...

Not in SLD view, but you should be able to connect to it.

If you want it available in SLD View as well execute the following command:

./smdsetup.sh sldconf hostname:"solman.ksidc.org" port:"50000" user:"solman_admin" pwd:"system1"

Let me know!

Regards,

David

former_member185239
Active Contributor
0 Kudos

Now restart the diagnostic agent

With Regards

Ashutosh Chaturvedi

Answers (1)

Answers (1)

Former Member
0 Kudos

you need to connect your smd agent to SCS P4 port (usually 8104).

Execute the script in /usr/sap/DAA/SMDA97/script

Next check the log SMDSystem.*.log

Here you should see it connect

former_member1334776
Participant
0 Kudos

Dear

i executed the script but no changes in SMDSystem.*.log

./smdsetup.sh

-] Diagnostics agent maintenance setup starting ...

----------------------------------------------------

>> Help Information

----------------------

Script which allows to update some diagnostics agent configuration.

smdsetup <action> <parameters>

List of actions:

* smdsetup secstorej2ee      user:"<value>" pwd:"<value>"

* smdsetup secstoresld       user:"<value>" pwd:"<value>"

* smdsetup sldconf           hostname:"<fqn>" port:"<http port>"

                             [optional user:"<value>" pwd:"<value>"]

* smdsetup managingconf      hostname:"sapms://<fqn>" port:"<MS httpPort>"

                              [optional user:"<...>" pwd:"<...>"

  * smdsetup managingconf      hostname:"<fqn>" port:"<p4 port>"

                              [optional user:"<value>" pwd:"<value>"

* smdsetup changeservername  servername:"<value>"

* smdsetup removeservername  Remove the current ServerName stored in agent configuration.

* smdsetup addsaprouter      route:"<value>"

  * smdsetup saprouterpass     pass:"<value>"

* smdsetup removesaprouter   no parameters.

* smdsetup certificate       operation:"ADD or DEL" alias:"<value>" pwd:"<value>" file:"<keystore file path>" import_type:"generic, p4s or p4c"

* smdsetup certificate       operation:"ADD_CA or DEL_CA" alias:"<value>" ca_type:"generic, p4s or p4c" file:"<CER file path>"

* smdsetup upgradeunixscript no parameters. (SMD agent installation >= SPS13)

* smdsetup supportlogs       Collect information for SAP Support.

* smdsetup hostagentconf     Configure the instroscope host agent to report performance data to Entreprise manager.

                              (by default the host agent is disabled, state: off)

                              emhost:"<fqn of EM>" emport:"<server port of EM>"

                              [optional template:"<value>" state:"on or off"]

* smdsetup hostagent         Activate the host agent with parameter -> state:[on][off]

Task completed with status SUCCESS (0)

SMDSystem.*.log

Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   [SMDConnector.resetBroker] p4 broker initialized.
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   Offline mode activated (no p4 connection url found in runtime.properties)
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   [AgentAppStartupManager.offlineStartAppsIfNeeded] start agent applications.
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] WarningEncryption will be disabled because property smd.server.encryption.definition was not found on the server
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   [AgentContext.startApplications] Starting Agent Applications...
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   Found application : 'com.sap.smd.agent.application.runtime' in folder 'com.sap.smd.agent.application.runtime_7.10.1.0.20110706111553'.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   SMD Patch Installer: Nothing to do ... already patched at: /usr/sap/DAA/SMDA97/SMDAgent/lib/patch_7.10.1.0.20110706111553
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   Initialization done.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   Service provider initialized.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   [AgentContext.startApplications] Agent Applications started.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   Smd connector has been disabled
"SMDSystem.0.log" [readonly] 2143L, 316774C                                      2143,1    Bot

Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   [SMDConnector.resetBroker] p4 broker initialized.
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   Offline mode activated (no p4 connection url found in runtime.properties)
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   [AgentAppStartupManager.offlineStartAppsIfNeeded] start agent applications.
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] WarningEncryption will be disabled because property smd.server.encryption.definition was not found on the server
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   [AgentContext.startApplications] Starting Agent Applications...
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   Found application : 'com.sap.smd.agent.application.runtime' in folder 'com.sap.smd.agent.application.runtime_7.10.1.0.20110706111553'.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   SMD Patch Installer: Nothing to do ... already patched at: /usr/sap/DAA/SMDA97/SMDAgent/lib/patch_7.10.1.0.20110706111553
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   Initialization done.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   Service provider initialized.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   [AgentContext.startApplications] Agent Applications started.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   Smd connector has been disabled
"SMDSystem.0.log" [readonly] 2143L, 316774C                                      2143,1    Bot

Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   [SMDConnector.resetBroker] p4 broker initialized.
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   Offline mode activated (no p4 connection url found in runtime.properties)
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   [AgentAppStartupManager.offlineStartAppsIfNeeded] start agent applications.
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] WarningEncryption will be disabled because property smd.server.encryption.definition was not found on the server
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   [AgentContext.startApplications] Starting Agent Applications...
Jan 23, 2013 11:06:21 AM [Thread[Connector,5,main]                 ] Info   Found application : 'com.sap.smd.agent.application.runtime' in folder 'com.sap.smd.agent.application.runtime_7.10.1.0.20110706111553'.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   SMD Patch Installer: Nothing to do ... already patched at: /usr/sap/DAA/SMDA97/SMDAgent/lib/patch_7.10.1.0.20110706111553
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   Initialization done.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   Service provider initialized.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   [AgentContext.startApplications] Agent Applications started.
Jan 23, 2013 11:06:25 AM [Thread[Connector,5,main]                 ] Info   Smd connector has been disabled
"SMDSystem.0.log" [readonly] 2143L, 316774C                                      2143,1    Bot

pls suggest me now to go...

Thanks,

Thamodaran.

Former Member
0 Kudos

Don't forget to set the parameters

Most likely the syntax should look like this:

./smdsetup.sh managingconf hostname:"your.fullhostname" port:"8104" user:"user" pwd:"password"

Hope it helps.

Regards,

David

former_member1334776
Participant
0 Kudos

Dear David,

Were to set my parameters as i can able to login http://hostname.8000/smd

But whether i want to set parameters on dev system too

login/accept_sso2_ticket=0


pls find the screen displayed on SOLMAN_SETUP


Pls guide to proceed..

Thanks,

Thamodaran.

Former Member
0 Kudos

With parameters I mean the options in the script....

Take the syntax I provided, change the variables (so enter your fqdn, user and password on the right places and execute the script