cancel
Showing results for 
Search instead for 
Did you mean: 

Error occurs during NW upgrade from 7.02 to 7.3: Found contradicting entry for 'SETENV_00': 'DIR_LIBRARY=$(DIR_LIBRARY)' != 'DB2_CLI_DRIVER_INSTALL_PATH=$(DIR_EXECUTABLE)/db6_clidriver'!

Former Member
0 Kudos

Hi,

I am upgrading NW from 7.02 to 7.3 now and an error occurs in the 'Check' phase.

ERROR: Found contradicting entry for 'SETENV_00': 'DIR_LIBRARY=$(DIR_LIBRARY)' != 'DB2_CLI_DRIVER_INSTALL_PATH=$(DIR_EXECUTABLE)/db6_clidriver'!

System: Suse Linux 11.

Could anyone help me please? Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Can you please try to check the value of DIR_LIBRARY

Connect to the OS with <sid>adm

  • run the "env" command
  • run the "sapcontrol -nr <inst#> -function GetEnvironment"
  • Compare both

Check the below note.

1468615 - Additional information: Upgrade to SAP NetWeaver 7.3 DB2 LUW

Thanks

Rishi Abrol

Former Member
0 Kudos

Hi,

Thank you for reply.

I have read the note and found out that I should do this:

Open file START_DVEBMGS00_linux-q0fx under parth /sapmnt/<SID>/profile, check the numbers start with SETENV:

SETENV_00 = DIR_LIBRARY=$(DIR_LIBRARY)

SETENV_01 = LD_LIBRARY_PATH=$(DIR_LIBRARY):%(LD_LIBRARY_PATH)

SETENV_02 = SHLIB_PATH=$(DIR_LIBRARY):%(SHLIB_PATH)

SETENV_03 = LIBPATH=$(DIR_LIBRARY):%(LIBPATH)

SETENV_04 = PATH=$(DIR_EXECUTABLE):%(PATH)

The last command is SETENV_04.

Then open file  S01_DVEBMGS00_linux-q0fx under the same path and find out the line:

SETENV_00 = DB2_CLI_DRIVER_INSTALL_PATH=$(DIR_EXECUTABLE)/db6_clidriver

According to the note, I should change this line to:

SETENV_05 = DB2_CLI_DRIVER_INSTALL_PATH=$(DIR_EXECUTABLE)/db6_clidriver

Then the problem should be solved.

Actually, I have changed this line to:

SETENV_00 = DIR_LIBRARY=$(DIR_LIBRARY)

before your reply.

I don't know if this is right but till now it does work.

The upgrading program is still running without error in the phase preprocessing.

Of course I have changed this to

SETENV_05 = DB2_CLI_DRIVER_INSTALL_PATH=$(DIR_EXECUTABLE)/db6_clidriver

according to the note after I see your reply.

Haha~~

Thank you very much!

Best Regards,

Craina Hu

Answers (2)

Answers (2)

0 Kudos

Dear Carina Hu

   I face this error recently, do I need to clean up line "SETENV_00 = DIR_LIBRARY=$(DIR_LIBRARY)" to make that profile useful?

   Looking forward to ur reply, ur kind response would be much apreciated!

Cordially.

Franz

Former Member
0 Kudos

Hi Dongdan,

I think you should follow the note 1468615 - Additional information: Upgrade to SAP NetWeaver 7.3 DB2 LUW or refer to the following:


I have read the note and found out that I should do this:

Open file START_DVEBMGS00_linux-q0fx under parth /sapmnt/<SID>/profile, check the numbers start with SETENV:

SETENV_00 = DIR_LIBRARY=$(DIR_LIBRARY)

SETENV_01 = LD_LIBRARY_PATH=$(DIR_LIBRARY):%(LD_LIBRARY_PATH)

SETENV_02 = SHLIB_PATH=$(DIR_LIBRARY):%(SHLIB_PATH)

SETENV_03 = LIBPATH=$(DIR_LIBRARY):%(LIBPATH)

SETENV_04 = PATH=$(DIR_EXECUTABLE):%(PATH)

The last command is SETENV_04.

Then open file  S01_DVEBMGS00_linux-q0fx under the same path and find out the line:

SETENV_00 = DB2_CLI_DRIVER_INSTALL_PATH=$(DIR_EXECUTABLE)/db6_clidriver

According to the note, I should change this line to:

SETENV_05 = DB2_CLI_DRIVER_INSTALL_PATH=$(DIR_EXECUTABLE)/db6_clidriver

Then the problem should be solved.

I changed line SETENV_00 = DB2_CLI_DRIVER_INSTALL_PATH=$(DIR_EXECUTABLE)/db6_clidriver to SETENV_00 = DIR_LIBRARY=$(DIR_LIBRARY) and it worked. But I don't think this is the right way to fix this problem.

So please follow the note.


Thank you.

B.R.

Carina


0 Kudos

Really thanx for ur time, I would check the note then

v_veeramalla
Active Participant
0 Kudos

looks like environment problem.

check env.

cat .*.csh |grep DIR_LIBRARY

Former Member
0 Kudos

Hi,

Issues been solved.

Thank you very much for your reply.

Thank you.

Best Regards,

Carina Hu