on 01-20-2014 6:57 AM
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
Hi Maruthi ,
Can you please paste the content of
netstat -tupan |grep -i 50018
With Regards
Ashutosh Chaturvedi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Johan
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
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
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
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
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
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
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maruthi,
Can you please check the sdmlog file in SDM directory
With Regards
Ashutosh Chaturvedi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hi Maruthi
Kindly check this SAP Notes 1686045 - SdmKitJarPacker: Error Invalid initial size
905856 - Failed SDM command execution
933460 - SAPJUP: Upgrade Fails in Step SET_SDM_STANDALONE
Regards
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Kindly refer the SAP Notes
905856 - Failed SDM command execution
1560110 - SDM server does not start neither in integrated nor in standalone mode
Regards
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please check if port 5<nn>18 is used on this host?
Thanks,
Sunny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.