on 01-16-2006 5:03 PM
Dear Everyone,
I resolved some problems when I meet <b>FindFirstVolumeMountPoint</b> Error during installing SAP NetWeaver 04 SP11(Slim Java Edition (minimized memory consumption)). This solution is not quite nice and, I think, would be temporary. However, if you would like to see the final successful message, it might help you.
First of all, you should open control.xml file under <b><SAP Netweaver install directory>\SAPINST\NT\I386\ADA</b> , then search this sentence, <b>mounts.updateRow(row, " WHERE FSName='" + row.FSName + "'" );</b>
And replace
<b>var mount_iter = fmgt.getFSMounts();
while (!mount_iter.isDone()) {
if (mount_iter.get().getFSType() == "LOCAL") {
var row = {"FSName":mount_iter.get().getDriveLetter()};
mounts.updateRow(row, " WHERE FSName='" + row.FSName + "'" );
}
mount_iter.next();
}</b>
With
<b>{ var row = {"FSName":"C:"};
mounts.updateRow(row, " WHERE FSName='" + row.FSName + "'" );
}</b>
Next, search this sentence, <b>var biggest = ;</b>
And replace
<b>for (var it = mgt.getFSMounts(); ! it.isDone(); it.next()){
mount = it.get();
if (mount.getFSType() == "LOCAL") {
var drive = mount.getDriveLetter();
if (drive != undefined) {
var mp = mount.getMountPoint();
if (mp && mp.getFullName().length <= 3) {
table.insertRow({mount:drive});
var freespace = mount.getFreeSpace();
if (freespace > biggest.free) {
biggest = {drive:drive, free:freespace};
}
}
numrows++;
}
}
}
if (numrows == 1) {
context.setUnchangeable("sapdrive", table.arraySelect(undefined, "WHERE 1=1")[0].mount);
context.setUnchangeable("DBDataDrive", table.arraySelect(undefined, "WHERE 1=1")[0].mount);
context.setUnchangeable("DBRedologDrive", table.arraySelect(undefined, "WHERE 1=1")[0].mount);
context.setUnchangeable("DBSoftwareDrive", table.arraySelect(undefined, "WHERE 1=1")[0].mount);
} else {
context.setChangeable("sapdrive", biggest.drive);
context.setChangeable("DBDataDrive", biggest.drive);
context.setChangeable("DBRedologDrive", biggest.drive);
context.setChangeable("DBSoftwareDrive", biggest.drive);
}</b>
With
<b> biggest.drive = "C:";
context.setChangeable("sapdrive", biggest.drive);
context.setChangeable("DBDataDrive", biggest.drive);
context.setChangeable("DBRedologDrive", biggest.drive);
context.setChangeable("DBSoftwareDrive", biggest.drive);</b>
The default drive is C: drive, but If you want to change the drive, simply change C with ,for example, D.
I hope this solution help you as if helping me. Good Luck !!!
Hi,
I want to install the SAP WEBAS 6.4 SP15 in F: drive instead of C: drive.
However the control.xml file that i have does not contain the code that you have mentioned in your mail.
I got the first code location you mentioned in your mail but did'nt get the second code location which needs to be replaced.
I did not get the below code line
var biggest = ;
and other code lines related to that.
I have the below code instead of above code in control.xml file
*************
for (var it = mgt.getFSMounts(); ! it.isDone(); it.next()){
mount = it.get();
if (mount.getFSType() == "LOCAL") {
var drive = mount.getDriveLetter();
if (drive != undefined) {
var mp = mount.getMountPoint();
if (mp && mp.getFullName().length <= 3) {
table.insertRow({mount:drive});
}
numrows++;
}
}
}
***************
Could you please let me know how should i modify this to install WEBAS in F: drive.
Or is there any doc which shows how to modify the control.xml file to install the WEBAS in drive other than C:
Let me know your mail id i will send you the control.xml file that i have in case u want.
Thanks in Advance
Regards
Harish
mail to harishk_sharma@infosys.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harish,
I think you have same problem as me. Even though now I am trying to analyze the control.xml file, unfortunately so far there is no doc or guide to modify the control.xml file.
But, I can give some tips to solve your problem. Please find this code first.
-
for (var it = mgt.getFSMounts(); ! it.isDone(); it.next()){
mount = it.get();
if (mount.getFSType() == "LOCAL") {
var drive = mount.getDriveLetter();
if (drive != undefined) {
var mp = mount.getMountPoint();
if (mp && mp.getFullName().length <= 3) {
table.insertRow({mount:drive});
var freespace = mount.getFreeSpace();
if (freespace > biggest.free) {
biggest = {drive:drive, free:freespace};
}
}
numrows++;
}
}
}
if (numrows == 1) {
context.setUnchangeable("sapdrive", table.arraySelect(undefined, "WHERE 1=1")[0].mount);
context.setUnchangeable("DBDataDrive", table.arraySelect(undefined, "WHERE 1=1")[0].mount);
context.setUnchangeable("DBRedologDrive", table.arraySelect(undefined, "WHERE 1=1")[0].mount);
context.setUnchangeable("DBSoftwareDrive", table.arraySelect(undefined, "WHERE 1=1")[0].mount);
} else {
context.setChangeable("sapdrive", biggest.drive);
context.setChangeable("DBDataDrive", biggest.drive);
context.setChangeable("DBRedologDrive", biggest.drive);
context.setChangeable("DBSoftwareDrive", biggest.drive);
}
-
and then should be replaced with
-
biggest.drive = "<b>F:</b>";
context.setChangeable("sapdrive", biggest.drive);
context.setChangeable("DBDataDrive", biggest.drive);
context.setChangeable("DBRedologDrive", biggest.drive);
context.setChangeable("DBSoftwareDrive", biggest.drive);
-
<b>In my case, I use "C:" drive, but in your case, use "F:" drive.</b> Even though you try this way, if you have still same problem, please contact me.
Regards,
SungHyuk(Markus) Park
sunghyuk.park@samsung.com
Hi. Harish,
I received your mail well and looked up the contol.xml file which you send me.
In your case, I think you should replace the code:
-
while (!mount_iter.isDone()) {
if (mount_iter.get().getFSType() == "LOCAL") {
var row = {"FSName":mount_iter.get().getDriveLetter()};
mounts.updateRow(row, " WHERE FSName='" + row.FSName + "'" );
}
mount_iter.next();
}
if (mounts.numRows() == 1) {
var unique_drive = mounts.select("FSName", "WHERE ROWNUM=0");
context.set("INDEP_PROG_DRIVE", unique_drive);
context.set("INDEP_DATA_DRIVE", unique_drive);
context.set("SAPDB_DEPENDENT_DRIVE", unique_drive);
}
else {
var client = new ClientMapping();
if (context.get("INDEP_PROG_DRIVE") != "") {
context.setProperty("INDEP_PROG_DRIVE", new Property("CHANGEABLE", "NO"));
context.setProperty("INDEP_PROG_DRIVE", new Property("CONTEXT_PARAM_CHANGEABLE", "NO"));
}
-
with the following code.
-
var unique_drive = "F:"
context.set("INDEP_PROG_DRIVE", unique_drive);
context.set("INDEP_DATA_DRIVE", unique_drive);
context.set("SAPDB_DEPENDENT_DRIVE", unique_drive);
-
I hope this modification help you.
Regards,
SungHyuk(Markus) Park
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.