on 01-31-2005 2:38 PM
Hi All,
I have lost my sdm password and i want to change it now. I have the administrator password for my J2EE engine however i cannot connect to the SDM server from the Remote GUI client.
Can anyone help me in this regard
Thanks
Sidharth
Hi Sidharth Deshpande,
Check that jdk is installed or not in your server.
If installed uninstall it and delete all environment variables if set.
Then stop the sapinst.
Restart your server.
and start sapinst again.
It will work sure.
I have faced this problem recently.
Regards,
Paramvirsinh Jetawat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Folks,
We followed the following sequesce of steps and it worked perfect for us. This procedure is for UNIX environment
for AS/400 we just have to call qsh and then follow the below steps. I have provided the steps for Windows too below
Login to OS as <SID>admin
cd /usr/sap/<SID>/<JC68>/SDM/program
1) ./StopServer.sh "sdmhome=/usr/sap/<SID>/<JC68>/SDM/program"
2) ./sdm.sh jstartup "sdmhome=/usr/sap/<SID>/<JC68>/SDM/program" "mode=standalone"
3) ./sdm.sh changepassword "sdmhome=/usr/sap/<SID>/<JC68>/SDM/program" "newpassword=XYZ1234"
4) ./sdm.sh jstartup "sdmhome=/usr/sap/<SID>/<JC68>/SDM/program" "mode=integrated"
5) ./StartServer.sh "sdmhome=/usr/sap/<SID>/<JC68>/SDM/program"
For Windows:
1) cd <Drive>\usr\sap\<SID>\DVEBMGS01\SDM\program
2) StopServer.bat "sdmhome=E:\usr\sap\<SID>\DVEBMGS01\SDM\program"
3) sdm jstartup "mode=standalone" "sdmhome=E:\usr\sap\<SID>\DVEBMGS01\SDM\program"
4) sdm changepassword "sdmhome=E:\usr\sap\<SID>\DVEBMGS01\SDM\program" "newpassword=<abc123>"
5) sdm jstartup "mode=integrated" "sdmhome=E:\usr\sap\<SID>\DVEBMGS01\SDM\program"
5) StartServer.bat "sdmhome=E:\usr\sap\<SID>\DVEBMGS01\SDM\program"
Reg,
Kishore Gadewar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The following procedure worked for me on RHEL4, Oracle10 and SAP NetWeaver 7.0:
- determine master ABAP client (via Config Tool, search for 'client');
- check if J2EE_ADMIN is locked, and if the presumed password is correct (connect via SAPGUI);
- ensure that J2EE_ADMIN's password is correctly entered in the Secure Store (via Config Tool, details in SAP note 701654).
Then launch JSPM again and proceed with the deployment.
I also tested the following procedure to change SDM password (as user <sid>adm, from directory
/usr/sap/<SID>/DVEBMGS<nn>/SDM/program):
1. StopServer.sh
2. sdm.sh jstartup mode=standalone
3. sdm.sh changepassword sdmhome=/usr/sap/<SID>/DVEBMGS<nn>/SDM/program newpassword=<password> #note: special characters aren't always accepted !
4. sdm.sh jstartup mode=integrated
5. StartServer.sh
But if the server installed on remote computer.
The command line
with the above commands to change the sdm password cannnot be run
It gives error ..
any solution after telnetting the server at the message port
Or
Is there any way to change it from visual composer or management console.
regards,
swathi rao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From SAP Note 701654:
Symptom
After changing the administrator user's password on the J2EE Engine, deployment aborts with the error message:
ERROR: Cannot connect to Host: [...] with UserName: [...]
Check your Login Info.
Exception is:
com.sap.engine.services.jndi.persistent.exceptions. NoPermissionException
Exception during getInitialContext operation.
Wrong security principles/credentials
or
[Root exception is ...: User not authorized.]
Note: If the error message contains the following text, then the error is due to a connection problem and not the changed Administrator's password.
Cannot create new RemoteLoginContext instance
In this case, check the host name, port number and availability of the J2EE Engine.
Reason and Prerequisites
The administrator user's password is not only stored in the active user store, but also in secure storage in the file system so that certain applications such as the Software Deployment Manager (SDM) can use it to connect to the J2EE Engine.
Therefore, when you change the administrator user's password in the user store, you must also update the entry in secure storage in the file system. Otherwise, the SDM attempts to connect to the J2EE Engine using the old password and you receive the error message mentioned above.
Solution
Use the Config Tool to change the entry in secure storage as follows:
1. Start the Config Tool.
(Execute <SAPj2eeEngine_install_dir> \configtool\configtool.bat.)
2. Select the secure store node.
The configuration for the secure storage in the file system appears.
3. Select the admin/password/<SID> entry.
4. Enter the administrator user's new password in the "Value" field and choose "Add".
5. Choose "File" --> "Apply" to save the data.
Note: Contrary to the message that appears, you do not need to restart the server or cluster for this change to take effect.
6. Finally restart SDM server.
Result
The administrator user's password is changed in secure storage and you can deploy the application using the SDM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Siddharth,
You can refer to my blog esameer hxxp://esameer.blogspot.com/ (replace xx tt)
which mentions a step by step procedure with screen shots on how to reset the SDN password if you have lost SDM as well as Administrator password.
Please keep me postedm if you fnd it usefull and need some extra help with NWDS.
Enjoy!!
Samir Kulkarni
call: +919922111479
blog: hxxp://esameer.blogspot.com/
Hi,
from what I've found on SDN, no single post covered all steps necessary to change the SDM password. So I will sum my experience up and share it with you :
Open the command line.
Go to the SDM\program directory.
Execute :
sdm jstartup "mode=standalone" "sdmhome=C:/usr/sap/<SID>/<Instance>/SDM/program"
Wait for a confirmation that your setting was saved.
Execute:
sdm changepassword "sdmhome=C:/usr/sap/<SID>/<Instance>/SDM/program" "newpassword=abc123"
Again wait for a positive confirmation.
Execute :
sdm jstartup "mode=integrated" "sdmhome=C:/usr/sap/<SID>/<Instance>/SDM/program"
Just to make sure it's set back to integrated.
NOTICE the "/" instead of the "\" in the sdmhome path !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> Hi,
>
> from what I've found on SDN, no single post covered
> all steps necessary to change the SDM password. So I
> will sum my experience up and share it with you :
>
> Open the command line.
>
> Go to the SDM\program directory.
>
> Execute :
> sdm jstartup "mode=standalone"
> "sdmhome=C:/usr/sap/<SID>/<Instance>/SDM/program"
>
> Wait for a confirmation that your setting was saved.
>
> Execute:
> sdm changepassword
> "sdmhome=C:/usr/sap/<SID>/<Instance>/SDM/program"
> "newpassword=abc123"
>
> Again wait for a positive confirmation.
>
> Execute :
> sdm jstartup "mode=integrated"
> "sdmhome=C:/usr/sap/<SID>/<Instance>/SDM/program"
>
> Just to make sure it's set back to integrated.
>
> NOTICE the "/" instead of the "\" in the sdmhome path
> !
Thank you Phillip! This works just fine.
Since I was working on a windows server I went to the SDM home in the cmd. prompt, thus being able to leave out the path parameters.
This gives me 3 short cmd's.:
1) sdm jstartup "mode=standalone"
2) sdm changepassword "newpassword=abc123"
3) sdm jstartup "mode=integrated"
Thanks again, this was very helpfull!
Best Regards Peter Egmose Hansen
Hello Siddarth,
Please take a look at the following file. There is a field called hashed password and you can rehash it.
C:/usr/sap/J2E/JC00/SDM/program/config/sdmrepository.sdc
Hope that helps
Regards
Abdul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would actually suggest you to change the password using command line
changepassword command
sdm changepassword sdmhome=<...> newpassword=<...> [password=<...>]
where
newpassword: New password
password: Old password. Since 6.30 SP5, this parameter has been set optional so that the password can be changed without reference to its current value. If this parameter is specified, its value will be ignored.
Regards
Abdul
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.