on 03-18-2008 9:49 AM
Hi,
i am getting problem in phase Installation. please look into the below error:
PREPARE: START OF PHASE SHDINST_CPY
You have the alternative to use the profiles
from a test upgrade with identical environment
for the so-called shadow instance. If you choose
this alternative the profiles will be taken from
the subdirectory <save>.
Please also refer to the upgrade manual for more details!
Do you want to take the profiles?
when i choose yes, i am getting this error "SEVERE ERROR: copy of C:\usr\sap\put\save\SHDINST.LST failed"
if i choose no, its running but at the end i getting this error
"'Installation' status: failed".
Please see file C:\usr\sap\put\log\CHECKS.LOG
for the actions which have to be performed.
#=======================================================================
Starting new execution of PREPARE modules
Installation
at 20080318150442.
#=======================================================================
#==================================================#
Requests and information for module Installation #
#==================================================#
#=========================================================#
PREPARE module Installation finished with status failed #
#=========================================================#
#====================================================
Execution of all selected PREPARE modules finished.
#====================================================
my R3up is running but shadow instance is down, dispatcher is not connecting to message server.
please help me.
>
> Hi,
>
> i am getting problem in phase Installation. please look into the below error:
>
> PREPARE: START OF PHASE SHDINST_CPY
>
>
> You have the alternative to use the profiles
> from a test upgrade with identical environment
> for the so-called shadow instance. If you choose
> this alternative the profiles will be taken from
> the subdirectory <save>.
> Please also refer to the upgrade manual for more details!
> Do you want to take the profiles?
>
> when i choose yes, i am getting this error "SEVERE ERROR: copy of C:\usr\sap\put\save\SHDINST.LST failed"
So do you have that file in that directory from a previous upgrade? If not, then donu00B4t choose "yes".
> my R3up is running but shadow instance is down, dispatcher is not connecting to message server.
Please check the dev_disp and dev_w0 of the shadow instance.
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
below is the dev_w0 log:
-
trc file: "dev_w0", trc level: 1, release: "640"
-
*
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
*
B
B Tue Mar 18 15:50:43 2008
B create_con (con_name=R/3)
B Loading DB library 'C:\usr\sap\put\exe\dboraslib.dll' ...
B Library 'C:\usr\sap\put\exe\dboraslib.dll' loaded
B Version of 'C:\usr\sap\put\exe\dboraslib.dll' is "640.00", patchlevel (0.6)
B New connection 0 created
M systemid 560 (PC with Windows NT)
M relno 6400
M patchlevel 0
M patchno 10
M intno 20020600
M make: multithreaded, ASCII
M pid 400
M
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 400) [dpxxdisp.c 1153]
I MtxInit: -2 0 0
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: JAVA is not active
M DpShMCreate: sizeof(wp_adm) 6624 (828)
M DpShMCreate: sizeof(tm_adm) 2083168 (10364)
M DpShMCreate: sizeof(wp_ca_adm) 18000 (60)
M DpShMCreate: sizeof(appc_ca_adm) 6000 (60)
M DpShMCreate: sizeof(comm_adm) 192000 (384)
M DpShMCreate: sizeof(vmc_adm) 0 (320)
M DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)
M DpShMCreate: SHM_DP_ADM_KEY (addr: 05070040, size: 2368736)
M DpShMCreate: allocated sys_adm at 05070040
M DpShMCreate: allocated wp_adm at 050717A8
M DpShMCreate: allocated tm_adm_list at 05073188
M DpShMCreate: allocated tm_adm at 050731B0
M DpShMCreate: allocated wp_ca_adm at 0526FB10
M DpShMCreate: allocated appc_ca_adm at 05274160
M DpShMCreate: allocated comm_adm_list at 052758D0
M DpShMCreate: allocated comm_adm at 052758E8
M DpShMCreate: allocated vmc_adm_list at 052A46E8
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 052A4710
M DpShMCreate: allocated wall_adm at 052A4718
X EmInit: MmSetImplementation( 2 ).
X <ES> client 0 initializing ....
X Using implementation std
M <EsNT> Memory Reset enabled as NT default
X ES initialized.
M calling db_connect ...
C Got ORACLE_HOME=C:\oracle\DEV\102 from environment
C Client NLS settings: AMERICAN_AMERICA.WE8DEC
C Logon as OPS$-user to get SAPDEVSHD's password
C Connecting as /@DEV on connection 0 ...
C Attaching to DB Server DEV (con_hdl=0,svchp=082102F8,svrhp=036BFA74)
C Starting user session (con_hdl=0,svchp=082102F8,srvhp=036BFA74,usrhp=08224548)
C Now I'm connected to ORACLE
C *** ERROR => ORA-1403 when accessing table SAPUSER
[dbsloci.c 10114]
C Disconnecting from connection 0 ...
C Closing user session (con_hdl=0,svchp=082102F8,usrhp=08224548)
C Now I'm disconnected from ORACLE
C Try to connect with default password
C Connecting as SAPDEVSHD/<pwd>@DEV on connection 0 ...
C Starting user session (con_hdl=0,svchp=082102F8,srvhp=036BFA74,usrhp=08224548)
C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
[dboci.c 3721]
C *** ERROR => CONNECT failed with sql error '1017'
[dbsloci.c 9750]
B ***LOG BY2=> sql error 1017 performing CON [dbsh#1 @ 1200] [dbsh 1200 ]
B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#1 @ 1200] [dbsh 1200 ]
B ***LOG BY2=> sql error 1017 performing CON [dblink#1 @ 419] [dblink 0419 ]
B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#1 @ 419] [dblink 0419 ]
M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1270]
M in_ThErrHandle: 1
M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 9377]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M
M *****************************************************************************
M *
M * LOCATION SAP-Server home1_DEV_01 on host home1 (wp 0)
M * ERROR tskh_init: db_connect
M *
M * TIME Tue Mar 18 15:50:43 2008
M * RELEASE 640
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 9553
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 728]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 245]
M Entering ThSetStatError
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 400) [dpnttool.c 357]
**********************************************************************
and below is the dev_disp log:
-
trc file: "dev_disp", trc level: 1, release: "640"
-
Tue Mar 18 15:50:37 2008
kernel runs with dp version 127(ext=102) (@(#) DPLIB-INT-VERSION-127)
length of sys_adm_ext is 312 bytes
systemid 560 (PC with Windows NT)
relno 6400
patchlevel 0
patchno 10
intno 20020600
make: multithreaded, ASCII
pid 312
***LOG Q00=> DpSapEnvInit, DPStart (01 312) [dpxxdisp.c 1093]
shared lib "dw_xml.dll" version 10 successfully loaded
Tue Mar 18 15:50:38 2008
shared lib "dw_xtc.dll" version 10 successfully loaded
shared lib "dw_stl.dll" version 10 successfully loaded
shared lib "dw_gui.dll" version 10 successfully loaded
Tue Mar 18 15:50:42 2008
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 3880]
MtxInit: -2 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: JAVA is not active
DpShMCreate: sizeof(wp_adm) 6624 (828)
DpShMCreate: sizeof(tm_adm) 2083168 (10364)
DpShMCreate: sizeof(wp_ca_adm) 18000 (60)
DpShMCreate: sizeof(appc_ca_adm) 6000 (60)
DpShMCreate: sizeof(comm_adm) 192000 (384)
DpShMCreate: sizeof(vmc_adm) 0 (320)
DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)
DpShMCreate: SHM_DP_ADM_KEY (addr: 04870040, size: 2368736)
DpShMCreate: allocated sys_adm at 04870040
DpShMCreate: allocated wp_adm at 048717A8
DpShMCreate: allocated tm_adm_list at 04873188
DpShMCreate: allocated tm_adm at 048731B0
DpShMCreate: allocated wp_ca_adm at 04A6FB10
DpShMCreate: allocated appc_ca_adm at 04A74160
DpShMCreate: allocated comm_adm_list at 04A758D0
DpShMCreate: allocated comm_adm at 04A758E8
DpShMCreate: allocated vmc_adm_list at 04AA46E8
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 04AA4710
DpShMCreate: allocated wall_adm at 04AA4718
MBUF state OFF
EmInit: MmSetImplementation( 2 ).
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation std
<EsNT> Memory Reset enabled as NT default
<EsNT> EsIUnamFileMapInit: Initialize the memory 765 MB
<ES> 764 blocks reserved for free list.
ES initialized.
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG Q0K=> DpMsAttach, mscon ( home1) [dpxxdisp.c 9701]
CCMS: Initalizing shared memory of size 40000000 for monitoring segment.
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 6400, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1025]
DpMsgAdmin: Set patchno for this platform to 10
Release check o.K.
Tue Mar 18 15:51:22 2008
ERROR => W0 (pid 400) died [dpxxdisp.c 12152]
ERROR => W1 (pid 748) died [dpxxdisp.c 12152]
ERROR => W2 (pid 3352) died [dpxxdisp.c 12152]
my types changed after wp death/restart 0x1f --> 0x1e
ERROR => W3 (pid 1788) died [dpxxdisp.c 12152]
my types changed after wp death/restart 0x1e --> 0x1c
ERROR => W4 (pid 3252) died [dpxxdisp.c 12152]
my types changed after wp death/restart 0x1c --> 0x18
ERROR => W5 (pid 2500) died [dpxxdisp.c 12152]
ERROR => W6 (pid 2852) died [dpxxdisp.c 12152]
my types changed after wp death/restart 0x18 --> 0x10
ERROR => W7 (pid 2752) died [dpxxdisp.c 12152]
my types changed after wp death/restart 0x10 --> 0x0
DP_FATAL_ERROR => DpWPCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
killing W0-400 (SIGUSR2)
ERROR => DpWpKill(400, SIGUSR2) failed [dpxxtool.c 2468]
killing W1-748 (SIGUSR2)
ERROR => DpWpKill(748, SIGUSR2) failed [dpxxtool.c 2468]
killing W2-3352 (SIGUSR2)
ERROR => DpWpKill(3352, SIGUSR2) failed [dpxxtool.c 2468]
killing W3-1788 (SIGUSR2)
ERROR => DpWpKill(1788, SIGUSR2) failed [dpxxtool.c 2468]
killing W4-3252 (SIGUSR2)
ERROR => DpWpKill(3252, SIGUSR2) failed [dpxxtool.c 2468]
killing W5-2500 (SIGUSR2)
ERROR => DpWpKill(2500, SIGUSR2) failed [dpxxtool.c 2468]
killing W6-2852 (SIGUSR2)
ERROR => DpWpKill(2852, SIGUSR2) failed [dpxxtool.c 2468]
killing W7-2752 (SIGUSR2)
ERROR => DpWpKill(2752, SIGUSR2) failed [dpxxtool.c 2468]
NiWait: sleep (10000 msecs) ...
NiISelect: timeout 10000 ms
NiISelect: maximum fd=1685
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Mar 18 15:51:32 2008
NiISelect: TIMEOUT occured (10000 ms)
dump system status
Workprocess Table (long) Tue Mar 18 10:21:32 2008
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
-
0 DIA 400 Ended no 1 0 0
1 DIA 748 Ended no 1 0 0
2 DIA 3352 Ended no 1 0 0
3 UPD 1788 Ended no 1 0 0
4 ENQ 3252 Ended no 1 0 0
5 BTC 2500 Ended no 1 0 0
6 BTC 2852 Ended no 1 0 0
7 SPO 2752 Ended no 1 0 0
Dispatcher Queue Statistics Tue Mar 18 10:21:32 2008
===========================
--------
+
Typ | now | high | max | writes | reads |
--------
+
NOWP | 0 | 1 | 2000 | 1 | 1 |
--------
+
DIA | 2 | 2 | 2000 | 2 | 0 |
--------
+
UPD | 0 | 0 | 2000 | 0 | 0 |
--------
+
ENQ | 0 | 0 | 2000 | 0 | 0 |
--------
+
BTC | 0 | 0 | 2000 | 0 | 0 |
--------
+
SPO | 0 | 0 | 2000 | 0 | 0 |
--------
+
UP2 | 0 | 0 | 2000 | 0 | 0 |
--------
+
max_rq_id 6
wake_evt_udp_now 0
wake events total 2, udp 2 (100%), shm 0 ( 0%)
since last update total 2, udp 2 (100%), shm 0 ( 0%)
Dump of tm_adm structure: Tue Mar 18 10:21:32 2008
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Tue Mar 18 10:21:32 2008
=============================
Slots: 300, Used: 1, Max: 0
--------
+
id | owner | pid | eyecatcher |
--------
+
0 | DISPATCHER | -1 | WPCAAD000 |
NiWait: sleep (5000 msecs) ...
NiISelect: timeout 5000 ms
NiISelect: maximum fd=1685
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Mar 18 15:51:37 2008
NiISelect: TIMEOUT occured (5000 ms)
Shutdown server ...
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 110 bytes
MsIModState: change state to SHUTDOWN
DpModState: change server state from STARTING to SHUTDOWN
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes...
Stop gateway
killing process (2744) (SOFT_KILL)
Terminate gui connections
[DpProcDied] Process lives (PID:2744 HANDLE:1664)
waiting for termination of gateway
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1685
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Mar 18 15:51:38 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process died (PID:2744 HANDLE:1664)
DpHalt: cancel all lcom connections
MPI CancelAll 2 -> 0
MPI DeleteAll 2 -> 0
NiIMyHostName: hostname = 'home1'
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
DpConvertRequest: net size = 163 bytes
NiBufSend starting
NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 562 bytes
send msg (len 110+452) to name -, type 4, key -
detach from message server
***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 9927]
NiBufSend starting
NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 110 bytes
MsIDetach: send logout to msg_server
MsIDetach: call exit function
DpMsShutdownHook called
NiSelClear: removed hdl 3 from selectset
MBUF state OFF
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/8
LOCK WP ca_blk 1
make DISP owner of wp_ca_blk 1
DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 😎
MBUF component DOWN
NiBufClose: clear extensions for hdl 3
NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
NiICloseHandle: shutdown and close hdl 3 / socket 1672
MsIDetach: detach MS-system
EsCleanup ....
***LOG Q05=> DpHalt, DPStop ( 312) [dpxxdisp.c 8460]
Good Bye .....
C
** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
C *** ERROR => CONNECT failed with sql error '1017'
B ***LOG BY2=> sql error 1017 performing CON
B ***LOG BY0=> ORA-01017: invalid username/password; logon denied
B ***LOG BY2=> sql error 1017 performing CON
B ***LOG BY0=> ORA-01017: invalid username/password; logon denied
M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256)
M in_ThErrHandle: 1
M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c
As you can see, the shadow instance can´t connect to the database and thus fails to start.
Please check note 620540 - Authentication Troubleshooting Guide.
Markus
Hi,
You can create the shadow user using the following SQL.
To create a shadow user, proceed as
a. Logon as <SAPSID>adm
b. Copy the script crshdusr.sql from directory /usr/sap/put/bin to directory to %oracle_home%/database/.
c. cd %oracle_home%/database/.
d. sqlplus /NOLOG@crshdusr.sql SAPDEV
Regards,
Suhas
Hi,
Thats ok,
But have you repeated the phase? See what might have happened is you first gave input as YES and then received a severe error. So that error was generated. Later on you gave input as NO and went ahead but the error log was not overwritten.
So please repeat the installation phases again and give proper inputs.
Such things do happen in SAP Upgrade.
Regards,
Suhas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
did you check C:\usr\sap\put\log\CHECKS.LOG ?
provide CHECKS.LOG
regards,
kaushal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
my R3up is running but shadow instance is down, dispatcher is not connecting to message server.
below is the CHECKS.LOG:
#=======================================================================
Starting new execution of PREPARE modules
Installation
at 20080318150442.
#=======================================================================
#==================================================#
Requests and information for module Installation #
#==================================================#
#=========================================================#
PREPARE module Installation finished with status failed #
#=========================================================#
#====================================================
Execution of all selected PREPARE modules finished.
#====================================================
my R3up is running but shadow instance is down, dispatcher is not connecting to message server.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.