cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent!! How to start SMD Agent

Former Member
0 Kudos

Hi,

When i see in Agent Administration, i could see SMD agent state as offline.

May i know how to make it online.....and how to check whether SMD agent is running or not.....

When i executed the command ./smdstart.sh, i get the following error:

Starting Programs

-


04.10.2007 14:00:15

ShmDetach

FAIL: NIECONN_REFUSED (Connection refused), NiRawConnect failed in plugin_fopen()

(5921) Starting: local /usr/sap/SMD/J98/../exe/jcontrol pf=/usr/sap/SMD/J98/profile/SMD_J98_localhost

(5919) Waiting for Child Processes to terminate.

(5919) **** 2007/10/04 14:00:15 Child 5921 terminated with Status 255 . ****

(5919) **** No more Child Processes to wait for.

(5919) Parent Shutdown at 2007/10/04 14:00:15

Execute Post-Shutdown Commands

-


Please give me the solution for this. 10 points for all the replies..

Ajay Kande

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

try first

./smdstop.sh

and then

./smdstart.sh

It seems, that another agent is already running on the same port.

--

Markus

Former Member
0 Kudos

Hi Markus,

this is some problem with connection....anyways the smd agent is up now...

i have not done anything....

But now the problem is i am getting the following error when i tried to Setup the Smd agent using setup wizard:

<b>The assignment of server frces4153 to SMD Agent failed

Remote error occurs during the connection to the smd agent for agent frces4153</b>

Can you please give me the solution for this...

Ajay Kande

Former Member
0 Kudos

I got same errors and restart does not work.

smdadm@pcaf1203-XXX:~>smdstart.sh 96

-


SAP Solution Manager Diagnostic - SMD Agent JStartup - Copyright (c) 2005 SAP AG

-


smdadm@pcaf1203-XXX:~>smdstop.sh 96

-


SAP Solution Manager Diagnostic - SMD Agent JStartup - Copyright (c) 2005 SAP AG

-


Shutdown SMD Agent of SMD/J96

smdadm@pcaf1203-XXX:~>

(23644) **** 2007/10/09 12:07:14 Caught Signal to Stop all Programs. ****

(23644) Parent Shutdown at 2007/10/09 12:07:16

(23644) Stop Child Process: 23647

(23644) Wait 300 sec for Process 23647 terminating...

Execute Post-Shutdown Commands

-


09.10.2007 12:07:22

ShmDetach

FAIL: NIECONN_REFUSED (Connection refused), NiRawConnect failed in plugin_fopen()

(23644) Exiting with Return-Code 0. (Ok)

smdadm@pcaf1203-XXX:~>ps -ef | grep smdadm

smdadm 5771 5769 0 09:54:52 console 0:00 /opt/soe/local/openssh/sbin/sshd -R

smdadm 5773 5771 0 09:54:52 pts/9 0:00 tcsh

jwang 5768 5745 0 09:54:51 pts/6 0:00 ssh -l smdadm localhost

smdadm 26300 5773 0 12:08:14 pts/9 0:00 ps -ef

smdadm 26301 5773 0 12:08:14 pts/9 0:00 grep smdadm

smdadm@pcaf1203-XXX:~>smdstart.sh 96

-


SAP Solution Manager Diagnostic - SMD Agent JStartup - Copyright (c) 2005 SAP AG

-


Start SMD Agent of SMD/J96

SAP-R/3-Startup Program Rel 700 V1.8 (2003/04/24)

-


Starting at 2007/10/09 12:08:25

Startup Profile: "/usr/sap/SMD/J96/profile/START_J96_localhost"

Starting Programs

-


09.10.2007 12:08:26

ShmDetach

FAIL: NIECONN_REFUSED (Connection refused), NiRawConnect failed in plugin_fopen()

(26763) Starting: local /usr/sap/SMD/J96/../exe/jcontrol pf=/usr/sap/SMD/J96/profile/SMD_J96_localhost

(26760) Waiting for Child Processes to terminate.

James

Answers (4)

Answers (4)

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hey,

just start SMD agent with the following command:

./smdstart.sh <instance no>

It works.....

Ajay Kande

Former Member
0 Kudos

Hi Ajay,

Now I am facing with the same problem, while starting the smd agent it gives me the same error

ShmDetach

FAIL: NIECONN_REFUSED (Connection refused), NiRawConnect failed in plugin_fopen()

(5921) Starting: local /usr/sap/SMD/J98/../exe/jcontrol pf=/usr/sap/SMD/J98/profile/SMD_J98_localhost

(5919) Waiting for Child Processes to terminate.

(5919) **** 2007/10/04 14:00:15 Child 5921 terminated with Status 255 . ****

(5919) **** No more Child Processes to wait for.

can u please clarify as to what was the connection problem..

Thanks,

Kris.

XavierP
Advisor
Advisor
0 Kudos

Hi James,

If you can see the agent in Agent Administration view on Diagnostics web page, please don't take care of this NIECONN_REFUSED message.

Regards,

Xavier

Former Member
0 Kudos

Hi,

I am unable to start the agent on my system.It gives the following error

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

_________________________________________________________________________

[-] Prerequisites

-


Max open files limit .. OK

/usr/sap/SMD/exe/smdstart.sh: usage: ulimit [ -HSacdfnstv ] [ limit ]

/usr/sap/SMD/exe/smdstart.sh: test: argument expected

Former Member
0 Kudos

Hi,

I got the same error .

./smdstart.sh 98

_________________________________________________________________________

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

_________________________________________________________________________

[-] Prerequisites

-


Max open files limit .. OK

/usr/sap/SMD/exe/smdstart.sh: usage: ulimit [ -HSacdfnstv ] [ limit ]

/usr/sap/SMD/exe/smdstart.sh: test: argument expected

Please let me know how to solve this.

Thanks in advance

Former Member
0 Kudos

Is the instance number 98?

Please confirm. Thanks!

markus_doehr2
Active Contributor
0 Kudos

Read

Note 1109366 - Diagnostics Agent SPS 13

Markus

Former Member
0 Kudos

Hi,

Sometimes you need to delete the kill.sap files, each time I start SMD I make this test :

[[ -f /usr/sap/SMD/J98/work/kill.sap ]] && rm /usr/sap/SMD/J98/work/kill.sap

su - smdadm -c "/usr/sap/SMD/exe/smdstart.sh 98"

Regards,

David.