cancel
Showing results for 
Search instead for 
Did you mean: 

Installation error: role ORA_DBA is not created yet

j_bayrhammer
Participant
0 Kudos

Hello,

with newest SWPM (SWPM10SP08_3-20009697.SAR) I get an installation error at installation SAP Netweaver Gateway 7.4:

An error occurred while processing option SAP NetWeaver 7.4 Support Release 2 > Oracle > SAP Systems > Application Server ABAP > Standard System > Standard System( Last error reported by the step: Assertion failed: in function (role, readAccountData) { if (readAccountData === undefined) { readAccountData = true; } NWUsers.trace("NWUsers.getAccountData(", role, ")"); this._initAccountData(); ASSERT(arguments.callee, this.haveAccountData(role), "role " + role + " is not created yet."); var ad = this._readAccountDataFromKeydb(role); if (readAccountData) { ad = this._readAccountData(ad); } var masterpwd = this.getMasterPassword(); if (ad.password == "" && this._useMasterPasswordForAccountData(ad) && ad.type == "USER" && masterpwd !== undefined && role != NWUsers.roles.J2EEGuest && !ad.locked) { ad.password = masterpwd; } NWUsers.trace("NWUsers.getAccountData(): ", dump_properties(ad)); return ad; } : role ORA_DBA is not created yet.

Did anybody faced this error already?

Is there a solution?

Regards,

Julia

Accepted Solutions (1)

Accepted Solutions (1)

former_member230159
Contributor
0 Kudos

Hi Julia,

Can you please post the sapinst.log file ??

Regards,

Manjunath

j_bayrhammer
Participant
0 Kudos

Hello Manjunath,

the whole sapinst.log? Or just the last messages?

Last messages:

ERROR 2015-07-06 09:47:06.033 (root/sapinst) id=ind-rel.ind-os.ind-db.assertionFailed errno=CJS-00030

Assertion failed: in

function (role, readAccountData) {

    if (readAccountData === undefined) {

        readAccountData = true;

    }

    NWUsers.trace("NWUsers.getAccountData(", role, ")");

    this._initAccountData();

    ASSERT(arguments.callee, this.haveAccountData(role), "role " + role + " is not created yet.");

    var ad = this._readAccountDataFromKeydb(role);

    if (readAccountData) {

        ad = this._readAccountData(ad);

    }

    var masterpwd = this.getMasterPassword();

    if (ad.password == "" && this._useMasterPasswordForAccountData(ad) && ad.type == "USER" && masterpwd !== undefined && role != NWUsers.roles.J2EEGuest && !ad.locked) {

        ad.password = masterpwd;

    }

    NWUsers.trace("NWUsers.getAccountData(): ", dump_properties(ad));

    return ad;

}

: role ORA_DBA is not created yet.

ERROR 2015-07-06 09:47:06.035 (root/sapinst) id=modlib.jslib.caughtException errno=MUT-03025

Caught ESAPinstException in module call: Assertion failed: in

function (role, readAccountData) {

    if (readAccountData === undefined) {

        readAccountData = true;

    }

    NWUsers.trace("NWUsers.getAccountData(", role, ")");

    this._initAccountData();

    ASSERT(arguments.callee, this.haveAccountData(role), "role " + role + " is not created yet.");

    var ad = this._readAccountDataFromKeydb(role);

    if (readAccountData) {

        ad = this._readAccountData(ad);

    }

    var masterpwd = this.getMasterPassword();

    if (ad.password == "" && this._useMasterPasswordForAccountData(ad) && ad.type == "USER" && masterpwd !== undefined && role != NWUsers.roles.J2EEGuest && !ad.locked) {

        ad.password = masterpwd;

    }

    NWUsers.trace("NWUsers.getAccountData(): ", dump_properties(ad));

    return ad;

}

: role ORA_DBA is not created yet..

ERROR 2015-07-06 09:47:06.921 (root/sapinst) id=controller.stepExecuted errno=FCO-00011

The step setLocalDefaultContextParameter 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_OraDBStd|ind|ind|ind|ind|std|0|NW_OraDbBuild|ind|ind|ind|ind|build|0|setLocalDefaultContextParameter was executed with status ERROR ( Last error reported by the step: Assertion failed: in

function (role, readAccountData) {

    if (readAccountData === undefined) {

        readAccountData = true;

    }

    NWUsers.trace("NWUsers.getAccountData(", role, ")");

    this._initAccountData();

    ASSERT(arguments.callee, this.haveAccountData(role), "role " + role + " is not created yet.");

    var ad = this._readAccountDataFromKeydb(role);

    if (readAccountData) {

        ad = this._readAccountData(ad);

    }

    var masterpwd = this.getMasterPassword();

    if (ad.password == "" && this._useMasterPasswordForAccountData(ad) && ad.type == "USER" && masterpwd !== undefined && role != NWUsers.roles.J2EEGuest && !ad.locked) {

        ad.password = masterpwd;

    }

    NWUsers.trace("NWUsers.getAccountData(): ", dump_properties(ad));

    return ad;

}

: role ORA_DBA is not created yet.).

INFO 2015-07-06 09:47:07.152 (root/sapinst)

Creating file /usr/sap/sid/SUM/SWPM/TEMP/sapinst_instdir/NW740SR2/ORA/INSTALL/STD/ABAP/__instana_tmp.xml.

INFO 2015-07-06 09:47:09.870 (root/sapinst)

Creating file /usr/sap/sid/SUM/SWPM/TEMP/sapinst_instdir/NW740SR2/ORA/INSTALL/STD/ABAP/instslana.xml.

Regards,

Julia

j_bayrhammer
Participant
0 Kudos

Hello,

I restarted now for the fith time the whole installation (after cleaning filesystem).

This time I used following parameters directly with startup:

./sapinst IS_HOST_LOCAL_USING_STRING_COMPARE=true SAPINST_USE_HOSTNAME=<hostname>

The trick is not to use the old installation again but to start new with this parameters.

Regards,

Julia

Answers (5)

Answers (5)

j_bayrhammer
Participant
0 Kudos

Hello,

with deleting following files in control.xml and then copying keydb.1.xml to keydb.xml, installation starts again from beginning - I can chose "Continue with old options", but afterwards I get the start screen again with choice of typical or custom installation.

I deleted following lines:

if (installer.onWindows()) {

NWUsers.roles.ORA_SID_OPER = "ORA_SID_OPER";

NWUsers.roles.ORA_SID  = NWUsers.roles.SIDAdm;

NWUsers.roles.ORA_SID_DBA = "ORA_SID_DBA";

NWUsers.roles.BACKUP_OPER = "BACKUP_OPER";

NWUsers.roles.ORA_INSTALL = "ORA_INSTALL";

NWUsers.roles.ORA_HOME_DBA = "ORA_HOME_DBA";

} else {

NWUsers.roles.ORA_OPER = "ORA_OPER";

NWUsers.roles.ORA_SID  = "ORA_SID";

  }

Regards,

Julia

j_bayrhammer
Participant
0 Kudos

I went through steps again - same error.

I'm installing on AIX, therefore I think there will be no effect with deleting these lines for windows.

Regards,

Julia

Former Member
0 Kudos

Julia,

As per the sap note previously referred also suggests to "Continue old installation".

Regards

Anand

j_bayrhammer
Participant
0 Kudos

Hello Anand,

I did this. Even installer returns to choice.

Regards,

Julia

j_bayrhammer
Participant
0 Kudos

Hello,

I tried now with SWPM10SP06_0-20009697.SAR, but this SWPM requires SAP Kernel 741 - in Download Directory for SAP Netweaver 7.4 there is only a SAP Kernel 742 (51049350_1) for download available...

Yes, I know how to edit LABEL.ASC. And I did this now for going on...

Regards,

Julia

Former Member
0 Kudos

Julia,

check the following path in service market place

j_bayrhammer
Participant
0 Kudos

Hello Anand,

thanks for your help. But this does not solves problem because the old SWPM installer has only the option to install SAP NetWeaver 7.4 Support Release 1.

In SAP NetWeaver and complementary products > SAP NetWeaver > SAP NETWEAVER 7.4 > Installation and Upgrade > AIX > Oracle Database there are only Install Export files for SAP Netweaver 7.4 Release 2.

So I do have to do it with the newest SWPM...

😞

😞

Regards,

Julia

Former Member
0 Kudos

Hello Julia,

./sapinst IS_HOST_LOCAL_USING_STRING_COMPARE=true SAPINST_USE_HOSTNAME=sapsid.fqdn.com


Try


./sapinst IS_HOST_LOCAL_USING_STRING_COMPARE=true SAPINST_USE_HOSTNAME=<hostname>

j_bayrhammer
Participant
0 Kudos

Thank you, Anand.

The trick with this solution is to restart installation completely and do not choose "restart with old files".

I wrote this already at the end of the threat.

Regards,

Julia

Former Member
0 Kudos

Thanks Julia, for letting us know the solution.

Former Member
0 Kudos

Hello Julia,

Please check following SAP note for insight.

921594 - (Outdated)Inst.SAP NetWeaver 7.0 (2004s) SR1 - UNIX:Oracle

Regards

Anand

j_bayrhammer
Participant
0 Kudos

Hello,

thanks for your input.

I tried:

- adapt file control.xml

Here is already this text integrated:

if ( installer.onUnix() && OraCom.isDbHost(nw) && !nw.isAddinInstallation() )


- started with option

./sapinst IS_HOST_LOCAL_USING_STRING_COMPARE=true SAPINST_USE_HOSTNAME=sapsid

Error:

Inconsistent value of poperty SAPINST_USE_HOSTNAME for top-level compnent NW_ABAP_OneHost|ind|ind|ind. DIAGNOSIS: Previous value: ", current value: "sapsid".


- started with option

./sapinst IS_HOST_LOCAL_USING_STRING_COMPARE=true SAPINST_USE_HOSTNAME=sapsid.fqdn.com

Error:

Inconsistent value of poperty SAPINST_USE_HOSTNAME for top-level compnent NW_ABAP_OneHost|ind|ind|ind. DIAGNOSIS: Previous value: ", current value: "sapsid.fqdn.com".


- started with option:

./sapinst SAPINST_SKIP_ERRORSTEP=true

Same error again: role_DBA is not created yet.


Any other hints?


Regards,

Julia

bhargav_bhatt
Active Participant
0 Kudos
divyanshu_srivastava3
Active Contributor
0 Kudos

Please check below thread.

Regards,