on 05-29-2013 10:40 AM
Hi Experts,
I am installing SAP Solution Manager 7.1 (ABAP+JAVA) on Linux with Oracle Database.
During the 'Define Parameter' phase I am getting a lot of errors due to the CONTROL.XML file in the installation directory.
I am using latest SWPM 1.0.
Some of the errors I was able to resolve as suggested in SAP Notes by manipulating CONTROL.XML etc
But this below error is not getting resolved=>
An error occurred while processing option <i>SAP Solution Manager 7.1 Support Release 1 > SAP Systems > Oracle > Central System > Central 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_SID is not created yet.)</i>. You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the current step. </li> <li> Choose <i>Log Files</i> to get more information about the error. </li> <li> Stop the option and continue with it later. </li> </ul> <p> Log files are written to <code>/usr/sap/install/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS</code>. </p> </body></html>
TRACE 2013-05-29 14:59:29.894 [iaxxgenimp.cpp:1259]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
I have already tried the following solutions=>
1) As per note 1341277, i have restarted installation with SAPINST_SKIP_ERRORSTEP=true
2) I have re-download SWPM (70SWPM10SP02_1-20009701.sar) and re-tried from scratch after cleaning Installation Directory
3) I also tried to create OS Users first, using the Lifecycle management option, but getting the same above error in that step too.
Pl. suggest what to do in this situation, as i can't get past the Installation to begin.
Regards,
Akshay.
Hello All,
This issue has been resolved, after raising an OSS message with SAP.
The installation completed successfully after starting SAPinst with the below option.
Posting below the solution, to benefit other users of the community, if and when they bump into this similar issue.
please try to restart sapinst with the following parameters:
./sapinst IS_HOST_LOCAL_USING_STRING_COMPARE=true SAPINST_USE_HOSTNAME=<hostname>
Regards,
Akshay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem here with a SAP Netweaver Gateway installation with newest SWPM SWPM10SP08_3-20009697.SAR.
Regards,
Julia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Everyone,
Parallely, I have opened an OSS call with SAP for this.
Also I am enclosing below the CONTROL.XML file before making the corrections as suggested in SAP Notes and then the control.xml file after correction.
After correction, I am getting Syntax Error now, please have a look and let me know if we can still try to work with this. (I commented the lines to be removed with //, i also tried to remove them completely and re-try installation, but to no help, so I am commenting below with // just for the sake of visibility of the lines that are actually to be removed)
CONTROL.XML Before Making Corrections:
var roles = [];
var dbHost = this.getDBHost();
var nmgt = new NetworkMgt();
if ( dbHost && !nmgt.isHostLocal(dbHost)) {
if (installer.onWindows()) {
if ( nwu.haveAccountData(NWUsers.roles.ORA_SID_OPER)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_SID_OPER).exists)
roles.push(NWUsers.roles.ORA_SID_OPER);
}
if ( nwu.haveAccountData(NWUsers.roles.ORA_SID_DBA)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_SID_DBA).exists )
roles.push(NWUsers.roles.ORA_SID_DBA);
}
if ( nwu.haveAccountData(NWUsers.roles.BACKUP_OPER)) {
if (!nwu.getAccountData(NWUsers.roles.BACKUP_OPER).exists)
roles.push(NWUsers.roles.BACKUP_OPER);
}
if ( nwu.haveAccountData(NWUsers.roles.ORA_DBA)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_DBA).exists)
roles.push(NWUsers.roles.ORA_DBA);
}
} else {
if ( nwu.haveAccountData(NWUsers.roles.ORA_OPER)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_OPER).exists)
roles.push(NWUsers.roles.ORA_OPER);
}
if ( nwu.haveAccountData(NWUsers.roles.ORA_DBA)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_DBA).exists)
roles.push(NWUsers.roles.ORA_DBA);
}
if ( nwu.haveAccountData(NWUsers.roles.ORA_SID)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_SID).exists)
roles.push(NWUsers.roles.ORA_SID);
}
}
this.getNW().getUsers().removeAccountData(roles);
}
NW.trace("NWDBora.updateOSAccounts done");
}
CONTROL.XML File after Suggested corrections (Removal of 5 Lines)
var roles = [];
var dbHost = this.getDBHost();
var nmgt = new NetworkMgt();
if ( dbHost && !nmgt.isHostLocal(dbHost)) {
// if (installer.onWindows()) {
if ( nwu.haveAccountData(NWUsers.roles.ORA_SID_OPER)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_SID_OPER).exists)
// roles.push(NWUsers.roles.ORA_SID_OPER);
}
if ( nwu.haveAccountData(NWUsers.roles.ORA_SID_DBA)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_SID_DBA).exists )
// roles.push(NWUsers.roles.ORA_SID_DBA);
}
if ( nwu.haveAccountData(NWUsers.roles.BACKUP_OPER)) {
if (!nwu.getAccountData(NWUsers.roles.BACKUP_OPER).exists)
// roles.push(NWUsers.roles.BACKUP_OPER);
}
if ( nwu.haveAccountData(NWUsers.roles.ORA_DBA)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_DBA).exists)
// roles.push(NWUsers.roles.ORA_DBA);
}
// } else {
if ( nwu.haveAccountData(NWUsers.roles.ORA_OPER)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_OPER).exists)
// roles.push(NWUsers.roles.ORA_OPER);
}
if ( nwu.haveAccountData(NWUsers.roles.ORA_DBA)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_DBA).exists)
// roles.push(NWUsers.roles.ORA_DBA);
}
if ( nwu.haveAccountData(NWUsers.roles.ORA_SID)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_SID).exists)
// roles.push(NWUsers.roles.ORA_SID);
}
// }
this.getNW().getUsers().removeAccountData(roles);
}
NW.trace("NWDBora.updateOSAccounts done");
}
Now I Copy keydb.1.xml to keydb.xml using cp keydb.1.xml keydb.xml, and
then I restarted the Installation and continues with the old option and
Now i get "Syntax Error" as shown below:
ERROR 2013-05-30 12:05:25.881 [iaxxejsbas.cpp:211]
FJS-00003 syntax error (in script NW_Onehost|ind|ind|ind|ind, line
67762: })
ERROR 2013-05-30 12:05:25.885 [iaxxejsctl.cpp:131]
FJS-00011 Error compiling script.
TRACE 2013-05-30 12:05:25.896 [syuxctask.cpp:276]
CChildApplicationImpl::doStart() lib=syslib module=syslib
A child process has been started. Pid = 26067
TRACE 2013-05-30 12:05:25.944 [syuxctask.cpp:886]
CUnixProcessManager::sap_waitpid(pid_t pid, int * pStatus,
int
options)
lib=syslib module=syslib
Child process 26067 returned 0
TRACE 2013-05-30 12:05:25.955 [syuxctask.cpp:276]
CChildApplicationImpl::doStart() lib=syslib module=syslib
A child process has been started. Pid = 26068
TRACE 2013-05-30 12:05:25.996 [syuxctask.cpp:886]
CUnixProcessManager::sap_waitpid(pid_t pid, int * pStatus,
int
options)
lib=syslib module=syslib
Child process 26068 returned 0
ERROR 2013-05-30 12:05:26.371 [sixxcstepexecute.cpp:995]
FCO-00011 The step fillContextProduct with step key
|NW_Onehost|ind|ind|ind|ind|0|0|fillContextProduct was executed with
status ERROR ( Last error reported by the step: syntax error (in script
NW_Onehost|ind|ind|ind|ind, line 67762: })).
TRACE 2013-05-30 12:05:26.389 [kdxxctaco.cpp:224]
CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
CKdbTableContainerImpl::syncToContainerFile start ...
TRACE 2013-05-30 12:05:26.503 [kdxxctaco.cpp:256]
CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
after creating out stream
TRACE 2013-05-30 12:05:26.553 [kdxxctaco.cpp:290]
CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
CKdbTableContainerImpl::syncToContainerFile stop ...
TRACE 2013-05-30 12:05:26.565 [syxxcfile.cpp:123]
CSyFileImpl::decideIfMoveCopyNode(const
CopyMoveDestinationInfo & {m_nodeTypeForCombiCheck: ..., m_path:
/usr/sap/install/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/__instana
_tmp.2.xml, m_realNodeType: 8}, ISyNode::CopyMoveMode_t 0x3, PSyNodeInt
&) const
lib=syslib module=syslib
Target node does not exist and (mode & ISyNode::MISSING) ==> I will
copy/move.
TRACE 2013-05-30 12:05:26.565 [syxxcnode.cpp:490]
CSyNodeImpl::move(const CSyPath &
/usr/sap/install/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/__instana
_tmp.2.xml, ISyNode::CopyMoveMode_t 0x3)
lib=syslib module=syslib
Moved
/usr/sap/install/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/__instana
_tmp.xml to
/usr/sap/install/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/__instana
_tmp.2.xml
INFO 2013-05-30 12:05:26.567 [syuxcpath.cpp:471]
CSyPath::createFile() lib=syslib module=syslib
Creating file
/usr/sap/install/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/__instana
_tmp.xml.
TRACE 2013-05-30 12:05:26.576 [syuxctask.cpp:276]
CChildApplicationImpl::doStart() lib=syslib module=syslib
A child process has been started. Pid = 26069
TRACE 2013-05-30 12:05:26.610 [syuxctask.cpp:886]
CUnixProcessManager::sap_waitpid(pid_t pid, int * pStatus,
int
options)
lib=syslib module=syslib
Child process 26069 returned 0
TRACE 2013-05-30 12:05:26.622 [syuxctask.cpp:276]
CChildApplicationImpl::doStart() lib=syslib module=syslib
A child process has been started. Pid = 26070
TRACE 2013-05-30 12:05:26.636 [syuxctask.cpp:886]
CUnixProcessManager::sap_waitpid(pid_t pid, int * pStatus,
int
options)
lib=syslib module=syslib
Child process 26070 returned 0
TRACE 2013-05-30 12:05:27.389
SAPInst calls the LogInquirer. The output of the LogInquirer can be
found
in file sapinst_loginquirer.log.
TRACE 2013-05-30 12:05:28.77 [iaxxgenimp.cpp:745]
CGuiEngineImp::showMessageBox
<html> <head> </head> <body> <p> An error occurred while processing
option <i>SAP Solution Manager 7.1 Support Release 1 > SAP Systems >
Oracle > Central System > Central System( Last error reported by the
step: syntax error (in script NW_Onehost|ind|ind|ind|ind, line 67762:
}))</i>. You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the
current step. </li> <li> Choose <i>Log Files</i> to get more
information
about the error. </li> <li> Stop the option and continue with it later.
</li> </ul> <p> Log files are written to
<code>/usr/sap/install/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS</co
de>. </p> </body></html>
TRACE 2013-05-30 12:05:28.78 [iaxxgenimp.cpp:1259]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
Regards,
Akshay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CONTROL.XML File after Suggested corrections (Removal of 5 Lines)
var roles = [];
var dbHost = this.getDBHost();
var nmgt = new NetworkMgt();
if ( dbHost && !nmgt.isHostLocal(dbHost)) {
// if (installer.onWindows()) {
if ( nwu.haveAccountData(NWUsers.roles.ORA_SID_OPER)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_SID_OPER).exists)
// roles.push(NWUsers.roles.ORA_SID_OPER);
}
if ( nwu.haveAccountData(NWUsers.roles.ORA_SID_DBA)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_SID_DBA).exists )
// roles.push(NWUsers.roles.ORA_SID_DBA);
}
if ( nwu.haveAccountData(NWUsers.roles.BACKUP_OPER)) {
if (!nwu.getAccountData(NWUsers.roles.BACKUP_OPER).exists)
// roles.push(NWUsers.roles.BACKUP_OPER);
}
if ( nwu.haveAccountData(NWUsers.roles.ORA_DBA)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_DBA).exists)
// roles.push(NWUsers.roles.ORA_DBA);
}
// } else {
if ( nwu.haveAccountData(NWUsers.roles.ORA_OPER)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_OPER).exists)
// roles.push(NWUsers.roles.ORA_OPER);
}
if ( nwu.haveAccountData(NWUsers.roles.ORA_DBA)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_DBA).exists)
// roles.push(NWUsers.roles.ORA_DBA);
}
if ( nwu.haveAccountData(NWUsers.roles.ORA_SID)) {
if (!nwu.getAccountData(NWUsers.roles.ORA_SID).exists)
// roles.push(NWUsers.roles.ORA_SID);
}
// }
this.getNW().getUsers().removeAccountData(roles);
}
NW.trace("NWDBora.updateOSAccounts done");
}
You made incorrect modifications. One of them (start with its correction): you does not end inner if instruction.
Good Morning Marius,
SAP has provided an alternative solution for this issue.
I have applied the solution, and that issue seems to be resolved, at least the Installer for SAP Solution Manager 7.1 has been started.
I would finish the installation and would then post the response from SAP and the solution provided for the above issue, so as to not bump into some another issue due to that.
Regards,
Akshay
Hello Akshay,
Which user have you used to start sapinst?
Regards,
Eduardo Rezende
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Akshay,
Try the following but please remember to copy the keydb1.xml files as well.
Modify control.xml in the installation directory as follows:
1. Search for the string "NWDBora.prototype.updateOSAccounts = function(){"
2. Go to the end of the following lines:
....
var roles = [];
var dbHost = this.getDBHost();
if (dbHost && !dbHost.equals(installer.getHostName())) {
3. Remove the following 5 lines:
if (installer.onWindows()) {
roles.push(NWUsers.roles.ORA_SID_OPER, NWUsers.roles.ORA_SID_DBA, NWUsers.roles.ORA_DBA,NWUsers.roles.BACKUP_OPER);
} else {
roles.push(NWUsers.roles.ORA_OPER, NWUsers.roles.ORA_SID, NWUsers.roles.ORA_DBA);
}
4. Copy keydb.1.xml to keydb.xml using the following commands:
cp keydb.1.xml keydb.xml
5. Restart the installation.
6. On the "What do you want to do" screen, choose "Continue old installation"
Hope it works.
Johan
Hello
Have a look at this SAP Note:
Note 972263 - Inst.NW 7.0(2004s)SR2/Business Suite 2005 SR2-UNIX/Oracle
Give it a shot and see whether it helps.
Good Luck
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Reagan,
Thanks for the response.
I have made this correction as suggested in the above note.
However, in my control.xml file lines "roles.push(NWUsers.roles.ORA_SID_OPER, NWUsers.roles.ORA_SID_DBA, NWUsers.roles.ORA_DBA,NWUsers.roles.BACKUP_OPER);"
were fragmented, something like below (i.e. they were not in a single statement)
roles.push(NWUsers.roles.ORA_SID_OPER);
roles.push(NWUsers.roles.ORA_SID_DBA);
roles.push(NWUsers.roles.ORA_DBA);
.
.
.
and so on...
So i carefully, removed them all, and respective "}" and else statements, but now I am getting the "Syntax Error". I guess I have messed up the control.xml file.
This could be the solution, if I am able to do the above correction correctly.
Shall i post my original control.xml file, so that you can help me with the above correction?
Regards,
Akshay.
Hello Akshay
This is what the SAP Note says:
3. Remove the following 5 lines:
Line 1- if (installer.onWindows()) {
Line 2 - roles.push(NWUsers.roles.ORA_SID_OPER, NWUsers.roles.ORA_SID_DBA, NWUsers.roles.ORA_DBA,NWUsers.roles.BACKUP_OPER);
Line 3 - } else {
Line 4 - roles.push(NWUsers.roles.ORA_OPER, NWUsers.roles.ORA_SID, NWUsers.roles.ORA_DBA);
Line 5 - }
I have marked the line numbers for you.
Give it a shot and lets see.
Make sure to take a backup of the original Control.xml file
Regards
RB
Hi Akshay
have you tried this ?
Solution:
1. Search in control.xml for the following entry:
NWDBora.prototype.setDBUserEnvironment = function(nwusers, cdroot)...
...
2. Replace the following line:
if ( installer.onUnix() && OraCom.isDbHost(nw)) {
with the following line:
if ( installer.onUnix() && OraCom.isDbHost(nw) && !nw.
isAddinInstallation() ) {
3. Restart Sapinst with the option "Continue old installation".
Best Regards
Marius
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer to sap note Note 1341277 - Inst.NetWeaver 7.0 EHP2/ Business Suite 7i2010 - UNIX/Oracle
Error "role ORA_SID is not created yet" during (A)SCS instance installation
Symptom:
You are running installation option "ASCS Instance" or "SCS Instance" and get the following error message: "role ORA_SID is not created yet"
Solution:
Restart SAPinst using command line option SAPINST_SKIP_ERRORSTEP=true. On the "What do you want to do" screen, choose "Continue with the old option".
Regards,
Johan
Hi Askhay,
Note 919106 - SAP NetWeaver 7.0 SR1 Installation on Windows: Oracle
Error in sapinst_dev.log: role ORA_SID is not created yet.
Symptom:
You get the following error in sapinst_dev.log: "role ORA_SID is not created yet".
Solution:
Modify control.xml in the installation directory as follows:
Johan
Hi Johan,
I have made this correction as suggested above.
However, in my control.xml file lines " roles.push(NWUsers.roles.ORA_SID_OPER, NWUsers.roles.ORA_SID_DBA, NWUsers.roles.ORA_DBA,NWUsers.roles.BACKUP_OPER);"
were fragmented, something like below:
roles.push(NWUsers.roles.ORA_SID_OPER);
roles.push(NWUsers.roles.ORA_SID_DBA);
roles.push(NWUsers.roles.ORA_DBA);
.
.
.
and so on...
So i carefully, removed them all, and respective "}" and else statements, but now I am getting the "Syntax Error". I guess I have messed up the control.xml file.
This could be the solution, if I am able to do the above correction correctly.
Shall i post my original control.xml file, so that you can help me with the above correction?
Regards,
Akshay.
Hi Akshay,
At this point I have note edited this before, maybe some of the other guys on here can advise better on editing the file.
However I would suggest logging an OSS to sap with your logs and control.xml attached so they can advise also in parallel to this thread.
Attach your control.xml file as it was originally so the other SCN community members can advise also.
Johan
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.