cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to system copy for distributed system

bharathyp
Active Participant
0 Kudos

     Hi ,

We are trying to perform system copy for BI server NW2004s it is a distributed system and so I am trying to perform the Database instance first (btw, this is a dual stack), i keep getting error when creating SDMKIT.JAR error runcode=2.

What is the issue how to resolve it?

What logs do u guys need to analyze the situation?

Error log

Execution of the command "E:\usr\sap\BD1\SYS\exe\jvm\NTAMD64\sapjvm_4.1.024\sapjvm_4\bin\java.exe -Xmx256M -jar E:\usr\sap\BD1\DVEBMGS01\SDM/program/bin/SDM.jar createsdmkitjar tofile=Z:/BD1Export/JAVA/SDM/SDMKIT.JAR sdmhome=E:\usr\sap\BD1\DVEBMGS01\SDM/program "logfile=C:\Program Files/sapinst_instdir/ERP/LM/COPY/ORA/EXP/DISTRIBUTED/AS/EXPDB/callSdmViaSapinst.log" logtoconsole=true" finished with return code 2. Output:

Info:

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

Info: =   Starting to execute command 'createsdmkitjar'   =

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

Info: Starting SDM - Software Deployment Manager...

Starting SDM - Software Deployment Manager...

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

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

Info: SDM operation mode successfully set to: Standalone

Initializing Network Manager (50117)

Info: Initializing Network Manager (50117)

Checking if another SDM is running on port 50118

Info: Checking if another SDM is running on port 50118

Info: No filename specified for excluded components.

Info: Resulting JAR file: Z:\BD1Export\JAVA\SDM\SDMKIT.JAR

Info: No temporal directory for packing is provided. SDM home directory will be used.

Info: Pack directory exists already. Remove it first.

Info: Start packing the components of com.adobe in packedOrigin_com.adobe.jar

Info: Create E:\usr\sap\BD1\DVEBMGS01\SDM\program\pack\packedOrigin_com.adobe.jar

Info: The components of com.adobe were successfully packed in packedOrigin_com.adobe.jar

Info: Start packing the components of local in packedOrigin_local.jar

Info: Create E:\usr\sap\BD1\DVEBMGS01\SDM\program\pack\packedOrigin_local.jar

Info: The components of local were successfully packed in packedOrigin_local.jar

Info: Start packing the components of sap.com in packedOrigin_sap.com.jar

Info: Create E:\usr\sap\BD1\DVEBMGS01\SDM\program\pack\packedOrigin_sap.com.jar

Info: Create Z:\BD1Export\JAVA\SDM\SDMKIT.JAR

Warning: Warning during command execution: No metadata files exist for development component 'QuickCarRentalEar'/'sap.com'/'localhost'/'2007.06.20.09.49.13'/'0'. Cannot pack this archive.

Missing archives may lead to errors after the packed SDM installation has been extracted later.

Info: This SDM installation has been packed to Z:\BD1Export\JAVA\SDM\SDMKIT.JAR

To unpack this installation again, extract Z:\BD1Export\JAVA\SDM\SDMKIT.JAR and invoke the SDM command install with parameter extractpackedinst=true

Executed, but finished with warning(s). Return code: 2

Error: Executed, but finished with warning(s). Return code: 2

ERROR      2013-12-16 21:20:07.340 [iaxxinscbk.cpp:260]

MUT-02041  SDM call of createsdmkitjar ends with returncode 2

ERROR      2013-12-16 21:20:07.418

           CJSlibModule::writeError_impl()

MUT-03025  Caught ESAPinstException in Modulecall: SDM call of createsdmkitjar ends with returncode 2.

ERROR      2013-12-16 21:20:07.465 [sixxcstepexecute.cpp:960]

FCO-00011  The step packSDMKitJar with step key |NW_Export|ind|ind|ind|ind|0|0|NW_Java_Export_Dialog|ind|ind|ind|ind|5|0|NW_JAVA_Export_CI|ind|ind|ind|ind|3|0|packSDMKitJar was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: SDM call of createsdmkitjar ends with returncode 2.).

Accepted Solutions (0)

Answers (2)

Answers (2)

Reagan
Advisor
Advisor
0 Kudos

Hello

What does the log file "logfile=C:\Program Files/sapinst_instdir/ERP/LM/COPY/ORA/EXP/DISTRIBUTED/AS/EXPDB/callSdmViaSapinst.log" say?


Warning: Warning during command execution: No metadata files exist for development component 'QuickCarRentalEar'/'sap.com'/'localhost'/'2007.06.20.09.49.13'/'0'. Cannot pack this archive.

You need to check whether the metadata files for the development component QuickCarRentalEar is present.

You can check whether the metadata files for this DC is maintained in some other systems in the landscape under <Drive>:\usr\sap\SID\DVEBMGS00\SDM\root\origin\sap.com

Also check whether the files are present somewhere under E:\usr\sap\BD1\DVEBMGS01

If you are able to locate the files in some other system or at another location then copy that to the system and retry the step in sapinst.

If none of the solution


Regards

RB

Former Member
0 Kudos

Hi,

from the above logs


Warning: Warning during command execution: No metadata files exist for development component 'QuickCarRentalEar'/'sap.com'/'localhost'/'2007.06.20.09.49.13'/'0'. Cannot pack this archive.

Missing archives may lead to errors after the packed SDM installation has been extracted later.

seems some files still missing. could you please check this.

You can also check the corresponding sap system copy note for known issues.

Thanks

Jansi

Former Member
0 Kudos

Hi,

As mentioned earlier what is

QuickCarRentalEar'/'sap.com'/'localhost'/'2007.06.20.09.49.13'/'0'. Cannot pack this archive.

Are you using this .

Can check the below note .

1768158 - System Copy of Systems Based on SAP NW 7.0 / 7.0 EHP 1-3

Java Export: error in SDM call createsdmkitjar

The export aborts in step packSDMKitJar (Export Java Central Instance) with the following error message:
***********************************************************************
Warning: Warning during command execution: No location information available for software component 'SAP-JEECOR'/'sap.com'/'SAP AG'/ '1000.7.00.4.1.20050921171700'. Cannot pack this archive. Missing archives may lead to errors after the packed SDM installation has been extracted later. Info: This SDM installation has been packed to /sapdb/EXP/JAVA/SDM/SDMKIT.JAR To unpack this installation again, extract /sapdb/EXP/JAVA/SDM/SDMKIT. JAR and invoke the SDM command install with parameter extractpackedinst=true
***********************************************************************
Solution:
Stop sapinst. Then restart sapinst with the additional parameter 'SAPINST_SKIP_ERRORSTEP=true'.

Thanks

Rishi Abrol

bharathyp
Active Participant
0 Kudos

Can I skip this ? if so how? Cause this file was created long time back for just testing purposes.. I am not sure where to delete it.

bharathyp
Active Participant
0 Kudos

Hi Rishi,

Any update on this? I have tried to use that parameter but I am still facing the problem and I am not sure where to delete that particular library.

Former Member
0 Kudos

Hi,

Can you see this application or the ear file in the portal using the support tool. I think that this is the application that was deployed in the system.

SAP Library - Java Development Manual

SAP Library - Java Development Manual

Thanks

Rishi Abrol

Former Member
0 Kudos

Hi,

Can try this to undeploy the application if no more used.

Refer to this link for <u>How to ?</u>:

http://help.sap.com/saphelp_nw04/helpdata/en/f4/6c9962da317549a05919ce926b5196/frameset.htm

Also way to undeploy, deploy from NWDS (But i think it is there in CE release of NWDS only):

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0076e60d-0d01-0010-dc99-a614d5de...

Thanks

Rishi Abrol