My environment is Redhat 7.1 SAPDB 7.4.3.10...

I am using InstallAnywhere 5.x to create an installation.  I run a
script during this install by getting control in some Java custom code,
and then doing the following:

String instDir = ip.substitute("$USER_INSTALL_DIR$"); // the install
directory
String commandShell = "/bin/sh";
String commandOption = "-c";
String command = instDir + "/ISAPDB " + instDir;
String[] commandArray = {commandShell, commandOption, command};
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec(commandArray);
        .
        misc handling of STDOUT/ERROUT streams
        .
        .


The ISAPDB script looks like this:

#!/bin/sh

echo "---------------------------------"
echo "- ISAPDB started..."
echo "---------------------------------"

ls
cd $1/sapdb-all-linux-32bit-i386-7_4_3_10
ls

$1/sapdb-all-linux-32bit-i386-7_4_3_10/SDBINST -b -profile Server
-indep_data $1/sapdb/indep_data -indep_prog $1/sapdb/indep_prog -depend
$1/sapdb/depend -o sapdb -g sapdb

SDBINST is failing with the following messages:

cannot eval module from repository
module SAPDB::Install missing

The funny part is that I can run this script from the commandline and it
completes succesfully.

I will probably need to talk to the InstallAnywhere folks, but I'd like
to know the source of the messages before I do...

What do these messages indicate?

Jim

_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to