cancel
Showing results for 
Search instead for 
Did you mean: 

System Copy - Export Preparation fails to start

Former Member
0 Kudos

Hi,

I have NW04sSR1 system with Stack 08 running on AIX, Oracle. I am trying to prepare the system for Export Preparation. Using the Master CD, when i start the export using NW04sSR1 -- Additional lifecycle tools - system copy - Oracle - Distributed Installation -- Web AS ABAP -- Export Preparation.

SAPINST asks for the path for profiles, and then on the next screen it gives the following errors:

+++++++++++++++++++++++++++++++++++=

TRACE [iaxxejsexp.cpp:188]

EJS_Installer::writeTraceToLogBook()

t_NW_Systems.updateRow(, WHERE sid='F01'), updating

TRACE [iaxxejsexp.cpp:188]

EJS_Installer::writeTraceToLogBook()

2006-08-15 17:13:04.464 NW._setLoadType() done

TRACE [iaxxejsexp.cpp:188]

EJS_Installer::writeTraceToLogBook()

2006-08-15 17:13:04.465 NWInstall.setLoadType() done

TRACE [iaxxejsexp.cpp:188]

EJS_Installer::writeTraceToLogBook()

2006-08-15 17:13:04.466 NW.hasABAP(undefined)

ERROR 2006-08-15 17:13:04 [iaxxinscbk.cpp:271]

abortInstallation

CJS-00030 Assertion failed: in

function (nothrow) {

NW.trace("NW.hasABAP(", nothrow, ")");

if (_hasABAP == undefined && !nothrow) {

ASSERT(arguments.callee, false, "NW(" + this.getSID() + ").hasABAP() is undefined");

}

NW.trace("NW.hasABAP() done: ", _hasABAP);

return _hasABAP;

}

NW(F01).hasABAP() is undefined

TRACE [iaxxejsbas.hpp:388]

handleException<ESAPinstException>()

Converting exception into JS Exception Exception.

ERROR 2006-08-15 17:13:04

CJSlibModule::writeError_impl()

MUT-03025 Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.

TRACE [iaxxejsbas.hpp:460]

EJS_Base::dispatchFunctionCall()

JS Callback has thrown unknown exception. Rethrowing.

ERROR 2006-08-15 17:13:04

FCO-00011 The step setLoadType with step key |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_getDBInfo|ind|ind|ind|ind|4|0|NW_getLoadType|ind|ind|ind|ind|0|0|setLoadType was executed with status ERROR .

TRACE

<html><head></head><body><p>An error occurred while processing service <b>SAP ERP 2005 Support Release 1 > Additional Software Life-Cycle Tasks > System Copy > Oracle > Source System > Central System > Based on AS ABAP > Export Preparation</b>. You may now</p><ul> <li>press <I>Retry</I> to repeat the current step.</li> <li>press the <I>View Log</I> button to get more information about the error.</li> <li>stop the task and continue with it later.</li></ul><p>Log files are written to <b>/usr/sap/F01/tmp_install</b>.</p></body></html>

TRACE [iaxxgenimp.cpp:1093]

showDialog()

waiting for an answer from gui

+++++++++++++++++++++++++++++++++++++=

I get the same error when using Central system option on systems where CI and DB are both on the same host.

This is an upgraded system from BW 3.0B to NW2004s SR1.

Any help is appreciated.

Thanks.

Accepted Solutions (0)

Answers (17)

Answers (17)

Former Member
0 Kudos

I am having the exact same circumstance and issue as you. Have you found the solution???

ERROR 2010-08-19 21:34:55.588

CJS-00030 Assertion failed: in

function (nothrow) {

NW.trace("NW.hasABAP(", nothrow, ")");

if (_hasABAP == undefined && !nothrow) {

ASSERT(arguments.callee, false, "NW(" + this.getSID() + ").hasABAP() is undefined");

}

NW.trace("NW.hasABAP() done: ", _hasABAP);

return _hasABAP;

}

NW(MX1).hasABAP() is undefined

ERROR 2010-08-19 21:34:55.648

MUT-03025 Caught ESAPinstException in Modulecall: in

function (nothrow) {

NW.trace("NW.hasABAP(", nothrow, ")");

if (_hasABAP == undefined && !nothrow) {

ASSERT(arguments.callee, false, "NW(" + this.getSID() + ").hasABAP() is undefined");

}

NW.trace("NW.hasABAP() done: ", _hasABAP);

return _hasABAP;

}

NW(MX1).hasABAP() is undefined.

Thanks for any info you might have,

Scott Neubauer

Former Member
0 Kudos

I had the old profile file structure, i.e. had to create a link to the new file format with _hostname at end

ln -s SQA_DVEBMGS## SID_DVEBMGS##_<hostname>

ln -s START_DVEBMGS## START_DVEBMGS##_<hostname>

Former Member
0 Kudos

Hi,

Can you please let me know how did u solve the above issue. I am facing similar issue.

WIll rewards points

Thanks,

Srinivas Reddy

tomas-krojzl
Active Contributor
0 Kudos

When you are in step setLoadType it might be probably too late to update - new restart mey be required (at this point sapinst should already know if you got ABAP or not - so no undefined status should be allowed)

SAPinst is looking for profiles - first to read is DEFAULT.PFL

Second he is searching for instance profiles and start profiles:


TRACE      2010-04-03 21:04:09.391
2010-04-03 21:04:09.410 NWInstance._fromRow({
  dir_profile:
  exeIsLocal:true
  host:host123
  instProfilePath:/usr/sap/ABC/SYS/profile/ABC_DVEBMGS01_host123
  installationStatus:partial
  name:DVEBMGS01
  number:01
  realhost:host123
  sid:ABC
  startProfileName:START_DVEBMGS01_host123
  type:ABAPCI
  unicode:undefined
})

TRACE      2010-04-03 21:04:09.401
2010-04-03 21:04:09.411 NWInstance._fromRow() found instance in cache.

TRACE      2010-04-03 21:04:09.401
2010-04-03 21:04:09.413 NWInstance._fromRow() done

TRACE      2010-04-03 21:04:09.401
2010-04-03 21:04:09.414 NWInstance.find() done: 1 instances found

INFO       2010-04-03 21:04:09.401
           CJSlibModule::writeInfo_impl()
Found these instances:
sid: ABC, number: 01, name: DVEBMGS01, host: host123, realhost: host123

You need to make sure:

1.) hostname in your profiles does not contains underscores or begins with a digit - if yes see note 972262 (search in note for text pfdir.getChildNodes)

2.) you got correct attributes - sainst can see and read these profiles (check from appropriate users that you can read the files and list the directory)

3.) you got correctly linked profile directory - /usr/sap/<sid>/SYS/profile --> /sapmnt/<sid>/profile (check again that you got correct attibutes)

If you find that one of points above is not set correctly - fix it and try repeat - if it does not work - try to restart from beginning.

Former Member
0 Kudos

Hello,

I´m facing the same problema.... could you indicate me how to solve it?

Thanks and kind regards.

markus_doehr2
Active Contributor
0 Kudos

> dir_profile:/sapmnt/F01/profile

Shouldn't this be /sapmnt/<SID>/SYS/profile?

Markus

Former Member
0 Kudos

Hi,

Can you copy the content in the log file and post it here. So that it would be easy to pin point the correct problem

Former Member
0 Kudos

Hi Rupak,

My first guess is that Java is having trouble reading the profile directory. Have you checked the permissions?

The second issue may be with Java. Are you using the 1.4.2 version from IBM?

Thanks!

J. Haynes

Former Member
0 Kudos

Hello - Did you ever find a solution to this issue? I am encountering the same issue when trying to perform the export prepare in SAPINST for NW 7.10 on a SQL Server / Windows platform. Thanks! - Will S.

Former Member
0 Kudos

Hello - Did you ever find a solution to this issue? I am encountering the same issue when trying to perform the export prepare in SAPINST for NW 7.10 on a SQL Server / Windows platform. Thanks! - Will S.

Former Member
0 Kudos

Has anyone found the solution to this problem, we are experiencing the same problem??

Former Member
0 Kudos

Hi,

I am installing NW2004s on AIX 6.1 and database instance creation step failed with the same error Any help is appreciated.

Thanks in Advance.

Former Member
0 Kudos

/exports/master_install_NW2004s/IM_HPUX_PARISC/NW04S/WEBAS/IND/control.xml

Java install on Unix HP same issue as everyone. Right after putting the profile location I get the exception error.

Former Member
0 Kudos

Hello Samuli,

As discussed please try the following. I am placing it here so that others may also try this.

Please stop SAPINST and modify the CONTROL.XML in your installation

directory:

Search for the string 'pfdir.getChildNodes' and replace the

line

for (var it =

pfdir.getChildNodes(/^START_[A-Z0-9]+_[a-zA-z][a-zA-Z0-9-]*$/);

!it.isDone(); it.next()) {

with the line:

for (var it = pfdir.getChildNodes(/^START_[A-Z0-9]+_[a-zA-Z0-9-]*$/);

!it.isDone(); it.next()) {

Save the modification and restart SAPINST. It is not sufficient to

just resume SAPinst in order to fix the problem. You have to restart

the installation from scratch with the modified control.xml.

If you restart the installer from DVD, choose the installation service

on the first screen, and when the next screen appears, interrupt the

installer. Then patch the control.xml in the installation directory and

restart the installer (take a backup of the control.xml).

Hope this information helps.

Regards,

David

Former Member
0 Kudos

Hello david,

thanks for the effort, but the solution did not work for me - tried the way you have described it and also using the modified control.xml on a brand new installation (completely removed sapinst directory and updated control.xml after beginnig of a new installation).

Any more ideas would be appreciated and rewarded.

Thank you in advance,

H. Petrov

Former Member
0 Kudos

Hi there.

I posted this problem in a Note to SAP - This is the answer (and the last part was my help)

Can you please check your profiles for any inconsistencies

in the hostname.

For instance it could be that the 'hostname' within the profiles

does not match the current one.

This was solved previously on an oracle system by

copying .dbenv_host.csh

and replaced the .cshrc.csh with this copy.

What is the user used when running sapinst? (root?) please

Add the environment variable dbms_type=ORA to user root before

starting sapinst.

I hope this can help

Former Member
0 Kudos

Hi!

Have anyone got rid of this issue?

I now have the same symptoms in NW2004s SR2, Windows2003/x64, MSSQL database.

BR Samuli Kaisanlahti

Former Member
0 Kudos

Hello,

Plz. check the following SAP NOTE for u r problem...

Note 921593 - Inst. SAP NetWeaver 2004s SR1 on UNIX

Note 851251 - SAP NetWeaver 2004s Installation on UNIX

If solved u r problem then dont forget to give reward point..

Thanks

Former Member
0 Kudos

Hi,

Anyone get a solution to this...i've the exact same error but cannot find any sap notes or sdn posting other than this with an ans...

Thanks

Jim

Former Member
0 Kudos

<i><b>Hi guys,

I am facing to the same problems, have you already found the solutions or any workaround for this errors. ?

Please you can see in attachment the logfiles of my Export.

Thanks in advance</b></i>


TRACE      
Running with toplevel file C:Program Files/sapinst_instdir/NW04S/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/toplevel.xml

TRACE      
Running with dialog file C:Program Files/sapinst_instdir/NW04S/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/dialog.xml

TRACE      
Running with keydb file C:Program Files/sapinst_instdir/NW04S/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/keydb.xml

TRACE      
Opened iaejs701.dll

TRACE      
Opened iacdlib701.dll

TRACE      
Opened iaccdlib.dll

TRACE      
Opened iapasswdman701.dll

TRACE      

This is SAPinst, version 701, make variant 700_REL, build 817256
compiled on Mar 15 2006, 00:31:24

TRACE      [iaxxejsexp.cpp:188]
           EJS_Installer::writeTraceToLogBook() 
t_NW_Systems.updateRow({
  dbtype:ora
  dir_profile:E:/usr/sap/BSF/SYS/profile
  doMigMonConfig:
  hasABAP:undefined
  hasJava:undefined
  isAddinInstallation:undefined
  loadType:SAP
  os4_krnlib:
  os4_seclanglib:
  sapDrive:E:
  sapmnt:/sapmnt
  sid:BSF
  umeConfiguration:
  unicode:false
  useParallelAbapSystemCopy:
  workplace:undefined
}, WHERE sid='BSF'), updating

TRACE      [iaxxejsexp.cpp:188]
           EJS_Installer::writeTraceToLogBook() 
2006-11-09 16:48:47.562 NW._setLoadType() done

TRACE      [iaxxejsexp.cpp:188]
           EJS_Installer::writeTraceToLogBook() 
2006-11-09 16:48:47.562 NWInstall.setLoadType() done

TRACE      [iaxxejsexp.cpp:188]
           EJS_Installer::writeTraceToLogBook() 
2006-11-09 16:48:47.562 NW.hasABAP(undefined)

ERROR      2006-11-09 16:48:47 [iaxxinscbk.cpp:271]
           abortInstallation 
CJS-00030  Assertion failed: in 
function (nothrow) {
    NW.trace("NW.hasABAP(", nothrow, ")");
    if (_hasABAP == undefined && !nothrow) {
        ASSERT(arguments.callee, false, "NW(" + this.getSID() + ").hasABAP() is undefined");
    }
    NW.trace("NW.hasABAP() done: ", _hasABAP);
    return _hasABAP;
}
NW(BSF).hasABAP() is undefined

TRACE      [iaxxejsbas.hpp:388]
           handleException<ESAPinstException>() 
Converting exception into JS Exception Exception.

ERROR      2006-11-09 16:48:47 
           CJSlibModule::writeError_impl() 
<b>MUT-03025  Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.</b>
TRACE      [iaxxejsbas.hpp:460]
           EJS_Base::dispatchFunctionCall() 
JS Callback has thrown unknown exception. Rethrowing.

ERROR      2006-11-09 16:48:47 
<b>FCO-00011  The step setLoadType with step key |NW_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_getDBInfo|ind|ind|ind|ind|4|0|NW_getLoadType|ind|ind|ind|ind|0|0|setLoadType was executed with status ERROR .</b>
TRACE      

<html><head></head><body><p>An error occurred while processing service <b>SAP NetWeaver 2004s Support Release 1 > Additional Software Life-Cycle Tasks > System Copy > Oracle > Source System > Central System > Based on AS ABAP > Database Instance Export</b>. You may now</p><ul> <li>press <I>Retry</I> to repeat the current step.</li> <li>press the <I>View Log</I> button to get more information about the error.</li> <li>stop the task and continue with it later.</li></ul><p>Log files are written to <b>C:Program Files/sapinst_instdir/NW04S/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP</b>.</p></body></html>

TRACE      [iaxxgenimp.cpp:1093]
           showDialog() 
waiting for an answer from gui

INFO       2006-11-09 16:50:15 [iaxxgenimp.cpp:787]
           showDialog() 
An error occured and the user decide to stop.n Current step "|NW_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_getDBInfo|ind|ind|ind|ind|4|0|NW_getLoadType|ind|ind|ind|ind|0|0|setLoadType".

Former Member
0 Kudos

Checkout (or post) the logfiles in >/usr/sap/F01/tmp_install.

Besides that, make sure you have the latest r3export kernel files.

regards,