cancel
Showing results for 
Search instead for 
Did you mean: 

main_shdimp/submod_shdimp/shadow_import_upg2

Former Member
0 Kudos

Hello All,

I am upgrading BW form 7.0 to 7.3, on OS windows, DB oracle.

I am in "Preprocessing phase" in phase list "main_shdimp/submod_shdimp/shadow_import_upg2" . My question is if is it normal the shadow instance is down during this phase?

I have this log file from: SAPUP.ECO:

### Phase TR_APPENDBUF_UPG1:

### Phase SHADOW_IMPORT_UPG1:

SAPup> Starting subprocess tp.exe with id 9256 at 20121014181601

EXECUTING C:\usr\sap\BW1\upg\abap\exenew\tp.exe pf=C:\usr\sap\BW1\upg\abap\bin\SHDUPGIMP1.TPP put BW1

Environment: JAVA_HOME=C:\j2sdk1.4.2_17-x64

Environment: NLS_LANG=AMERICAN_AMERICA.UTF8

Environment: ORACLE_HOME=C:\app\Administrator\product\11.2.0\dbhome_1

Environment: ORACLE_SID=BW1

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

Environment: Path=C:\app\Administrator\product\11.2.0\dbhome_1\bin;C:\app\Administrator\product\11.2.0\client_1;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\usr\sap\BW1\SYS\exe\uc\NTAMD64

Environment: auth_shadow_upgrade=0

Environment: dbs_ora_schema=SAPSR3

Environment: dbs_ora_tnsname=BW1

This is C:\usr\sap\BW1\upg\abap\exenew\tp.exe version 380.03.82 (release 720, unicode enabled)

This is C:\usr\sap\BW1\upg\abap\exenew\R3trans.exe version 6.23 (release 720 - 15.05.12 - 20:12:03).

unicode enabled version

C:\usr\sap\BW1\upg\abap\exenew\R3trans.exe finished (0000).

R3trans=>sapparam(1c): No Profile used.

R3trans=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

This is C:\usr\sap\BW1\upg\abap\exenew\R3trans.exe version 6.23 (release 720 - 15.05.12 - 20:12:03).

unicode enabled version

C:\usr\sap\BW1\upg\abap\exenew\R3trans.exe finished (0000).

R3trans=>sapparam(1c): No Profile used.

R3trans=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

This is C:\usr\sap\BW1\upg\abap\exenew\R3trans.exe version 6.23 (release 720 - 15.05.12 - 20:12:03).

unicode enabled version

C:\usr\sap\BW1\upg\abap\exenew\R3trans.exe finished (0000).

R3trans=>sapparam(1c): No Profile used.

R3trans=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

This is C:\usr\sap\BW1\upg\abap\exenew\R3trans.exe version 6.23 (release 720 - 15.05.12 - 20:12:03).

unicode enabled version

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

paul_power
Active Contributor
0 Kudos

Hello Ejersbo,

As you are running Oracle, check SAP Note 558197 upgrade hangs in PARCONV_UPG, XPRAS_UPG, SHADOW_IMPORT_UPG2

This may help in your case.

regards,

Paul

Former Member
0 Kudos

Hello Paul,

The problem was again Archive log dest was full.

It is working now.

Thanks

paul_power
Active Contributor
0 Kudos

Hello Ejersbo,

Thanks fro sharing the cause. glad the upgrade is progressing now.

Regards,

Paul

Former Member
0 Kudos

I was to fast to reply, My shadow instance is yellow .

I have this form dev_w0:

M  *

M  *  LOCATION    SAP-Server BWMNT10_BW1_01 on host BWMNT10 (wp 0)

M  *  ERROR       ThInit: db_connect

M  *

M  *  TIME        Wed Oct 17 13:31:06 2012

M  *  RELEASE     720

M  *  COMPONENT   Taskhandler

M  *  VERSION     1

M  *  RC          13

M  *  MODULE      thxxhead.c

M  *  LINE        11337

M  *  COUNTER     1

M  *

M  *****************************************************************************

M  PfStatDisconnect: disconnect statistics

M  Entering TH_CALLHOOKS

M  ThCallHooks: call hook >ThrBtcCallLgCl< for event BEFORE_DUMP

M  ThCallHooks: hook >ThrBtcCallLgCl< o.k.

M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP

M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   779]

M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  303]

M  ThCallHooks: hook >ThrSaveSPAFields< o.k.

M  ThIErrHandle: entering ThSetStatError

M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)

M  Entering ThReadDetachMode

M  call ThrShutDown (1)...

M  ***LOG Q02=> wp_halt, WPStop (Workp. 0 4736) [dpnttool.c   339]

I did treid wit this:

C:\Users\bw1adm>R3TRANS -d
This is R3TRANS version 6.22 (release 720 - 18.11.11 - 11:29:00).
unicode enabled version
R3trans=>sapparam(1c): No Profile used.
R3trans=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
R3TRANS finished (0000).

C:\Users\bw1adm>

And oracle is working fine.

Thanks.

paul_power
Active Contributor
0 Kudos

Hi,

Unusual that R3trans if working fine. Are there errors further down in the dev_w0 file?

Is the same error in all of the dev_w* files?

Anything in dev_disp.log?

regards,

Paul

Former Member
0 Kudos

Yes strang, the source instance working, but shadow will not start. i did add to file dev_w0 and disp. Mybe help to anderstand this error.

Thanks

paul_power
Active Contributor
0 Kudos

Hi,

So the dev_disp shows all work processes died. The dev_w shows the error is

B  Connection 0 opened (DBSL handle 0)


C     OCIStmtExecute() failed with -1=OCI_ERROR


C     SQL error 942:


B  ***LOG BZA=> table SVERS      does not exist on database            [dblink       1323]


M  ***LOG R19=> ThInit, db_connect ( DB-Connect 004096) [thxxhead.c   1474]


M  in_ThErrHandle: 1


M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   11060]

This is still in the shadow_import_upg2 phase?

Former Member
0 Kudos

yes it is  still in the shadow_import_upg2 phase.

Is it normal the shadow instance is down during this phase?

Former Member
0 Kudos
I have this error log file SAPK730WE7 .
Former Member
0 Kudos

I did treid to start and stop shadow instance manually i get :

C:\usr\sap\BW1\upg\abap\bin>SAPup stopshd
Enter the path of your root directory [C:\usr\sap\BW1\upg\abap]:
Root directory =
At this time the shadow instance does not yet exist since you have passed phase
STOP_SHDI_*!

C:\usr\sap\BW1\upg\abap\bin>SAPup stopshd bw1
Enter the path of your root directory [C:\usr\sap\BW1\upg\abap]:
Root directory =
At this time the shadow instance does not yet exist since you have passed phase
STOP_SHDI_*!

C:\usr\sap\BW1\upg\abap\bin>SAPup startshd
Enter the path of your root directory [C:\usr\sap\BW1\upg\abap]:
Root directory =
At this time the shadow instance does not yet exist since you have passed phase
STOP_SHDI_*!

C:\usr\sap\BW1\upg\abap\bin>

Humm Any idea?

Thanks

paul_power
Active Contributor
0 Kudos

Hi,

Im really not sure. Are the logs getting regularly updated?

If so, and their is no error entry in the logs or the SLOG, then I would let it run.

Did

SAP Note 558197 upgrade hangs in PARCONV_UPG, XPRAS_UPG, SHADOW_IMPORT_UPG2

make any difference?

Regards,

Paul

Former Member
0 Kudos

In begynning I had stop upgrade and unlock shadow for clean up on  Archive log.

After that I had implement note 558197 . Now I can see source instanc is up but shadow not start.

Now I restart upgrade :

is a last part of SAPup log.

CURRENTPHASE MAIN_SHDIMP/SUBMOD_SHDIMP/APPENDBUF_SHDUPG
...started at 20121017091027
..finished at 20121017091027 with status SUCCEEDED.

CURRENTPHASE MAIN_SHDIMP/SUBMOD_SHDIMP/SHADOW_IMPORT_UPG2
...started at 20121017091027
...begin processing at 20121017091027
#
# ************************* SAPup started in UPGRADE mode *************************
# This is SAPup release lmt_002 version 41.000 compile time 05:29:09 Nov 18 2010.
# This is UNICODE SAPup!
# Running in graphics mode server.
# GUI reports feature 'dialogue' as 'enabled' level 2, user said 'unknown'.
# GUI reports feature 'dialoghelp' as 'enabled' level 1, user said 'unknown'.
# GUI reports feature 'html' as 'enabled' level 1, user said 'unknown'.
# GUI reports feature 'console' as 'unknown' level 0, user said 'unknown'.
# GUI reports feature 'progress' as 'enabled' level 1, user said 'unknown'.
# GUI reports feature 'unitcontrol' as 'enabled' level 3, user said 'unknown'.
# GUI reports feature 'remotecontrol' as 'enabled' level 2, user said 'unknown'.
# GUI reports feature 'synchronization' as 'enabled' level 2, user said 'unknown'.
# GUI reports feature 'mid' as 'enabled' level 3, user said 'unknown'.
# GUI reports feature 'evaluation' as 'enabled' level 1, user said 'unknown'.
# DB-functions initialized for 'ORACLE'.
Current unit is 'PRE-EXECUTE', next unit is 'PRE-EXECUTE'.
-> decided to continue with unit PRE-EXECUTE.
...begin dialogue at 20121017152537
...end dialogue at 20121017152542
..answered at 20121017152542.
-> decided to try again.
# Executing module 'MAIN_SHDIMP'.

Execution of MAIN module "Shadow Import" begins at 20121017152542


CURRENTPHASE MAIN_SHDIMP/SUBMOD_SHDIMP/SHADOW_IMPORT_UPG2
...started at 20121017152542
...begin processing at 20121017152543

paul_power
Active Contributor
0 Kudos

Hi,

CURRENTPHASE MAIN_SHDIMP/SUBMOD_SHDIMP/SHADOW_IMPORT_UPG2

...started at 20121017152542

...begin processing at 20121017152543

what is the current ime/ how long has it been running?

I would leave it run and monitor the logs for updates.

Let us know if an error appears or if it seems to be hanging.

Regards,

Paul

Former Member
0 Kudos

Last part from slog730.


STOP  REMOVE STOPMARK      ALL        20121017091027              bw1adm       BWMNT10 201210170910270029f4
START REMOVE STOPMARK      ALL        20121017091027              bw1adm       BWMNT10 20121017091027002a84
STOP  REMOVE STOPMARK      ALL        20121017091027              bw1adm       BWMNT10 20121017091027002a84
### Phase SHADOW_IMPORT_UPG2:
START SHADOW IMPORT        BW1 K      20121017091027              bw1adm       BWMNT10 20121017091027002af8
WARNING: returncode 1073807364 received -> changed to 7777
ERROR SAPK730WE7           BW1 K 7777 20121017115613 SAPUSER      bw1adm       BWMNT10 20121017091027002af8

Log file from SAPK730WE7 i did added as zip file.

Thanks

Former Member
0 Kudos

That run for some hour, But the shadow instance i down. Is it ok?

Thanks

paul_power
Active Contributor
0 Kudos

Hi,

sorry I missed this log file earlier.

This error

4 ETW000 waiting for the childrens' results (date&time: 17.10.2012 - 09:30:21)


1 ETP187 R3TRANS SHADOW IMPORT


1 ETP110 end date and time   : "20121017115613"


1 ETP111 exit code           : "7777"

looks like something is wrong with the R3trans tool.

Are you using the latest patch level?

This can be checked with

R3trans -v

Former Member
0 Kudos

I justchange R3trans and TP for shadow instance.

C:\Users\bw1adm>r3trans -v

This is r3trans version 6.22 (release 720 - 18.11.11 - 11:29:00).

unicode enabled version

form shadow:

C:\usr\sap\BW1\upg\abap\exe>r3trans -v
This is r3trans version 6.23 (release 720 - 17.09.12 - 20:12:05 ).
unicode enabled version

--------------------

thanks

Former Member
0 Kudos

Hello again.

At last after implement this note 12746 I can continue my upgrade.

Thanks again.

Answers (0)