Skip to Content
avatar image
Former Member

FJS-00003 TypeError: nw.getDB().startupDb is not a function

Hi Experts,

We are restoring our Ecc 6.0 EHP7 production database to sand box serverusing SWPM_SP7 on AIX 7.1 and Oracle11.2.0.4 (OS & DB are same in sourceand target).

After restoring the backup we are able to start the database successfully and "R3trans -d" also able to login to database. But when we go ahead in systemcopy procedure in SWPM it gives below error and shudown database and not able to start it again.

------------

An error occurred while processing option SAP Business Suite 7i 2013 Support Release 1 > EHP7 for SAP ERP 6.0 ABAP Support Release 1 > Oracle> System Copy > Target System > Standard System > Based on AS ABAP > Standard System( Last error reported by the step: TypeError:

nw.getDB().startupDb is not a function (in script NW_ABAP_OneHost|ind|ind|ind|ind, line 139118: ???)). You can now:

------------

FCO-00011 The step ShutdownStartupAfterOracleBackupRestore 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_CreateDB|ind|ind|ind|ind|createdb|0|NW_OraDBCheck|ind|ind|ind|ind|ora|0|NW_OraDBMain|ind|ind|ind|ind|main|0|NW_OraDBOBR|ind|ind|ind|ind|obr|0|NW_OraOBR|ind|ind|ind|ind|obr|0|ora_obr_finished|ind|ind|ind|ind|ora_obr_finished|0|ShutdownStartupAfterOracleBackupRestore

was executed with status ERROR ( Last error reported by the step: TypeError: nw.getDB().startupDb is not a function (in script NW_ABAP_OneHost|ind|ind|ind|ind, line 139118: ???)).

--------------

FJS-00003 TypeError: nw.getDB().startupDb is not a function (in script

NW_ABAP_OneHost|ind|ind|ind|ind, line 139118: ???)

--------------

Can anyone have gone through this error? Or can help us to resolve the issue?

Regards,

Keyur

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Dec 29, 2014 at 10:59 AM

    Hi Keyur,

    Paste the sapinst.log files and also the logs related to Database.

    With Regards

    Ashutosh Chaturvedi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 29, 2014 at 01:08 PM

    Hi Keyur,

    That error message is generic one. You should provide more information from sapinst logs.

    Serhat

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 30, 2014 at 10:03 AM

    Hi.

    A similar problem.


    Step System copy - Oracle - HA - AS ABAP

    Target :

    OS - AIX 7.1, DB - Oracle 11.2.0.3

    SWPM - SWPM10SP07

    System copy - witch restore DB.

    After the restore DB, went a step, but get an error.

    Error sapinst.dev

    option <i>SAP NetWeaver 7.4 Support Release 2 > Oracle > System Copy >

    Target Syste

    m > High-Availability System > Based on AS ABAP > Database Instance(

    Last

    error reported by the step: TypeError: nw.getDB().startupDb is not a

    function

    (in script NW_ABAP_DB|ind|ind|ind|ind, line 137071: ???))</i>. You can

    now: </p> <ul> <li> Choose <i>Retry</i><br>to repeat the current step.

    </li> <l

    i> 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 filesare wri

    tten to /tmp/sapinst_instdir/NW740SR2/ORA/COPY/SYSTEM/HA/AS-ABAP/DB.

    </p>

    </body></html>

    bash-4.2$ R3trans -x

    This is R3trans version 6.24 (release 742 - 18.11.14 - 20:14:09).

    unicode enabled version

    2EETW169 no connect possible: "DBMS = ORACLE

    --- dbs_ora_tnsname = 'RBP'"

    R3trans finished (0012).

    R3tratns -x- trans.log:

    RSecSSFs: Exiting function "RSecSSFsGetRecord" with return code 1

    (message: SSFS-4218: Record with key "DB_CONNECT/DEFAULT_DB_CON_ENV" notfound in secure storage <-- SSFS-4215: Data file

    "/usr/sap/RBP/SYS/global/security/rsecssfs/data/SSFS_RBP.DAT" exists,

    but

    does not contain the requested entry)

    [/bas/742_REL/src/krn/rsec/rsecssfs.c 1526]

    4 ETW000

      44 0.029879

    4 ETW000 [ dev trc,00000] read_ssfs_record(): not found is

    accepted, RSecSSFsGetRecord(DB_CONNECT/DEFAULT_DB_CON_ENV)=1 :

    SSFS-4218:

    Record with key "DB_CONNECT/DEFAULT_DB_CON_ENV" not found in secure

    storage <-- SSFS-4215: Data file

    "/usr/sap/RBP/SYS/global/security/rsecssfs/data/SSFS_RBP.DAT" exists,

    but

    does not contain the requested entry

    After copying the file SSFS_RBP.DAT from the REAL server (SOURCE).

    Error does not occur.

    bash-4.2$ R3trans -x

    This is R3trans version 6.24 (release 742 - 18.11.14 - 20:14:09).

    unicode enabled version

    R3trans finished (0000).

    But after the pressing Retry to SWPM - SWPM recreates the file

    SSFS_RBP.DAT and get the error again, see above.

    BR

    Andrey

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Posting new problem to a previous problem, is not a proper method to get information. Please think on a forum usage conditions.

  • avatar image
    Former Member
    Jan 02, 2015 at 09:08 AM

    Hi Keyur,

    I got exactly the same error.

    This is what you might want to try:

    1) Stop SWPM

    2) Find 'keydb.xml' under sapinst_instdir

    3) Edit keydb.xml and locate the failed step

    4) change <fld name=STATUS">

         <strval><![CDATA[ERROR]]>

    to

         <strval><![CDATA[OK]]>

    5) Save your changes

    6) Start the database manually

    7) Restart SWPM, select the same processing option as before and choose "Continue with the old option" when asked.

    HTH,

    Kari

    P.S. I raised  customer message about this error and SAP replied that

    if the database can be started manually then one can restart sapinst with

    command "./sapinst SAPINST_SKIP_ERRORSTEP=true".

    This, should it work, is of course easier than editing steering files...

    Message was edited by: Sillanmäki Kari

    Add comment
    10|10000 characters needed characters exceeded