cancel
Showing results for 
Search instead for 
Did you mean: 

Path to DB2 Software not found while performing System Copy on Java Add-On

Former Member
0 Kudos

Can anyone help with the issue I encountered during System Copy on Java Add-On step?

Our dev env is SAP ECC5.0. We made a system copy of it. ABAP stack system copy went fine. We can login to ABAP without any issue. However, when performing Java add-on system copy, encountered following errors. Tried to initial the installation session with db2c?? profile and reinstall, it failed with same messages. Please inform what might be possible cause of this error.

=========================================================================

INFO 2010-09-02 11:23:08

CJSlibModule::writeInfo_impl()

Execution of the command "/usr/sap/C34/SYS/exe/run/disp+work -v" finished with return code 0. Output:

Kernel release: 640, Kernel patch level: 43, Codepage: Unicode

ERROR 2010-09-02 11:23:42 [iaxxinscbk.cpp:289]

abortInstallation

MUT-02041 Path to DB2 Software not found!

WARNING 2010-09-02 11:23:42 [iaxxccntrl.cpp:477]

CController::stepExecuted()

The step DetectSaturn with step key J2EE_SystemCopy_OneHost|ind|ind|ind|WebAS|64

0|0|J2EE_SystemCopy|ind|ind|ind|ind|ind|0|J2EE_EngineEnterpriseDialogs|ind|ind|i

nd|WebAS|630|0|J2EE_Engine|ind|ind|ind|J2EE_Engine|630|0|J2EEDB-DB6|ind|ind|ind|

J2EEDB|10|0|DetectSaturn was executed with status ERROR.

SAPinst component stack:

========================

Preinstall|ind|ind|ind|ind|ind|0

Current script:

===============

if (!installer.onWindows()) {

var pmgt = new ProcessMgt();

var curr_proc_env = pmgt.getCurrentProcessEnvironment();

var DB2DB6_INSTDIR = curr_proc_env.getEnvironmentVariable("DB2DB6_INSTDIR").value();

var DB2SoftwarePath = context.get("DatabaseSoftwarePath");

curr_proc_env.setEnvironmentVariable(new Property("DB2DB6_INSTDIR", DB2SoftwarePath));

installer.writeTrace("Environment Variable DB2DB6_INSTDIR, original value=<"DB2DB6_INSTDIR">, new value=<"DB2SoftwarePath">");

}

if ( installer.getGlobalParameter("DB6DBVERSION") == "NA" ) {

var CallModul = {lib:"iamoddb6", module:"CDB6Common", version:"1.1", call:"GetSoftwareLevel", arg:[]}

var version=installer.invokeModuleCall(CallModul) ;

installer.writeTrace("CDB6Common.GetSoftwareLevel returned : "version"to control.xml");

if (version.substr(0,3) == "N/A") {

installer.writeTrace("Path to DB2 Software not found.\n");

installer.writeTrace("Installation will abort.");

installer.abortInstallation("utlmod.generic", "Path to DB2 Software not found!");

}

if ( version.substr(0,10) >= "08.02.0002" )

setEnvParameter("DB6DBVERSION", version);

else {

installer.writeTrace("Software Level not found or not high enough to support the Installation.\n");

installer.writeTrace("Installation will abort.");

installer.abortInstallation("utlmod.generic", "Software Level not found or not high enough to support the Installation!");

}

}

else

installer.writeTrace("DB6DBVERSION of "installer.getGlobalParameter("DB6DBVERSION")" was set \n"

+"the Database check via CDB6Common. GetSoftwareLevel was skipped \n" )

WARNING 2010-09-02 11:24:58 [iaxxcsihlp.hpp:250]

main()

An error occurred during the installation.

Closing RFC connection 000:DDIC:EN:clisapd1:00:::...

Closing RFC connection 000:DDIC:EN:clisapd1:00:::... Done!

Appreciate any help.

Thanks,

Linda

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Have you done JAVA system copy in any other system ? If so then compare the all the variable settings of that system to this one. It's 110% an issue with locating DB2 s/w through some variable which the installer is searching.

Former Member
0 Kudos

Hi Mike,

Thanks for your response. We upgraded to FP11. The problem resolved.

Thanks,

Linda

Former Member
0 Kudos

Hi Linda,

"Path to DB2 Software not found" - please check this error.

It seems installer is not able to access the DB2 software files. Ensure that DB2 isntallation software mount is available with propoer versions DB2 software and there is proper permission set to access them.

Which user id you are using to run the installer ? Please check the env variable of the same.

Particularly the following env profile parameters.

DB2DIR=

LIBPATH=/usr/lib:/lib:/usr/sap/<SID>/SYS/exe/run:/db2/db2<sid>/sqllib/lib64 (for 64 bit)

Also check your db2setup.log & db2setup.trc files under install directory for "Target Directory" location. Check that target directory location is available against current user.

Regards

Former Member
0 Kudos

root is the installer

Following shows how enviornment was setup within the installation session:

LIBPATH=/usr/lib:/usr/local/libexec:/opt/CA/SharedComponents/lib:/usr/sap/C34/SYS/exe/run:/usr/sap/C34/SYS/exe/runU:/usr/opt/db2_08_01/lib64:/db2/db2c34/sqllib/lib

DB2DIR=/usr/opt/db2_08_01

db2level shows

DB21085I Instance "db2c34" uses "64" bits and DB2 code release "SQL08016" with

level identifier "02070106".

Informational tokens are "DB2 v8.1.1.57", "SAP_11128", "U497635_11128", and

FixPak "6".

Product is installed at "/usr/opt/db2_08_01".

db2ilist shows the correct instance db2c34

db2setup.log & db2setup.trc shows successful messages

What else might be missing here? Anyway to turn on DB2 trace for sapinst?

Thanks,

Linda

Edited by: Ling Yang on Sep 8, 2010 2:58 PM

Former Member
0 Kudos

Linda,

Can you try and set the following environment variable in the installation session.

DB2DB6_INSTDIR=/usr/opt/db2_08_01

- Sameer

Former Member
0 Kudos

Hi Sameer,

I did set that variable too. But it still can't find DB2 path.

Thanks,

Linda