cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with resetting the SDM password using the sdm command

Former Member
0 Kudos

Dear Netweaver experts,

I tried to set a new password for my local SDM using the command below :

D:\usr\sap\J2E\JC00\SDM\program>sdm changepassword "sdmhome=D:/usr/sap/J2E/JC00/

SDM/program" "newpassword=mypassword"

This command lead to the error mesage below :

... some stuff ....

CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHiera

rchicalContext lookup

Starting SDM - Software Deployment Manager...

tc/SL/SDM/SDM/sap.com/SAP AG/6.4009.00.0000.20041026131936.0000

Initializing Network Manager (50017)

Checking if another SDM is running on port 50018

SDM is integrated in JStartupFramework. No repository changing commands are poss

ible.

Processing error. Return code: 4

Is there a possibility to change the SDM password ?

Best regards,

Daniel

Edited by: Daniel Wetzler on Feb 8, 2008 3:00 PM

Edited by: Daniel Wetzler on Feb 8, 2008 3:00 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Daneil,

Please set to SDM in the standalone mode first using:

sdm.bat jstartup "mode=standalone"

Then use the changepassword command, it will work.

You could set to SDM back in integrated using the following command

sdm.bat jstartup "mode=integrated"

Hope this helps.

Regards,

Snehal

Answers (2)

Answers (2)

Former Member
0 Kudos

HI Daniel

IF was helpful answer then reward with points.

Rgds.

former_member583013
Active Contributor
0 Kudos

Hi Daniel,

Please dont close this thread. I also encountered same problem while changing password.

I got the same dump:

"Starting SDM - Software Deployment Manager...

tc/SL/SDM/SDM/sap.com/SAP AG/7.0013.20070907153538.0000

Initializing Network Manager (53019)

Checking if another SDM is running on port 53018

Could not start SDM - another Server may be running already.

Exiting ....

ERROR: Another SDM is running already for this SDM_HOME directory. Exiting.

Processing error. Return code: 4"

Everyone is telling the way to change password. But i think Daniel and this thread is mainly asking for the fix, if another process is running.

A dirty guess to resolve this issue daniel, is to close all aaplications except the engine and then change to standalone mode and change password.

The problem came because another SDM instance is running on the same port even after we closing SDM. Should be a leak problem.

Thanks!

Former Member
0 Kudos

Hi Daniel

Follow the steps to change the sdm password

1. Access (RDP,VNC,RADMIN,..) system with <sid>adm user.

2.Open Command Prompt

3.Go to SDM Root folder with : cd <drive>:\usr\sap\<SID>\JC<no>\SDM\program\

4.Take SDM to Standalone Mode: sdm jstartup "mode=standalone"

5.Change SDM Password: sdm changepassword "sdmhome=<drive>:\usr\sap\<SID>\JC<no>\SDM\program" "newpassword=<newpassword>"

Take SDM to Integrated Mode: sdm jstartup "mode=integrated"

Rgds

Eswar.

Former Member
0 Kudos

Thank you very much !