cancel
Showing results for 
Search instead for 
Did you mean: 

Error occurred while processing SAP SQL Tools for SQLServer (Database Copy)

Former Member
0 Kudos

Hello,

We are currently running ERP 6 EP4 support stacks 6. Two weeks ago we

refreshed our sandbox from QAS system and installed support stack 9 for

testing. Kernel was also upgraded from sp69 to sp137 as a part of the

support pack installation.

This week, I was asked to do another refresh of sandbox from the QAS system. As the

kernel was upgraded before to sp139, I copied back the previous kernel

file sp69 to the kernel folder and started refresh process as usual.

When I was running SAP for SQL, it ran successfully thorugh all the

steps but failed in the final steps with the following error logs:

=======================================================================

An error occurred while processing option SAP Toools for MS SQL Server

> Database Copy Completion( Last error reported by the step: System

call failed. Error 2 (The system cannot find the file specified. ) in

execution of system call 'CreateProcessAsUser' with parameter ( ,

NULL, Program Files/sapinst_instdir/MSS/CPY, &StartupInfo,

&ProcessInfo), line (631) in file (synxcchapp.cpp), stack trace:

iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()

d:\depot\bas\710_rel\bc_710-3_rel\gen\optu\ntamd64

\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450:

EJS_Base::dispatchFunctionCall() iaxxejsexp.cpp: 178:

EJS_Installer::invokeModuleCall() synxcchapp.cpp: 228:

CSyChildApplicationImpl::start(false) synxcchapp.cpp: 252:

CSyChildApplicationImpl::doStart() .). You can now:

Choose Retry to repeat the current step.

Choose View Log to get more information about the error.

Stop the option and continue with it later.

Log files are written to C:\Program Files/sapinst_instdir/MSS/CPY.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

We figured it out. Had to restore a backup of the license file and restore it. Also, needed the Env. variable PATH set where the license file resides.

Thanks for the help.

Former Member
0 Kudos

We don't think so. We copied off the upper kernal folder first. Then, upgraded the kernal, then when we couldn't get past the SQL Tools for SAP, we put the original folder back (older version of kernal). Same results for both. The last refresh we did for sandbox worked fine.

Thank you

Former Member
0 Kudos

Hello Linda,

Can you check if there is any other log being updated during that time stamp in the log directory which can give some more information.

What I can make out seeing the log is its unable to reach saplicense .exe executable. I hope you are using SIDADM or administrative user to do this task.

Regards

Vivek

Former Member
0 Kudos

I looked at the logs, very similar error to the one that I already posted:

ERROR 2011-07-08 09:29:49.861

CJSlibModule::writeError_impl()

MUT-03025 Caught ESyException in Modulecall: At line 631 file synxcchapp.cpp

Call stack:

iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()

d:\depot\bas\710_rel\bc_710-3_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()

iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()

synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)

synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()

System call failed. Error 2 (The system cannot find the file specified.

) in execution of system call 'CreateProcessAsUser' with parameter (<token>, NULL, <command line for executable saplicense.exe, NULL, NULL, TRUE, 0x420, NULL, C:/Program Files/sapinst_instdir/MSS/CPY, &StartupInfo, &ProcessInfo), line (631) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()

d:\depot\bas\710_rel\bc_710-3_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()

iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()

synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)

synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()

.

.

TRACE 2011-07-08 09:29:49.861 [iaxxejsbas.hpp:488]

EJS_Base::dispatchFunctionCall()

JS Callback has thrown unknown exception. Rethrowing.

ERROR 2011-07-08 09:29:49.875 [sixxcstepexecute.cpp:971]

FCO-00011 The step doLI with step key |SAPMSSTOOLS|ind|ind|ind|ind|0|0|MssSysLI|ind|ind|ind|ind|7|0|doLI was executed with status ERROR ( Last error reported by the step: System call failed. Error 2 (The system cannot find the file specified.

) in execution of system call 'CreateProcessAsUser' with parameter (<token>, NULL, <command line for executable saplicense.exe, NULL, NULL, TRUE, 0x420, NULL, C:/Program Files/sapinst_instdir/MSS/CPY, &StartupInfo, &ProcessInfo), line (631) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()

d:\depot\bas\710_rel\bc_710-3_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()

iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()

synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)

synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()

.).

TRACE 2011-07-08 09:29:49.886

Call block:CallBackInCaseOfAnErrorDuringStepExecution

function:CallTheLogInquirer

is validator: true

former_member185031
Active Contributor
0 Kudos

It seems from the log files that there are some file missing on Kernel directory. have you tried to update kernel once again and resume your database copy ?

Regards,

Subhash

former_member185031
Active Contributor
0 Kudos
Log files are written to C:\Program Files/sapinst_instdir/MSS/CPY.

Check the log file for more information

Regards,

Subhash