Symptom
While running Software Provisioning Manager tool (SWPM) to perform an Installation or Target System Installation, the tool fails with the following error message:
sapinst_dev.log |
ERROR <date> <time> SDM call of addsubstvars ends with returncode 4ERROR <date> <time> The step setSubstVars with step key |NW_Doublestack_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|ci|0| NW_CI_Instance_Configure_Java|ind|ind|ind|ind|javaconfig|0|setSubstVars was executed with status ERROR |
This issue happens because during the execution of SDM, file SUBS_PARAM_TO_BE_SET.XML could not be read:
sapinst_dev.log |
WARNING <date> <time> Execution of the command "/usr/sap/<SID>/DVEBMGS00/exe/sapjvm_4/bin/java -Xmx512M -jar /usr/sap/<SID>/DVEBMGS00/SDM/program/bin/SDM.jar addsubstvars addmode=replace_existing substvarfile=SUBS_PARAM_TO_BE_SET.XML sdmhome=/usr/sap/<SID>/DVEBMGS00/SDM/program logfile=/sapmnt/<SID>/CI_Install/callSdmViaSapinst.log logtoconsole=true" finished with return code 4. Output: Info: Info: ================================================== Info: = Starting to execute command 'addsubstvars' = Info: ================================================== Info: Starting SDM - Software Deployment Manager... Starting SDM - Software Deployment Manager... Info: tc/SL/SDM/SDM/sap.com/SAP AG/7.0217.20141219123040.0000 tc/SL/SDM/SDM/sap.com/SAP AG/7.0217.20141219123040.0000 Info: SDM operation mode successfully set to: Standalone 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 ###### Warning: ******************* STARTUP WARNING ******************* Warning: The SDM password is not transfered to the Secure Store. For refference check SAP Note 1724516. 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 Info: Start to add definitions of SubstVars. Info: Used addmode="replace_existing" Info: Reading substvarfile "SUBS_PARAM_TO_BE_SET.XML". Error: Can't read from file /sapmnt/XM1/CI_Install/SUBS_PARAM_TO_BE_SET.XML. Error: Could not add definitions of SubstVars. Processing error. Return code: 4 Error: Processing error. Return code: 4 |
Read more...
Environment
- Software Provisioning Manager tool (SWPM);
- Installation or System Copy (Target System Installation);
- Dual Stack or Java system
- Linux/Unix-based Operating System;
- Database Independent;
- all SAP system based on Netweaver Release 7.0X AS Java or AS ABAP+Java
Product
Keywords
SAPinst, Installer, Install, Installation, System Copy, Copying, Migration, Migrate, Migrating, OS/DB, OSDB, Homogeneous, Heterogeneous, HSC, NW, 7.0, 7.01, 7.02, 7.03, 700, 701, 702, 703, AS, Java, ABAP, Export, Exporting, Import, Importing , KBA , BC-INS , Installation Tools (SAP Note 1669327) , BC-INS-MIG , OS/DB Migrations with SWPM and DB refresh , BC-CTS-SDM , Software Delivery Manager for Java , BC-INS-JCI , Java component inst. / jload jmigmon, jsizecheck , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.