cancel
Showing results for 
Search instead for 
Did you mean: 

Error in SWPM ECC6 EHP7 - Program 'Migration Monitor' exits with error code 102

mandeep_kauldhar
Participant
0 Kudos

Hello Guys, I am facing below error during fresh installation of SAP ECC6 EHP7 installation based upon Oracle 12.1.0.2/Windows 2012 r2.

I already tried searching on SCN and SAP notes but not able to resolve this yet. I see SAP note “2328831 - Installation fails with: SQL error 257 - sql syntax error: unterminated quoted string literal “ is relevant but doesn’t looks like applies to me as I am using the latest supported Kernel 745.


I am using SIDadm user to install ECC6 EHP7, could this be a reason? I read in SAP note i should'nt use it to install but in installation guide they wrote it i should use SID adm user.


Here is the snapshot of SAPNTAB.log file which looks like the main issue here:

E:\usr\sap\Q67\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20160714031447

(BLD) INFO: sccsid "@(#) $Id: //bas/745_STACK/src/R3ld/R3load/R3ldmain.c#4 $ SAP"

(BLD) INFO: kernel release 745 [UNICODE]

(BLD) INFO: data format 1.8

(BLD) INFO: patch number 100

(BLD) INFO: compiled on "Feb 26 2016 14:35:52"

(PRC) INFO: working directory "C:\Program Files\sapinst_instdir\BS2013SR2\ERP607SR2\ORA\INSTALL\STD\ABAP"

(PRC) INFO: called "E:\usr\sap\Q67\SYS\exe\uc\NTAMD64\R3load.exe -ctf I F:\SAPInst\InstExp\51050166_1\DATA_UNITS\EXPORT_1\DATA\SAPNTAB.STR C:\Program Files\sapinst_instdir\BS2013SR2\ERP607SR2\ORA\INSTALL\STD\ABAP\DDLORA.TPL SAPNTAB.TSK ORA -l SAPNTAB.log"

(PRC) INFO: process id 3448

(LOG) INFO: log level: 1

(LOG) INFO: log format: classic

(TPL) ERROR: unknown template variable "crestm"

(TPL) ERROR: at line 44 in file C:\Program Files\sapinst_instdir\BS2013SR2\ERP607SR2\ORA\INSTALL\STD\ABAP\DDLORA.TPL

(TPL) ERROR: does R3ldctl and R3load have different patch levels? (R3load: kernel 745 patch number 100)

E:\usr\sap\Q67\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)

E:\usr\sap\Q67\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20160714031447

E:\usr\sap\Q67\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20160714084735

(BLD) INFO: sccsid "@(#) $Id: //bas/745_STACK/src/R3ld/R3load/R3ldmain.c#4 $ SAP"

(BLD) INFO: kernel release 745 [UNICODE]

(BLD) INFO: data format 1.8

(BLD) INFO: patch number 100

(BLD) INFO: compiled on "Feb 26 2016 14:35:52"

(PRC) INFO: working directory "C:\Program Files\sapinst_instdir\BS2013SR2\ERP607SR2\ORA\INSTALL\STD\ABAP"

(PRC) INFO: called "E:\usr\sap\Q67\SYS\exe\uc\NTAMD64\R3load.exe -ctf I F:\SAPInst\InstExp\51050166_1\DATA_UNITS\EXPORT_1\DATA\SAPNTAB.STR C:\Program Files\sapinst_instdir\BS2013SR2\ERP607SR2\ORA\INSTALL\STD\ABAP\DDLORA.TPL SAPNTAB.TSK ORA -l SAPNTAB.log"

(PRC) INFO: process id 2208

(LOG) INFO: log level: 1

(LOG) INFO: log format: classic

(TPL) ERROR: unknown template variable "crestm"

(TPL) ERROR: at line 44 in file C:\Program Files\sapinst_instdir\BS2013SR2\ERP607SR2\ORA\INSTALL\STD\ABAP\DDLORA.TPL

(TPL) ERROR: does R3ldctl and R3load have different patch levels? (R3load: kernel 745 patch number 100)

E:\usr\sap\Q67\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)

E:\usr\sap\Q67\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20160714084735

Here is a snapshot of file SAPINST_DEV.log

TRACE 2016-07-14 08:47:35.229 (WAT1SAPOQ67W\q67adm) [synxcpipe.cpp:172] CSyStdIOPipe::waitForOverlappedIO(int timeout)

Syslib info about system call. OS message 109 (The pipe has been ended.

) after execution of system call 'GetOverlappedResult' with parameter ((pipe to child process)), line (131) in file (d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcpipe.cpp).

WARNING 2016-07-14 08:47:35.229 (WAT1SAPOQ67W\q67adm) [iaxxbjsmod.cpp:97] id=modlib.jslib.childAppReturn

Execution of the command "C:\Users\q67adm\AppData\Local\Temp\sapinst_exe.2912.1468467069\jre\bin\java.exe -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 102. Output:

java version "1.6.0_111"

Java(TM) SE Runtime Environment (build 6.1.087)

SAP Java Server VM (build 6.1.087 25.51-b12, Mar  1 2016 10:06:26 - 61_REL - optU - windows amd64 - 6 - bas2:264178 (mixed mode))

Import Monitor jobs: running import of package: SAPNTAB

Loading of 'SAPNTAB' import package: ERROR

TRACE 2016-07-14 08:47:35.229 (WAT1SAPOQ67W\q67adm) [csistepexecute.cpp:1381]

Function setMessageIdOfExceptionMessage: nw.programError

ERROR 2016-07-14 08:47:35.229 (WAT1SAPOQ67W\q67adm) [iaxxbjsmod.cpp:97] id=nw.programError errno=CJS-30022

Program 'Migration Monitor' exits with error code 102. For details see log file(s) import_monitor.java.log, import_monitor.log.

TRACE 2016-07-14 08:47:35.229 (WAT1SAPOQ67W\q67adm) [jsextension.hpp:1142] CallFunctionBase::call()

Member function 'Installer.invokeModuleCall() has thrown a module error. Rethrowing.

TRACE 2016-07-14 08:47:36.041 (WAT1SAPOQ67W\q67adm) [csistepexecute.cpp:1071]

Module error

ERROR 2016-07-14 08:47:36.041 (WAT1SAPOQ67W\q67adm) [csistepexecute.cpp:1107] id=controller.stepExecuted errno=FCO-00011

The step runMigrationMonitor with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|abapload|0|NW_ABAP_Import|ind|ind|ind|ind|nw_abap_import|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step: Program 'Migration Monitor' exits with error code 102. For details see log file(s) import_monitor.java.log, import_monitor.log.).

TRACE 2016-07-14 08:47:51.091 (WAT1SAPOQ67W\q67adm) [syxxcfile.cpp:84] CSyFileImpl::decideIfMoveCopyNode(const CopyMoveDestinationInfo & {m_nodeTypeForCombiCheck: ..., m_path: C:/Program Files/sapinst_instdir/BS2013SR2/ERP607SR2/ORA/INSTALL/STD/ABAP/INSTANA.1.XML, m_realNodeType: 8}, ISyNode::CopyMoveMode_t 0x3, PSyNodeInt &) const

Target node does not exist and (mode & ISyNode::MISSING) ==> I will copy/move.

TRACE 2016-07-14 08:47:51.091 (WAT1SAPOQ67W\q67adm) [syxxcnode.cpp:430] CSyNodeImpl::move(const CSyPath & C:/Program Files/sapinst_instdir/BS2013SR2/ERP607SR2/ORA/INSTALL/STD/ABAP/INSTANA.1.XML, ISyNode::CopyMoveMode_t 0x3)

Moved C:/Program Files/sapinst_instdir/BS2013SR2/ERP607SR2/ORA/INSTALL/STD/ABAP/INSTANA.XML to C:/Program Files/sapinst_instdir/BS2013SR2/ERP607SR2/ORA/INSTALL/STD/ABAP/INSTANA.1.XML

INFO 2016-07-14 08:47:51.091 (WAT1SAPOQ67W\q67adm) [synxcfile.cpp:141] id=syslib.filesystem.removedFile CSyFileImpl::removeEx(ISyFSErrorHandler * pErrorHandler)

Removed file C:\Program Files\sapinst_instdir\BS2013SR2\ERP607SR2\ORA\INSTALL\STD\ABAP\INSTANA.XML.

INFO 2016-07-14 08:47:51.091 (WAT1SAPOQ67W\q67adm) [synxcpath.cpp:798] id=syslib.filesystem.creatingFile CSyPath::createFile()

Creating file C:\Program Files\sapinst_instdir\BS2013SR2\ERP607SR2\ORA\INSTALL\STD\ABAP\INSTANA.XML.

TRACE      2016-07-14 08:47:51.482 (WAT1SAPOQ67W\q67adm) [cstatisticmanager.cpp:322] CStatisticManager::writeInstallationSlanaFile_Intern

TRACE 2016-07-14 08:47:51.482 (WAT1SAPOQ67W\q67adm) [syxxcfile.cpp:84] CSyFileImpl::decideIfMoveCopyNode(const CopyMoveDestinationInfo & {m_nodeTypeForCombiCheck: ..., m_path: C:/Program Files/sapinst_instdir/BS2013SR2/ERP607SR2/ORA/INSTALL/STD/ABAP/instslana.1.xml, m_realNodeType: 8}, ISyNode::CopyMoveMode_t 0x3, PSyNodeInt &) const

Target node does not exist and (mode & ISyNode::MISSING) ==> I will copy/move.

TRACE 2016-07-14 08:47:51.482 (WAT1SAPOQ67W\q67adm) [syxxcnode.cpp:430] CSyNodeImpl::move(const CSyPath & C:/Program Files/sapinst_instdir/BS2013SR2/ERP607SR2/ORA/INSTALL/STD/ABAP/instslana.1.xml, ISyNode::CopyMoveMode_t 0x3)

Moved C:/Program Files/sapinst_instdir/BS2013SR2/ERP607SR2/ORA/INSTALL/STD/ABAP/instslana.xml to C:/Program Files/sapinst_instdir/BS2013SR2/ERP607SR2/ORA/INSTALL/STD/ABAP/instslana.1.xml

INFO 2016-07-14 08:47:51.482 (WAT1SAPOQ67W\q67adm) [synxcfile.cpp:141] id=syslib.filesystem.removedFile CSyFileImpl::removeEx(ISyFSErrorHandler * pErrorHandler)

Removed file C:\Program Files\sapinst_instdir\BS2013SR2\ERP607SR2\ORA\INSTALL\STD\ABAP\instslana.xml.

INFO 2016-07-14 08:47:51.482 (WAT1SAPOQ67W\q67adm) [synxcpath.cpp:798] id=syslib.filesystem.creatingFile CSyPath::createFile()

Creating file C:\Program Files\sapinst_instdir\BS2013SR2\ERP607SR2\ORA\INSTALL\STD\ABAP\instslana.xml.

TRACE 2016-07-14 08:47:51.529 (WAT1SAPOQ67W\q67adm) [csistepexecute.cpp:1590]

SAPInst calls the LogInquirer. The output of the LogInquirer can be found in file sapinst_loginquirer.log.

TRACE 2016-07-14 08:47:51.529 (WAT1SAPOQ67W\q67adm) [csistepexecute.cpp:1597]

SAPInst calls the LogInquirer because of an error in execution of step |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|abapload|0|NW_ABAP_Import|ind|ind|ind|ind|nw_abap_import|0|runMigrationMonitor.

TRACE 2016-07-14 08:47:51.529 (WAT1SAPOQ67W\q67adm) [syxxcfile.cpp:84] CSyFileImpl::decideIfMoveCopyNode(const CopyMoveDestinationInfo & {m_nodeTypeForCombiCheck: ..., m_path: C:/Program Files/sapinst_instdir/BS2013SR2/ERP607SR2/ORA/INSTALL/STD/ABAP/sapinst_loginquirer.1.log, m_realNodeType: 8}, ISyNode::CopyMoveMode_t 0x3, PSyNodeInt &) const

Target node does not exist and (mode & ISyNode::MISSING) ==> I will copy/move.

TRACE 2016-07-14 08:47:51.529 (WAT1SAPOQ67W\q67adm) [syxxcnode.cpp:430] CSyNodeImpl::move(const CSyPath & C:/Program Files/sapinst_instdir/BS2013SR2/ERP607SR2/ORA/INSTALL/STD/ABAP/sapinst_loginquirer.1.log, ISyNode::CopyMoveMode_t 0x3)

Moved C:/Program Files/sapinst_instdir/BS2013SR2/ERP607SR2/ORA/INSTALL/STD/ABAP/sapinst_loginquirer.log to C:/Program Files/sapinst_instdir/BS2013SR2/ERP607SR2/ORA/INSTALL/STD/ABAP/sapinst_loginquirer.1.log

TRACE 2016-07-14 08:48:02.234 (WAT1SAPOQ67W\q67adm) [cguiengineimp.cpp:553]  CGuiEngineImp::showMessageBox()

<html> <head> </head> <body> <p> An error occurred while processing option <i>SAP Business Suite 7i 2013 Support Release 2 > EHP7 for SAP ERP 6.0 ABAP Support Release 2 > Oracle > SAP Systems > Application Server ABAP > Standard System > Standard System( Last error reported by the step: Program 'Migration Monitor' exits with error code 102. For details see log file(s) import_monitor.java.log, import_monitor.log.)</i>. You can now: </p> <ul> <li> Choose <i>Retry</i><br>to repeat the current step. </li> <li> Choose <i>Log Files</i><br>to get more information about the error. </li> <li> Stop the option and continue later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/BS2013SR2/ERP607SR2/ORA/INSTALL/STD/ABAP. </p> </body></html>

TRACE 2016-07-14 08:48:02.297 (WAT1SAPOQ67W\q67adm) [cguiengineimp.cpp:908] CGuiEngineImp::acceptAnswerForBlockingRequest

Waiting for an answer from GUI

Here is the snapshot of file import_monitor.log

INFO: 2016-07-14 08:47:34 com.sap.inst.migmon.imp.ImportStandardTask preCreate

Parse of 'C:\Program Files\sapinst_instdir\BS2013SR2\ERP607SR2\ORA\INSTALL\STD\ABAP\DDLORA.TPL' template file is successfully completed.

Primary key creation: after load.

Index creation: after load.

TRACE: 2016-07-14 08:47:35 com.sap.inst.migmon.LoadTask processPrerequisitePackage

Loading of 'SAPNTAB' import package is started.

TRACE: 2016-07-14 08:47:35 com.sap.inst.migmon.LoadTask processPackage

Task file generation for 'SAPNTAB' starting import package:

E:\usr\sap\Q67\SYS\exe\uc\NTAMD64\R3load.exe -ctf I F:\SAPInst\InstExp\51050166_1\DATA_UNITS\EXPORT_1\DATA\SAPNTAB.STR "C:\Program Files\sapinst_instdir\BS2013SR2\ERP607SR2\ORA\INSTALL\STD\ABAP\DDLORA.TPL" SAPNTAB.TSK ORA -l SAPNTAB.log

ERROR: 2016-07-14 08:47:35 com.sap.inst.migmon.LoadTask processPrerequisitePackage

Loading of 'SAPNTAB' import package is interrupted with R3load error.

Process 'E:\usr\sap\Q67\SYS\exe\uc\NTAMD64\R3load.exe -ctf I F:\SAPInst\InstExp\51050166_1\DATA_UNITS\EXPORT_1\DATA\SAPNTAB.STR "C:\Program Files\sapinst_instdir\BS2013SR2\ERP607SR2\ORA\INSTALL\STD\ABAP\DDLORA.TPL" SAPNTAB.TSK ORA -l SAPNTAB.log' exited with return code 2.

For mode details see 'SAPNTAB.log' file.

ERROR: 2016-07-14 08:47:35

Cannot continue import because not all import packages with data conversion tables are loaded successfully.



Accepted Solutions (0)

Answers (3)

Answers (3)

former_member732332
Discoverer
0 Kudos

lsnrctl start

or

lsnrctl start PROD ( LISTENER NAME).

mandeep_kauldhar
Participant
0 Kudos

I already did that in my first post; greyed out lines are the full content of sapntab.log file.

Mani

manish_singh13
Active Contributor
0 Kudos

I missed the file name from first post. Error in the mentioned file 


(TPL) ERROR: unknown template variable "crestm"

(TPL) ERROR: at line 44 in file C:\Program Files\sapinst_instdir\BS2013SR2\ERP607SR2\ORA\INSTALL\STD\ABAP\DDLORA.TPL

(TPL) ERROR: does R3ldctl and R3load have different patch levels? (R3load: kernel 745 patch number 100)


Please try to upload R3load tools in your kernel and retry. I have found below posts and SAP Notes reference similar to this error:

SAP ECC installation error Import ABAP step | SCN

Import ABAP step failed. | SCN

2205581 - (TPL) ERROR: unknown template variable "crestm"


2044380 - R3load dependency loop if calles with -o option and other corrections



Thanks,

Manish

mandeep_kauldhar
Participant
0 Kudos

I was a able to pass this but facing another issue on Oracle side but looks like relevant,

I tried the last way in below thread and also updated the Kernel and r3load, TP, R3szchk, lib_dbsl, R3ta.

https://scn.sap.com/thread/3833882

the error i am getting now is same SANTAB.log file is:

(DB) ERROR: db_connect rc = 256

(DB) ERROR: DbSlErrorMsg rc = 99

(DB) ERROR: ORA-01034: ORACLE not available

(DB) ERROR: ORA-27101: shared memory realm does not exist

(IMP) ERROR: db_connect rc = 256

(IMP) ERROR: DbSlErrorMsg rc = 99

(IMP) ERROR: ORA-01034: ORACLE not available

  (IMP) ERROR: ORA-27101: shared memory realm does not exist

I am taking my DB specialist help.

Mani

manish_singh13
Active Contributor
0 Kudos

Hi Mandeep,

Is it possible for you to upload/attach installation log files with the message.

Thanks,

Manish

mandeep_kauldhar
Participant
0 Kudos

I have attached file sapinst_dev.log if that helps.

i changed the hostname and username to pseudo names.

Mani

manish_singh13
Active Contributor
0 Kudos

Hi Mandeep,

Please upload SAPNTAB.log file also.

Thanks,

Manish