cancel
Showing results for 
Search instead for 
Did you mean: 

Instance with changed SID starts and then disp+work process goes down

Former Member
0 Kudos

Hello,

I use ECC 6.0 on Solaris, db is Oracle 10.

I created new SAP system by copying an existing one and changing SID to B28. New system orab28 and b28adm correspond to the new SID. Everything looks fine. "R3trans -d" is working fine. When starting SAP instance, it starts properly but then in about a minute "dw.sapB28_DVEBMGS05" process goes away. Other processes still working. There is no oracleB28 processes as well. I see that my Oracle accounts are still the old ones. Is there a procedure on how to create the new ones in case of system copy to the different SID? Can this be a reason why my instance does not stay up?

You help is appreciated.

Thanks

Galina

Please see below my startsap log and dev_w0 log.

startsap_DVEBMGS05.log:

"Trace of system startup/check of SAP System B28 on Tue Mar 9 16:16:35 EST 2010

Called command: startsap DVEBMGS05

Starting SAP Instance DVEBMGS05

-


Instance Service on host phoenix started

SAP-R/3-Startup Program Rel 700 V1.8 (2003/04/24)

-


Starting at 2010/03/09 16:16:35

Startup Profile: "/usr/sap/B28/SYS/profile/START_DVEBMGS05_phoenix"

Execute Pre-Startup Commands

-


(8243) Local: /usr/sap/B28/SYS/exe/run/sapmscsa -n pf=/usr/sap/B28/SYS/profile/B28_DVEBMGS05_phoenix

/usr/sap/B28/SYS/exe/run/sapmscsa: SCSA is attached and useable.

/usr/sap/B28/SYS/exe/run/sapmscsa: finished.

(8245) Local: rm -f ms.sapB28_DVEBMGS05

(8247) Local: ln -s -f /usr/sap/B28/SYS/exe/run/msg_server ms.sapB28_DVEBMGS05

(8249) Local: rm -f dw.sapB28_DVEBMGS05

(8251) Local: ln -s -f /usr/sap/B28/SYS/exe/run/disp+work dw.sapB28_DVEBMGS05

(8253) Local: rm -f co.sapB28_DVEBMGS05

(8255) Local: ln -s -f /usr/sap/B28/SYS/exe/run/rslgcoll co.sapB28_DVEBMGS05

(8257) Local: rm -f se.sapB28_DVEBMGS05

(8259) Local: ln -s -f /usr/sap/B28/SYS/exe/run/rslgsend se.sapB28_DVEBMGS05

Starting Programs

-


09.03.2010 16:16:35

ShmDetach

OK

(8263) Starting: local ms.sapB28_DVEBMGS05 pf=/usr/sap/B28/SYS/profile/B28_DVEBMGS05_phoenix

(8264) Starting: local dw.sapB28_DVEBMGS05 pf=/usr/sap/B28/SYS/profile/B28_DVEBMGS05_phoenix

(8265) Starting: local co.sapB28_DVEBMGS05 -F pf=/usr/sap/B28/SYS/profile/B28_DVEBMGS05_phoenix

(8266) Starting: local se.sapB28_DVEBMGS05 -F pf=/usr/sap/B28/SYS/profile/B28_DVEBMGS05_phoenix

(8267) Starting: local /usr/sap/B28/SYS/exe/run/igswd_mt -mode=profile pf=/usr/sap/B28/SYS/profile/B28_DVEBMGS05_phoenix

(8242) Waiting for Child Processes to terminate.

(8242) **** 2010/03/09 16:17:35 Child 8264 terminated with Status 0 . ****

(8264) **** 2010/03/09 16:17:35 No RestartProgram command for program 2 ****"

dev_w0 log:

"

-


trc file: "dev_w0", trc level: 1, release: "700"

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, MJ

*

M sysno 05

M sid B28

M systemid 370 (Solaris on SPARCV9 CPU)

M relno 7000

M patchlevel 0

M patchno 195

M intno 20050900

M make: single threaded, ASCII, 64 bit, optimized

M pid 8276

M

M

M Tue Mar 9 16:16:38 2010

M kernel runs with dp version 242(ext=110) (@(#) DPLIB-INT-VERSION-242)

M length of sys_adm_ext is 364 bytes

M ***LOG Q01=> ThInit, WPStart (Workproc 0 1 8276) [thxxhead.c 1292]

M ThInit: running on host phoenix

M calling db_connect ...

C Oracle Client Version: '10.2.0.4.0'

C

C Tue Mar 9 16:16:39 2010

C Client NLS settings: AMERICAN_AMERICA.WE8DEC

C Logon as OPS$-user to get SAPR3's password

C Connecting as /@B28 on connection 0 (nls_hdl 0) ... (dbsl 700 030508)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 WE8DEC 1 105e34ef0 105e3c9e0 105e40388

C Attaching to DB Server B28 (con_hdl=0,svchp=105e402b8,srvhp=105e42cc8)

C

C Tue Mar 9 16:16:40 2010

C Starting user session (con_hdl=0,svchp=105e402b8,srvhp=105e42cc8,usrhp=105ea0970)

C *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1017

[dboci.c 4532]

C *** ERROR => CONNECT failed with sql error '1017'

[dbsloci.c 11145]

C Try to connect with default password

C Connecting as SAPR3/<pwd>@B28 on connection 0 (nls_hdl 0) ... (dbsl 700 030508)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 WE8DEC 1 105e34ef0 105e3c9e0 105e40388

C Starting user session (con_hdl=0,svchp=105e402b8,srvhp=105e42cc8,usrhp=105ea0970)

C Now 'SAPR3/<pwd>@B28' is connected: con_hdl=0, nls_hdl=0, session_id=154.

C Database NLS settings: AMERICAN_AMERICA.WE8DEC

C DB instance B28 is running on phoenix with ORACLE version 10.2.0.4.0 since MAR 09, 2010, 15:49:13

B Connection 0 opened (DBSL handle 0)

B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost

B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20100309 161638 phoenix

C build_stmt: reallocating stmt buffer: 256 -> 2000 characters

M db_connect o.k.

M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2.iso,.sda,.sar,.gif,*.png

I MtxInit: 0 0 0

M SHM_PRES_BUF (addr: ffffffff72256000, size: 75000000)

I *** ERROR => shmget(10509,134217728,992) (22: Invalid argument) [shmux.c 1861]

M *** ERROR => ThShMCreate: ShmCreate SHM_ROLL_AREA_KEY failed [thxxhead.c 2623]

M *** ERROR => ThIPCInit: ThShMCreate [thxxhead.c 2097]

M ***LOG R19=> ThInit, ThIPCInit ( TSKH-IPC-000001) [thxxhead.c 1534]

M in_ThErrHandle: 1

M *** ERROR => ThInit: ThIPCInit (step 1, th_errno 17, action 3, level 1) [thxxhead.c 10557]

M

M Info for wp 0

M

M pid = 8276

M severity = 0

M status = 0

M stat = WP_RUN

M waiting_for = NO_WAITING

M reqtype = DP_RQ_DIAWP

M act_reqtype = NO_REQTYPE

M rq_info = 0

M tid = -1

M mode = 255

M len = -1

M rq_id = 65535

M rq_source =

M last_tid = 0

M last_mode = 0

M semaphore = 0

M act_cs_count = 0

M csTrack = 0

M csTrackRwExcl = 0

M csTrackRwShrd = 0

M mode_cleaned_counter = 0

M control_flag = 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 attachedVm = no VM

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 723]

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

M ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP

M 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 (Workproc 0 8276) [dpuxtool.c 269]"

Accepted Solutions (0)

Answers (1)

Answers (1)

JPReyes
Active Contributor
0 Kudos

CONNECT failed with sql error '1017'

You have a problem with the OPS$ users, the solution to this is in SAP Note 400241

Regards

Juan

Former Member
0 Kudos

Juan,

Right. I had this error. I fixed it. I still have problem with my dw processes. I appreciate your help.

Thanks

Galina

From startsap script:

Starting Programs

-


09.03.2010 18:37:37

ShmDetach

OK

(12437) Starting: local ms.sapB28_DVEBMGS05 pf=/usr/sap/B28/SYS/profile/B28_DVEBMGS05_phoenix

(12438) Starting: local dw.sapB28_DVEBMGS05 pf=/usr/sap/B28/SYS/profile/B28_DVEBMGS05_phoenix

(12439) Starting: local co.sapB28_DVEBMGS05 -F pf=/usr/sap/B28/SYS/profile/B28_DVEBMGS05_phoenix

(12440) Starting: local se.sapB28_DVEBMGS05 -F pf=/usr/sap/B28/SYS/profile/B28_DVEBMGS05_phoenix

(12441) Starting: local /usr/sap/B28/SYS/exe/run/igswd_mt -mode=profile pf=/usr/sap/B28/SYS/profile/B28_DVEBMGS05_phoenix

(12416) Waiting for Child Processes to terminate.

(12416) **** 2010/03/09 18:38:34 Child 12438 terminated with Status 0 . ****

(12438) **** 2010/03/09 18:38:34 No RestartProgram command for program 2 ****

From dev_w0 script:

-


trc file: "dev_w0", trc level: 1, release: "700"

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, MJ

*

M sysno 05

M sid B28

M systemid 370 (Solaris on SPARCV9 CPU)

M relno 7000

M patchlevel 0

M patchno 195

M intno 20050900

M make: single threaded, ASCII, 64 bit, optimized

M pid 12450

M

M

M Tue Mar 9 18:37:39 2010

M kernel runs with dp version 242(ext=110) (@(#) DPLIB-INT-VERSION-242)

M length of sys_adm_ext is 364 bytes

M ***LOG Q01=> ThInit, WPStart (Workproc 0 1 12450) [thxxhead.c 1292]

M ThInit: running on host phoenix

M calling db_connect ...

C Oracle Client Version: '10.2.0.4.0'

C Client NLS settings: AMERICAN_AMERICA.WE8DEC

C Logon as OPS$-user to get SAPR3's password

C Connecting as /@B28 on connection 0 (nls_hdl 0) ... (dbsl 700 030508)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 WE8DEC 1 105e34ef0 105e3c9e0 105e40388

C Attaching to DB Server B28 (con_hdl=0,svchp=105e402b8,srvhp=105e42cc8)

C Starting user session (con_hdl=0,svchp=105e402b8,srvhp=105e42cc8,usrhp=105ea0970)

C Now '/@B28' is connected: con_hdl=0, nls_hdl=0, session_id=153.

C SAPR3's password encrypted and written to table SAPUSER

C Got SAPR3's password from OPS$-user

C Disconnecting from connection 0 ...

C Closing user session (con_hdl=0,svchp=105e402b8,usrhp=105ea0970)

C Now I'm disconnected from ORACLE

C Connecting as SAPR3/<pwd>@B28 on connection 0 (nls_hdl 0) ... (dbsl 700 030508)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 WE8DEC 1 105e34ef0 105e3c9e0 105e40388

C Starting user session (con_hdl=0,svchp=105e402b8,srvhp=105e42cc8,usrhp=105ea0970)

C Now 'SAPR3/<pwd>@B28' is connected: con_hdl=0, nls_hdl=0, session_id=153.

C Database NLS settings: AMERICAN_AMERICA.WE8DEC

C DB instance B28 is running on phoenix with ORACLE version 10.2.0.4.0 since MAR 09, 2010, 18:27:31

B Connection 0 opened (DBSL handle 0)

B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost

B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20100309 183739 phoenix

C build_stmt: reallocating stmt buffer: 256 -> 2000 characters

M db_connect o.k.

M

M Tue Mar 9 18:37:40 2010

M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2.iso,.sda,.sar,.gif,*.png

I MtxInit: 0 0 0

M SHM_PRES_BUF (addr: ffffffff72256000, size: 75000000)

I *** ERROR => shmget(10509,134217728,992) (22: Invalid argument) [shmux.c 1861]

M *** ERROR => ThShMCreate: ShmCreate SHM_ROLL_AREA_KEY failed [thxxhead.c 2623]

M *** ERROR => ThIPCInit: ThShMCreate [thxxhead.c 2097]

M ***LOG R19=> ThInit, ThIPCInit ( TSKH-IPC-000001) [thxxhead.c 1534]

M in_ThErrHandle: 1

M *** ERROR => ThInit: ThIPCInit (step 1, th_errno 17, action 3, level 1) [thxxhead.c 10557]

M

M Info for wp 0

M

M pid = 12450

M severity = 0

M status = 0

M stat = WP_RUN

M waiting_for = NO_WAITING

M reqtype = DP_RQ_DIAWP

M act_reqtype = NO_REQTYPE

M rq_info = 0

M tid = -1

M mode = 255

M len = -1

M rq_id = 65535

M rq_source =

M last_tid = 0

M last_mode = 0

M semaphore = 0

M act_cs_count = 0

M csTrack = 0

M csTrackRwExcl = 0

M csTrackRwShrd = 0

M mode_cleaned_counter = 0

M control_flag = 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 attachedVm = no VM

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 723]

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

M ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP

M 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 (Workproc 0 12450) [dpuxtool.c 269]

Former Member
0 Kudos

Hello,

it was shared memory problem. It is working now.

Galina

Former Member
0 Kudos

Hello Galina, we have the same error in our system, do you remember the solution for your problem?

Thanks,

Ezequiel.