cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade 6.20->6.40 Phase DBCHK

Former Member
0 Kudos

Hello,

After the phase or in the phase DBCHK the upgrade process stalled.

DBINFO.LOG says:

R3up> Starting subprocess tp.exe with id 1812 at 20051010135004

EXECUTING E:\usr\sap\AXA\SYS\exe\run\tp.exe pf=E:\usr\sap\put\bin\DEFAULT.TPP getdbinfo AXA

Environment: dbs_ada_schema=SAPAXA

Environment: dbms_type=ada

Warning: Parameter INTERRUPT is no longer used.

Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.

Warning: Parameter WITH_TACOB is no longer used.

Warning: Parameter IMPDP_BY_EVENT is no longer used.

Warning: Parameter INTERRUPT is no longer used.

Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.

Warning: Parameter WITH_TACOB is no longer used.

Warning: Parameter IMPDP_BY_EVENT is no longer used.

Warning: Parameter DBNAME is no longer used.

Warning: Parameter DBHOST is no longer used.

KERNVER=620

SAPVERS=620

DOKVERS=620

COMPVERS=ABA_PLUS 100 0009

COMPVERS=EA-APPL 200 0007

COMPVERS=EA-DFPS 200 0007

COMPVERS=EA-FINSERV 200 0007

COMPVERS=EA-GLTRADE 200 0007

COMPVERS=EA-HR 200 0011

COMPVERS=EA-IPPE 200 0013

COMPVERS=EA-PS 200 0007

COMPVERS=EA-RETAIL 200 0007

COMPVERS=PI 2004_1_4700001

COMPVERS=PI_BASIS 2004_1_6200003

COMPVERS=SAP_ABA 620 0055

COMPVERS=SAP_APPL 470 0024

COMPVERS=SAP_BASIS 620 0055

COMPVERS=SAP_HR 470 0030

DBAVERS=7.6.00.012

DBASUBTYPE=STANDARD

sapparam: sapargv( argc, argv) has not been called.

sapparam(1c): No Profile used.

sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

But CONNECT.LOG says:

1 ETQ201XEntering upgrade-phase "DBCHK_PRE" ("20051010135003")

2 ETQ367 Connect variables are set for standard instance access

4 ETQ399 System-nr = '00', GwService = 'sapgw00'

4 ETQ399 Environment variables:

4 ETQ399 dbs_ada_schema=<null>

4 ETQ399 auth_shadow_upgrade=0

4 ETQ399 SQLOPT=DEFAULT

4 ETQ380 computing toolpath for request "TP_DEFAULT"

4 ETQ382 translates to group "R3UP_TOOL_GROUP_OLD"

4 ETQ383 translates to path "E:\usr\sap\AXA\SYS\exe\run"

4 ETQ383 translates to path "exe"

4 ETQ399 Set environment for standard connect:

4 ETQ399 ENV: dbs_ada_schema=SAPAXA

4 ETQ399 ENV: auth_shadow_upgrade=0

4 ETQ399 Set RFC variables for standard connect:

4 ETQ399 System-nr = '00', GwService = 'sapgw00'

4 ETQ399 Set tool parameters for standard connect:

4 ETQ399 default TPPARAM: DEFAULT.TPP

1 ETQ202 Upgrade phase "DBCHK_PRE" completed sucessfully ("20051010135003")

And R3upchk.log:

[........]

UPGRADEPHASE DBCHK_PRE

...started at 20051010135003

  1. Condition #if -1 >= 0

  2. is evaluated as a FALSE expression, total status is FALSE, stack level 1

  3. Condition #if -1 >= 0

  4. is evaluated as a FALSE expression, total status is FALSE, stack level 1

  5. DB Environment for R3up:

  6. DBATYPE SAPDB

  7. DBAHOME

  8. DBAEXE \pgm

  9. DBACONN "AXA"

  10. DBAVERS 7.6.00.012

  11. KERNVERS 620

  12. SAPVERS 620

  13. DOKVERS 620

  14. DBASUBTYPE STANDARD

  15. DBAOPSYS SAME_SYS

  16. DBA2CONN ""

  17. COMPRELS "ABA_PLUS=100,EA-APPL=200,EA-DFPS=200,EA-FINSERV=200,EA-GLTRADE=200,EA-HR=200,EA-IPPE=200,EA-PS=200,EA-RETAIL=200,PI=2004_1_470,PI_BASIS=2004_1_620,SAP_ABA=620,SAP_APPL=470,SAP_BASIS=620,SAP_HR=470"

..finished at 20051010135004 with SEVERE ERROR(S).

...begin dialogue at 20051010135004

...end dialogue at 20051010203118

...begin dialogue at 20051010203118

It sound a little contradictory!

Has someone an idea?

Now I have 2 R3up.exe processes and prepare does not go on...

Regards,

Tommaso

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tommaso,

Please check and set the environment varibale of the following paramenters

DIR_LIBRARY (eg. C:\sapdb\nsp\db\pgm)

dbms_type (eg. ora, ada)

path

Cheers,

Vivek

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tommaso,

Can you please send some more details.

Also, have you upgrade the kernel version becuase in your DBINFO.LOG file it is still showing 6.20.

Vivek

Former Member
0 Kudos

Hi Vivek,

Thank you for your reply.

I start PREPARE (all modules have been selected) and after I input all the requested parameters and the phase INITPUT_PRE is successfully terminated, the Upgrade Assistant run 3 times tp.exe:

E:\usr\sap\AXA\SYS\exe\run\tp.exe pf=E:\usr\sap\put\bin\DEFAULT.TPP getdbinfo AXA

Then I get the message: Connection to Upgrade was closed and nothing more go on.

R3up is running, bat it does nothing (I think).

My SAP kernel is 6.40 patch 58 (October 2005).

The whole system should be completly updated (maximum of 6.20).

If you need some more information I will gladly provide it.

Thank you and Regards,

Tommaso

Former Member
0 Kudos

Hi Tommaso,

Try it install the latest TP,R3TRANS,R3UP versions,then continue the prepare phase.

Cheers,

Vivek

Former Member
0 Kudos

Hi Vivek,

all possible update are done. Also in the put directory.

The Upgrade Monitor says:

running E:\usr\sap\put\exe\tp.exe pf=E:\usr\sap\put\bin\DEFAULT.TPP getdbinfo AXA

Warning: The return code of tp is 249

Unable to determine the start release, please try again later.

I can not start Prepare, I can not do anything.

Regards,

Tommaso

Former Member
0 Kudos

<b>The file SLOG640 contains following information:</b>

ERROR: No connect due to DbSl Load Lib Failure

ERROR: environment variable dbms_type is not set.

ERROR: Connect to AXA failed (20051012163740).

<b>The tail of the file XCMDOUT.LOG says:</b>

-


> Subprocess starts at 20051012163104

Execute Command : dbmcli -U w -USQL DEFAULT sql_execute SELECT SERVERDB FROM DOMAIN.SERVERDBS

Error! Connection failed to node seneca for database AXA: ERR_USRFAIL: User authorization failed

> Subprocess stops at 20051012163106 with returncode 2

-


roland_mallmann
Advisor
Advisor
0 Kudos

Hi,

probably your XUSER settings aren't correct or entered at all. Please take a look at note 39439 to correct them.

Regards,

Roland

Former Member
0 Kudos

Hello Vivek, Hello Roland,

Thank you for your afforts!

But there is still something wrong.

The Upgrade Assistant says (after choosing Administrator|Start PREPARE):

[code]SAP UPGRADE CONTROL PROGRAM

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

This is R3up version 6.40/2 upgrade to release

640 of SAP_BASIS

500 of SAP_APPL

640 of SAP_ABA

500 of SAP_HR

350 of SAP_BW

Target SAP system is AXA, SAPDB database

R3up started in PREPARE mode.

? continue

? cancel

Waiting for input since 26.10.2005 09:34:59

> continue

running E:\usr\sap\put\exe\tp.exe pf=E:\usr\sap\put\bin\DEFAULT.TPP getdbinfo AXA

ERROR: Unsupported MaxDB Version

Check environment

ERROR: Database environment not defined, aborted !

? continue

? cancel

Waiting for input since 26.10.2005 09:35:10

> continue

Connection to Upgrade was closed[/code]

I setted the users' login data with xuser (xuser list):

[code]----


XUSER Entry 1

-


Key :DEFAULT

Username :SAPAXA

UsernameUCS2:S.A.P.A.X.A. . . . . . . . . . . . . . . . . . . . . . . . . . .

Password :?????????

PasswordUCS2:?????????

Dbname :AXA

Nodename :seneca

Sqlmode :INTERNAL

Cachelimit :-1

Timeout

Isolation

Charset :<unspecified>

-


XUSER Entry 2

-


Key :domain

Username :DOMAIN

UsernameUCS2:D.O.M.A.I.N. . . . . . . . . . . . . . . . . . . . . . . . . . .

Password :?????????

PasswordUCS2:?????????

Dbname :AXA

Nodename :seneca

Sqlmode :INTERNAL

Cachelimit :-1

Timeout :-1

Isolation :-1

Charset :<unspecified>

-


XUSER Entry 3

-


Key :w

Username :SUPERDBA

UsernameUCS2:S.U.P.E.R.D.B.A. . . . . . . . . . . . . . . . . . . . . . . . .

Password :?????????

PasswordUCS2:?????????

Dbname :AXA

Nodename :seneca

Sqlmode :INTERNAL

Cachelimit :-1

Timeout :-1

Isolation :-1

Charset :<unspecified>

-


XUSER Entry 4

-


Key :AXA

Username :SAPAXA

UsernameUCS2:S.A.P.A.X.A. . . . . . . . . . . . . . . . . . . . . . . . . . .

Password :?????????

PasswordUCS2:?????????

Dbname :AXA

Nodename :seneca

Sqlmode :INTERNAL

Cachelimit :-1

Timeout

Isolation

Charset :<unspecified>

-


XUSER Entry 5

-


Key :c

Username :CONTROL

UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .

Password :?????????

PasswordUCS2:?????????

Dbname :AXA

Nodename :seneca

Sqlmode :INTERNAL

Cachelimit :-1

Timeout

Isolation

Charset :<unspecified>[/code]

I setted the follwoing Environment variables:

[code]E:\Documents and Settings\Administrator>set

ALLUSERSPROFILE=E:\Documents and Settings\All Users

APPDATA=E:\Documents and Settings\Administrator\Application Data

ClusterLog=E:\WINDOWS\Cluster\cluster.log

CommonProgramFiles=E:\Program Files\Common Files

COMPUTERNAME=SENECA

ComSpec=E:\WINDOWS\system32\cmd.exe

dbms_type=ada

DIR_LIBRARY=E:\usr\sap\put\exe

HOMEDRIVE=E:

HOMEPATH=\Documents and Settings\Administrator

LOGONSERVER=
SENECA

NUMBER_OF_PROCESSORS=2

OS=Windows_NT

Path=E:\oracle\product\10.2.0\db_1\bin;c:\sapdb\programs\bin;c:\sapdb\programs\p

gm;E:\WINDOWS\system32;E:\WINDOWS;E:\WINDOWS\System32\Wbem;E:\Sun\AppServer\bin

PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

PERL5LIB=E:\oracle\product\10.2.0\db_1\perl\5.8.3\lib\MSWin32-x86;E:\oracle\prod

uct\10.2.0\db_1\perl\5.8.3\lib;E:\oracle\product\10.2.0\db_1\perl\5.8.3\lib\MSWi

n32-x86;E:\oracle\product\10.2.0\db_1\perl\site\5.8.3;E:\oracle\product\10.2.0\d

b_1\perl\site\5.8.3\lib;E:\oracle\product\10.2.0\db_1\sysman\admin\scripts;

PROCESSOR_ARCHITECTURE=x86

PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel

PROCESSOR_LEVEL=15

PROCESSOR_REVISION=0401

ProgramFiles=E:\Program Files

PROMPT=$P$G

SAPSYSTEMNAME=AXA

SESSIONNAME=Console

SystemDrive=E:

SystemRoot=E:\WINDOWS

TEMP=E:\DOCUME1\ADMINI1\LOCALS~1\Temp

TMP=E:\DOCUME1\ADMINI1\LOCALS~1\Temp

USERDOMAIN=SENECA

USERNAME=Administrator

USERPROFILE=E:\Documents and Settings\Administrator

windir=E:\WINDOWS[/code]

I read the note 39439 but my system is working and in C:\WINNT\SYSTEM32\DRIVER\ETC\SERVICES

[code]

sapmsAXA 3600/tcp # SAP System Message Port

sapdp00 3200/tcp # SAP System Dispatcher Port

sapdp00s 4700/tcp # SAP System Dispatcher Security Port

sapgw00 3300/tcp # SAP System Gateway Central Instance Port

sapgw00s 4800/tcp # SAP System Gateway Security Port

sql6 7210/tcp

sapdbni72 7269/tcp

[/code]

should I really add

<b>sql30 7200/tcp</b>

?

Thank you very much & Cheers,

Tommaso

roland_mallmann
Advisor
Advisor
0 Kudos

Hi,

which exact MaxDB version is installed?

Regards,

Roland

Former Member
0 Kudos

Hi,

From System Status:

Datenbank-System SAP DB

Release 7.6.00.012

The following two processes are running:

serv.exe 440 MaxDB - Communication server MySQL MaxDB c:\sapdb\programs\pgm\serv.exe 7.06.0000.0000 2'848 K

kernel.exe 1916 MaxDB - Kernel MySQL MaxDB c:\sapdb\axa\db\pgm\kernel.exe 7.06.0000.0000 497'904 K

Regards,

Tommaso

roland_mallmann
Advisor
Advisor
0 Kudos

Hi,

from the below error output, it seems wrong/incorrect versions were installed on your system:

"

running E:\usr\sap\put\exe\tp.exe pf=E:\usr\sap\put\bin\DEFAULT.TPP getdbinfo AXA

ERROR: Unsupported MaxDB Version

Check environment

ERROR: Database environment not defined, aborted !

-->

ERROR: No connect due to DbSl Load Lib Failure

ERROR: environment variable dbms_type is not set.

ERROR: Connect to AXA failed (20051012163740).

"

Please let me know your current TP and R3TRANS versions (tp -v; r3trans -v). The correct version would have to fit to your DBSL version.

Regards,

Roland

Former Member
0 Kudos

Hi,

C:\U\Master\UM1\NT\I386>R3up -v

This is R3up version 6.40/2, build 21.063

C:\U\Master\UM1\NT\I386>tp -v

This is tp version 340.15.22 (release 640)

-


tp information

-


kernel release 640

kernel make variant 640_REL

DBMS client library SAPDB_743_b05

DBSL shared library version 640.00

compiled on NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10

compilation mode Non-Unicode

compile time Feb 8 2005 19:54:16

update level 0

patch number 56

source id 0.058

-


supported environment

-


database (SAP, table SVERS) 610

620

630

640

DBMS server

MaxDB 7.5.0

operating system

Windows NT 5.0

Windows NT 5.1

Windows NT 5.2

-


tp patch information

-


( 0.003) Restart after error in transport request independent step (note 686580)

( 0.003) Dd activation ends with returncode 8 although there's no error (note 694062)

( 0.038) Avoid error in function Utf8nToUcnOverlap_2 (note 671170)

( 0.038) Buffer destroyed after delfrombuffer (note 769949)

( 0.038) Return 152 if nothing was done (note 774616)

( 0.039) No delivery after inter domain transport (note 772576)

( 0.039) Repeat import without umode 1 (note 778958)

( 0.039) Memory overwriter in tpparam.c (note 777569)

( 0.055) Tp import all stops with RC 16 on SUN (note 786384)

( 0.055) Wrong transport sequence after preliminary import (note 793879)

( 0.055) No import after preliminary import in inter domain transport (note 772576)

( 0.056) Exp. format strings to packed (note 810005)

-


dbsl patch information

-


( 0.004) SAPDB supports DBSL_CMD_INI_KRN_CALLBACK (note 624930)

( 0.004) CHECKPOINT NOWAIT removed (note 708201)

( 0.006) Do not use APC signals for SAPDB (note 713242)

( 0.014) LobGetpiece returns a failure if no data available (note 720343)

( 0.018) ThGetWpId corrected (note 624930)

( 0.031) Set isolation level calls optimized (note 762712)

( 0.032) SAPDB min. release is 7.4.3 (note 326487)

( 0.032) Abap info for performance montior (note 216208)

( 0.032) Sapdb_free invalid address (note 766340)

( 0.035) EXPLAIN with non character inputvariables (note 770755)

( 0.035) Sapdb_free invalid address (note 766340)

( 0.039) Do not abort session after -810 (note 780238)

( 0.039) Invalid data of STAD corrected (note 779116)

( 0.055) Statistic data in ST05 corrected (note 807216)

( 0.055) Min. release check of non default connection removed (note 807218)

You are right! 7.6 is not supported.

Should I change all the installations DVD or only the Master?

Thank you!

Regards,

Tommaso

roland_mallmann
Advisor
Advisor
0 Kudos

Hi,

the question is: where did you get the 7.6 MaxDB version? This version is not supported and not released for use with either 6.20 or 6.40.

You'll probably need to go back to the MaxDB 7.5 version.

---

The versions of the tools tp, R3trans (and DBSL) should be checked not from the CD/DVD, but from the upgrade directory (/usr/sap/put/bin (Unix) or /usr/sap/put/exe (Windows)) to check for a mismatch.

Regards,

Roland