cancel
Showing results for 
Search instead for 
Did you mean: 

Diagnostic Agent can't connect to Solution Manager

Former Member
0 Kudos

Dear Experts,

I got the following message in the SMDsystem.x log file when I tried to configure manually the connection of Diagnostic Agent to Solution Manager.

Jun 25, 2012 4:54:01 PM [Thread[Connector,5,main]                     ] Info       [SMDConnector.resetBroker] reset the p4 broker (close:true)

Jun 25, 2012 4:54:01 PM [Thread[Connector,5,main]                     ] Info       [SMDConnector.resetBroker] p4 broker closed.

Jun 25, 2012 4:54:01 PM [Thread[Connector,5,main]                     ] Info       Local P4 port opened on port '59804'.

Jun 25, 2012 4:54:01 PM [Thread[Connector,5,main]                     ] Info       Local P4 server configured with transport layer 'None'.

Jun 25, 2012 4:54:01 PM [Thread[Connector,5,main]                     ] Info       [P4ServerController] Remote object 'com.sap.smd.agent.remote.handle' (com.sap.smd.agent.AgentHandle@36eb7331) is available in P4 Object Broker.

Jun 25, 2012 4:54:01 PM [Thread[Connector,5,main]                     ] Info       [SMDConnector.resetBroker] p4 broker initialized.

Jun 25, 2012 4:54:01 PM [Thread[Connector,5,main]                     ] Info       [p4://solman.crgroup.int:8101] Checking server availability...

Jun 25, 2012 4:54:22 PM [Thread[Connector,5,main]                     ] Error      Failed to connect to SMD server - user: SMD_ADMIN

Jun 25, 2012 4:54:22 PM [Thread[Connector,5,main]                     ] Warning    Connecting to SMD server p4://solman.crgroup.int:8101 failed - error counter: 96 - com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: Cannot establish connection with any of the available instances:

solman.crgroup.int:8101 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection on host: 10.1.1.9 and port: 8101]

What would be the problem?

regards,

Abraham

Accepted Solutions (0)

Answers (1)

Answers (1)

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

SMD agent is not able to connect to solution manager neither with message server nor with P4 port. Check below link to troubleshoot.

http://wiki.sdn.sap.com/wiki/display/SM/Troubleshooting+SMD+Agents

Thanks

Sunny

nicholas_chang
Active Contributor
0 Kudos

on top of that, could you please ensure port 8101 is opened on you satelite system and solman.

run telnet solman 8101

Thanks,

Nicholas Chang

Former Member
0 Kudos

Thanks guys for giving me some advices,

There're no firewall on for both servers as there are located in the same LAN.

I tried to change the SMD_ADMIN's password in Solution Manager, and ran smdsetup again in managed system with the new password, then I restarted the Diagnostic Agent.

The following is the new message logged in SMDsystem.x log file.

]                          ] Info       _______ Starting SMDAgent ..._______

Jun 25, 2012 5:52:57 PM [Thread[main,5,main]                          ] Info       Agent path: C:\usr\sap\DAA\SMDA98\SMDAgent

Jun 25, 2012 5:52:57 PM [Thread[main,5,main]                          ] Info       Agelets path: C:\usr\sap\DAA\SMDA98\SMDAgent\applications

Jun 25, 2012 5:52:57 PM [Thread[main,5,main]                          ] Info       Agelets configuration path: C:\usr\sap\DAA\SMDA98\SMDAgent\applications.config

Jun 25, 2012 5:52:57 PM [Thread[main,5,main]                          ] Info       Create an Execution Manager default @ 29876954

Jun 25, 2012 5:52:57 PM [Thread[main,5,main]                          ] Info       SLD configuration not found to register the agent, SLD Agent Registration is skipped.

Jun 25, 2012 5:52:57 PM [Thread[main,5,main]                          ] Info       Reading JStartup environment...

Jun 25, 2012 5:52:57 PM [Thread[main,5,main]                          ] Info       'SAPLOCALHOST' found, The value 'phoenix' will be used to determine the Agent name.

Jun 25, 2012 5:52:57 PM [Thread[main,5,main]                          ] Info       InetAddress Resolving for 'phoenix' - FQN: phoenix SQN: phoenix IP: 10.1.1.1

Jun 25, 2012 5:52:57 PM [Thread[main,5,main]                          ] Info       InetAddress Resolving for localhost - FQN: phoenix SQN: phoenix IP: 10.1.1.1

Jun 25, 2012 5:52:57 PM [Thread[main,5,main]                          ] Info       [SMDAgent.locateSolManServer]===> Establishing P4 connection to server 'p4://solman.crgroup.int:8101

Jun 25, 2012 5:52:57 PM [Thread[Connector,5,main]                     ] Info       [SMDConnector.resetBroker] reset the p4 broker (close:true)

Jun 25, 2012 5:52:57 PM [Thread[Connector,5,main]                     ] Info       Local P4 port opened on port '59804'.

Jun 25, 2012 5:52:57 PM [Thread[Connector,5,main]                     ] Info       Local P4 server configured with transport layer 'None'.

Jun 25, 2012 5:52:57 PM [Thread[Connector,5,main]                     ] Info       [P4ServerController] Remote object 'com.sap.smd.agent.remote.handle' (com.sap.smd.agent.AgentHandle@58e5f46e) is available in P4 Object Broker.

Jun 25, 2012 5:52:57 PM [Thread[Connector,5,main]                     ] Info       [SMDConnector.resetBroker] p4 broker initialized.

Jun 25, 2012 5:52:57 PM [Thread[Connector,5,main]                     ] Info       [p4://solman.crgroup.int:8101] Checking server availability...

Jun 25, 2012 5:53:28 PM [Thread[Connector,5,main]                     ] Error      Failed to connect to SMD server - user: SMD_ADMIN

Jun 25, 2012 5:53:28 PM [Thread[Connector,5,main]                     ] Info       [AgentAppStartupManager.offlineStartAppsIfNeeded] start agent applications.

Jun 25, 2012 5:53:28 PM [Thread[Connector,5,main]                     ] Warning    Encryption will be disabled because property smd.server.encryption.definition was not found on the server

Jun 25, 2012 5:53:28 PM [Thread[Connector,5,main]                     ] Info       [AgentContext.startApplications] Starting Agent Applications...

Jun 25, 2012 5:53:28 PM [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.20110405103154'.

Jun 25, 2012 5:53:28 PM [Thread[Connector,5,main]                     ] Info       SMD Patch Installer: Nothing to do ... already patched at: C:\usr\sap\DAA\SMDA98\SMDAgent\lib\patch_7.10.1.0.20110405103154

Jun 25, 2012 5:53:28 PM [Thread[Connector,5,main]                     ] Info       Initialization done.

Jun 25, 2012 5:53:28 PM [Thread[Connector,5,main]                     ] Info       Service provider initialized.

Jun 25, 2012 5:53:28 PM [Thread[Connector,5,main]                     ] Info       [AgentContext.startApplications] Agent Applications started.

Jun 25, 2012 5:53:28 PM [Thread[Connector,5,main]                     ] Warning    Connecting to SMD server p4://solman.crgroup.int:8101 failed - error counter: 1 - com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: Cannot establish connection with any of the available instances:

solman.crgroup.int:8101 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection on host: 10.1.1.9 and port: 8101]

What else did I miss out?

regards,

Abraham

nicholas_chang
Active Contributor
0 Kudos

the easier way is uninstall the DAA and install again, and see how it goes.

nicholas_chang
Active Contributor
0 Kudos

the easier way is uninstall the DAA and install again, and see how it goes.

Former Member
0 Kudos

Hi Abrahm

Please make sure all the agent related user on the OS  level  have full access.  ??

Best Regards

Jai Wardhan

Former Member
0 Kudos

You're right Nicholas, I did what you suggested by uninstalling and reinstallating the Diagnostic Agent, and it works now.

thanks guys for your helps.

regards,

Abraham