cancel
Showing results for 
Search instead for 
Did you mean: 

Error during system copy Export of Portal Dual stack System

Former Member
0 Kudos

Dear Experts,

We are facing issue while taking the export of portal(Dual Stack) system as Could not start SDM - another Server may be running already.

please see the error log below:

Execution of the command "/usr1/j2sdk1.4.2_26/bin/java -Xmx512M -d64 -jar /usr/sap/ED1/DVEBMGS00/SDM/program/bin/SDM.jar sduinfo tofile=/sapimport/ed1_export/JAVA/SDM/SDUINFO.XML sdmhome=/usr/sap/ED1/DVEBMGS00/SDM/program logfile=/tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS/EXP/callSdmViaSapinst.log logtoconsole=true" finished with return code 4. Output:

Info:

Info: =============================================

Info: =   Starting to execute command 'sduinfo'   =

Info: =============================================

Info: Starting SDM - Software Deployment Manager...

Starting SDM - Software Deployment Manager...

Info: tc/SL/SDM/SDM/sap.com/SAP AG/7.0027.20120709093428.0000

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

Info: SDM operation mode successfully set to: Integrated

Info: ###### Info for properties loaded from SDM.properties file ######

Info: adminPortOnlyLocallyAccessible = disable

Info: forceSecureAdminLogon = disable

Info: forceSecureLogon = enable

Info: version = 1.0

Info: encryptTraffic = disable

Info: maxFailedLogonAttempts = 3

Info: ###### End of properties loaded from SDM.properties file ######

Initializing Network Manager (50017)

Info: Initializing Network Manager (50017)

Checking if another SDM is running on port 50018

Info: Checking if another SDM is running on port 50018

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

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

Exiting ....

Error: Another SDM is running already for this SDM_HOME directory. Exiting. Throwable: com.sap.sdm.client_server.launch.SDMRunningException Throwable message: Another SDM instance is running on this host

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

Processing error. Return code: 4

Error: Processing error. Return code: 4

We have checked the other ports running in the system, but no other ports are running and also we have restarted the SDM as well as SYSTEM also, even then same issue is arising in Export.Please do the needful to resolve this

Regards,

Maruthi V,

+91-9699699900

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member185239
Active Contributor
0 Kudos

Hi Maruthi ,

Can you please paste the content of

netstat -tupan |grep -i 50018

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Ashutosh,

netstat -tupan |grep -i 50018 is not working in our solaris environment.

But we tried netstat -a | grep 50018 it is showing one process(SDM related).

Please suggest.

Regards

Maruthi V

Former Member
0 Kudos

Hi,

First step can you telnet into port 50018 if you can something else is not using it.

Also check

SDM Troubleshooting - Using Java - SAP Library

How to troubleshoot J2EE shell console administrator (telnet) issues - SAP Netweaver Application Ser...

Johan

former_member185239
Active Contributor
0 Kudos

Hi Maruthi,

1. Kill the process which you got in netstat command

2. Yes, reboot the server itself but before that try with the step 1.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hello Chaturvedi/Experts,

One more Observation from me.

Before starting the export SDM was running fine(Integrated mode).

While export,the tool itself doing something,automaticaly the SDM was going to be stopped and the SDM state is also changed from Integrated to standlone.At this time we are getting the error RC=12.

Jan 26, 2014 3:28:03 PM  Info: ###### End of properties loaded from SDM.properties file ######

Jan 26, 2014 3:28:06 PM  Info: Initializing Network Manager (50017)

Jan 26, 2014 3:28:06 PM  Info: Checking if another SDM is running on port 50018

Jan 26, 2014 3:28:06 PM  Info: Write information to file /usr/sap/trans/ed1_export/JAVA/SDM/SDUINFO.XML

Jan 26, 2014 3:28:06 PM  Error: You need to specify valid version - 1, 2 or 3.

Jan 26, 2014 3:28:06 PM  Error: Syntax error. Return code: 12

i am manually changing the SDM status from standlone to integrated mode and manullay started the SDM.After that when i click on retry it is giving error RC=4.

Why the tool itself is changing the SDM ststus from integrated to standlone mode.

Please suggest.

Regards

Maruthi V


former_member185239
Active Contributor
0 Kudos

Hi Maruthi,

When you are exporting the content of SDM , it will go to standalone mode.


Now the error is version is not specified in SDM.properties file

Please check the version , it has to be 1.


Moreover check the profile parameter for SDM in instance profile or start profile.


With Regards

Ashutosh Chaturvedi

former_member185239
Active Contributor
0 Kudos

Hi Maruthi,

It will change to standalone mode , when it is working at os level , it has nothing to do at DB level.

Integrated mode means , SDM is attached to j2ee engine and update will be performed both at os and db level.

During export , it will create a file SDM.jar and SDM.kit (correct me if wrong) which will contain all the files present at os level.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Dear Ashutosh/Experts,

Please find the SDM.properties file contents.

#The file was programmatically recreated due to missing or not correct properties or their values. For more information look at SDM log file.

Check SAP note 1724516

#Sun Dec 16 20:00:02 IST 2012

forceSecureLogon=enable

version=1.0

adminPortOnlyLocallyAccessible=disable

forceSecureAdminLogon=disable

maxFailedLogonAttempts=3

encryptTraffic=disable

Moreover there is no specific parameters related to SDM in startup and instance profile.

Regards

Maruthi V

former_member185239
Active Contributor
0 Kudos

Hi Maruthi,

The following parameter was set like this on the CI where SDM is supposed to run:

jstartup/instance_properties = $(jstartup/j2ee_properties)

The parameter should have been:

jstartup/instance_properties = $(jstartup/j2ee_properties);$(jstartup/sdm_properties)

Run the script below to update the version of SDM and also maintain the above parameter , in start profile if not present

sdm changeauthenticationprotocol “version=1.0” “password=<password of SDM>” “forcesecurelogon=enable” “encrypttraffic=enable” “adminportonlylocallyaccessible=enable” “forcesecureadminlogon=enable”

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Dear  Ashutosh Chaturvedi,

Sorry i didn't check properly.The following param found in instance profile where SDM is running.

jstartup/instance_properties                $(jstartup/j2ee_properties):$(jstartup/sdm_properties)

1)where i have to run the above script(Previous your reply)

2)Shall i put the below param in startup profile also.

jstartup/instance_properties                $(jstartup/j2ee_properties):$(jstartup/sdm_properties)

Please suggest me.

Regards

Maruthi V

former_member185239
Active Contributor
0 Kudos

IHi Maruthi,

You need to run the above script where SDM is running.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Maruthi,

Please check the below things:

1. Stop SAP application.

2. Go to /tmp directory.

3. ls -ltr .sapstream*

If you see any files, you can remove them and start SAP and try once.

If possible, you can bounce the OS, then you even do not need to follow the above steps.

Sometime UNIX socket files create issues, as per my experience.

Let us know if you have different location for Solaris.

Regards,

Sujit Kumar Banerjee.

Former Member
0 Kudos

Dear Ashutosh Chaturvedi,

i saved the script(export.sh) under /usr/sap/<SID>/DVEBMGS00/SDM/program and when i am running the script i am getting the following message.

export.sh: sdm: not found

export.sh: adminportonlylocallyaccessible=enable: not found

Regards

Maruthi V

Former Member
0 Kudos


Dear Sujit,

It is not possible bounce the operating system.But we stopped SAP and deleted .sapstream files and restarted the server.But still the probelm persists.

Please suggest is there any otherway to resolve this issue.

Regards

Maurhi V

Former Member
0 Kudos

Hallo Maurhi,

have you solved your Problem?

We have exactly the same issue during SystemCopy of the Java Part (Export from Java central instance)

regards

neno

Reagan
Advisor
Advisor
0 Kudos

Hello


Checking if another SDM is running on port 50018

Check if the port 50018 is used by some other process.

Try restarting the server and see if that helps.

Regards

RB

Former Member
0 Kudos

Hello RB,

Only one SDM is running on port 50018.Restarted server two times but no luck.

Please suggest.

Regards

Maruthi V


former_member185239
Active Contributor
0 Kudos

Hi Maruthi,

Can you please check the sdmlog file in SDM directory

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Dear Ashutosh Chaturvedi,

Please find the SMD Logs.

Jan 20, 2014 2:35:27 PM  Info: Start logging to '/tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS/EXP/callSdmViaSapinst.log'
Jan 20, 2014 2:35:28 PM  Info: Start logging to console
Jan 20, 2014 2:35:28 PM  Info:
Jan 20, 2014 2:35:28 PM  Info: =============================================
Jan 20, 2014 2:35:28 PM  Info: =   Starting to execute command 'sduinfo'   =
Jan 20, 2014 2:35:28 PM  Info: =============================================
Jan 20, 2014 2:35:28 PM  Info: Starting SDM - Software Deployment Manager...
Jan 20, 2014 2:35:29 PM  Info: tc/SL/SDM/SDM/sap.com/SAP AG/7.0027.20120709093428.0000
Jan 20, 2014 2:35:42 PM  Info: SDM operation mode successfully set to: Integrated
Jan 20, 2014 2:35:46 PM  Info: ###### Info for properties loaded from SDM.properties file ######
Jan 20, 2014 2:35:46 PM  Info: adminPortOnlyLocallyAccessible = disable
Jan 20, 2014 2:35:46 PM  Info: forceSecureAdminLogon = disable
Jan 20, 2014 2:35:46 PM  Info: forceSecureLogon = enable
Jan 20, 2014 2:35:46 PM  Info: version = 1.0
Jan 20, 2014 2:35:46 PM  Info: encryptTraffic = disable
Jan 20, 2014 2:35:46 PM  Info: maxFailedLogonAttempts = 3
Jan 20, 2014 2:35:46 PM  Info: ###### End of properties loaded from SDM.properties file ######
Jan 20, 2014 2:35:49 PM  Info: Initializing Network Manager (50017)
Jan 20, 2014 2:35:49 PM  Info: Checking if another SDM is running on port 50018
Jan 20, 2014 2:35:49 PM  Error: Could not start SDM - another Server may be running already.
Jan 20, 2014 2:35:49 PM  Error: Another SDM is running already for this SDM_HOME directory. Exiting. Throwable: com.sap.sdm.client_server.launch.SDMRunningException Throwable message: Another SDM instance is running on this host

Jan 20, 2014 2:35:49 PM  Error: Processing error. Return code: 4

Regards

Maruthi V

former_member185239
Active Contributor
0 Kudos

Hi Maruthi,

is it possible to take a restart of server.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Chaturvedi,

Rebooted server 2 times.

Regards

Maruthi V

Former Member
0 Kudos

,Hi Chaturvedi,


You mean to say reboot of the Solaris server or only sap,database.


i restarted only sap and database.


Regards

Maruthi



former_member45419
Active Contributor
0 Kudos

Hi Maruthi,

pls check this threads

And check this note as sriram send

1560110

Regards

Nayeem

Sriram2009
Active Contributor
0 Kudos
Former Member
0 Kudos

Dear Sriram,

i already followd the two SAP Notes as you suggested but still the probel persists.

Please suggest.

Regards

Maruthi V

91-9699699900

sunny_pahuja2
Active Contributor
0 Kudos

Could you please check if port 5<nn>18 is used on this host?

Thanks,

Sunny

Former Member
0 Kudos

Hi Sunny,

Only SDM is running on this port number(50018).

Regards

Maruthi V

91-9699699900

Former Member
0 Kudos

Dear Experts,

Please suggest, still the problem persists.

Regards

Maruthi V