cancel
Showing results for 
Search instead for 
Did you mean: 

SDM After SAP System Copy

Former Member
0 Kudos

Hi All,

After doing System copy we are planning to go for EHP5 upgrade,

so before that i had tried to Stop and Set the mode of SDM using commands prompts,

when i execute StopServer.bat in command window, it is giving me following error, where are MMC shows SDM is running.

Sending shutdown request on Port 50018

Could not shutdown server: The SDM Server is not running.(1)

Details: Could not establish connection to server 'localhost/50018': connect: Ad

dress is invalid on local machine, or port is not valid on remote machine

Processing error. Return code: 104

Please suggest as because of this we are not able to move further in EHP5 upgrade.

Thanks,

Balaji.S

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member189725
Active Contributor
0 Kudos

Please check if the SDM process is running using jcmon .

If its running, use jcmon to stop it .

Also check using netstat -an if 50018 port is listening .

If its not running , change the mode and start the SDM.

Former Member
0 Kudos

Hi,

I have check using jcmon sdm was running, i had stopped the SDM process using SDM,

executed following command:

sdm.bat jstartup "mode=standalone"

sdm.bat j2eeenginestartstop "mode=automatic"

sdm.bat jstartup "mode=integrated"

startserver.bat

after Executing StartServer.bat it says SDM server not up after 215seconds. Waiting for another 5 seconds.

where as when i see in jcmon SDM is running with a pid and the same PID the port 50018 is listening.

but here when i do netstat -a -n -o it shows 50018

TCP 0.0.0.0:50018 0.0.0.0:0 LISTENING 4152

Thanks,

Balaji.S

former_member188883
Active Contributor
0 Kudos

Hi Balaji,

Can you reset the SDM user password using the link below.

http://wiki.sdn.sap.com/wiki/display/EP/ResetSDMPasswordinUnixandWindows+Environment

Then check whether your SDM starts and stops properly.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi,

No Luck i did change the password, still if i say StopServer.bat it is giving same error.

i have observed a typical behavior,

when is give StartServer.bat command in command it says waiting for SDM server to start for 600 seconds and fails with return code 4.

but parallel if i go to jcmon and see SDM process status is running.

Thanks,

Balaji.S

Edited by: S Balaji on Jan 5, 2012 2:11 PM

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Balaji,

Hope you are doing good.

Do note that If you'll start the SDM in standalone mode, you can use this command line : ./StartServer.sh to start SDM.

After starting the SDM it will not occupy the console and appear as hanged. If the SDM is in standalone mode, if you check with the jcmon if it is started, it will be listed as stopped. In order to see really if it is running, you can execute :

ps -ef grep <sid>adm grep SDM

Do check if there are any errors logged in thedefault trace and the SDM log files..

Thank you and have a nice day :).

_____________

Kind Regards,

Hemanth

Former Member
0 Kudos

Hi All,

I had resolved the Issue the issue was with the wrong ip using which sdm was getting registerd.

I had changed the ip in config tool>dispatcher node> P4> bindpatch there default entry was 0.0.0.0 which should not be the case.

I gave the system local ip.

Thanks,

Balaji.S