cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to start SMD agent (SAP NW 7.0 ehp2, linux, oracle)

Former Member
0 Kudos

Has installed a system Solution Manager (7.1 sp 11 , linux / oracle) and the second system sap netweaver 7.0 ehp 2 (linux / oracle)
Installing, upgrading, and to run an agent produced in the system sap netweaver

I tried to register in the SLD and launch the diagnostic agent .
registration attempt was carried out with the following command


./smdsetup.sh managingconf hostname:"sapms://sslm.spb" port:"8100" user:"SMD_ADMIN" pwd:"*******"

and attempt to run the following set of commands implemented


su daaadm

setenv SNC_LIB /usr/sap/DAA/SMDA97/

/usr/sap/DAA/SMDA97/exe/sapstartsrv pf=/usr/sap/DAA/SYS/profile/DAA_SMDA97_serpspb -D -u daaadm


However, the process list shows that the diagnostic agent is not started .
Where can I see what or log files or trace files to understand in detail why not run a diagnostic agent ?

PS sap hostagent starts normally . At least the status that it is started , gives

Accepted Solutions (1)

Accepted Solutions (1)

oliver_pfaff2
Explorer
0 Kudos

Hi,

If threre's nothing in the folder mentioned above try the work folder:

\usr\sap\DAA\SMDA97\work\

I've had situations where startup aborted before anything is written in \usr\sap\DAA\SMDA97\SMDAgent\log

Regards,

Oliver Pfaff.

Former Member
0 Kudos

There are no files in my directory /usr/sap/DAA/SMDA97/work
except for a single file - available.log
in which there is a single row
Unavailable 21.05.2014 17:30:52 - 21.05.2014 17:42:52

oliver_pfaff2
Explorer
0 Kudos

Thats unusual - the logs a re usually created on startup.

su - daaadm

/usr/sap/DAA/SMDA97/exe/startsap -t J2EE -i SMDA97  works for me

As daaadm I think you can just do 'startsap' and it starts the SAP system belonging to this user.

Regards,

Oliver Pfaff.

Former Member
0 Kudos

Thank you! It really worked.

Although I do not quite understand why this type of startup has become inoperative and why I stopped working method described

Answers (1)

Answers (1)

former_member185239
Active Contributor
0 Kudos

Hi Michael,

Goto the direcrory \usr\sap\DAA\SMDA97\work and check the logs.

and also checked the SMDAgent.log files as well.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos
Thanks for the answer. Checked the specified directory. Found only one file
available.log

there is only one row
Unavailable 20.05.2014 17:19:39 - 21.05.2014 15:18:52

probably this is a last run time ...


Former Member
0 Kudos

Dear Michael,

cd \usr\sap\DAA\SMDA97\SMDAgent\log

ls -ltr

Then select last SMDSystem.*.log and check it.

Could you please publish it here?

With best regards,

Alexander

Former Member
0 Kudos

no files (including the one you specify SMDSystem. *. log) in my directory \ usr \ sap \ DAA \ SMDA97 \ SMDAgent \ log
it is empty
Probably problem occurs long before the agent starts to write logs to a log and work directories

Former Member
0 Kudos

Dear Michael,

could you please perform commands:

ps -ef | grep daaadm

ps -ef | grep hostctrl?

With best regards,

Alexander

Former Member
0 Kudos

1) ps -ef | grep hostctrl?

answer

root  7593 22499  0 17:44 pts/000:00:00 grep hostctrl?

2)ps -ef | grep daaadm

answer

daaadm2087 1  0 May20 ?    00:00:00 /usr/sap/DAA/SMDA97/exe/sapstartsrv pf=/usr/sap/DAA/SYS/profile/DAA_SMDA97_serpspb -D -u daaadm
root  7633 22499  0 17:45 pts/000:00:00 grep daaadm

in point 2, I see me running process (if I'm not mistaken - 2087). But why him no answer, I do not understand

Former Member
0 Kudos

Dear Michael,

could you please kill sapstartsrv process and delete shadow memory for daaadm and restart agent?

With best regards,

Alexander