cancel
Showing results for 
Search instead for 
Did you mean: 

system copy error

Former Member
0 Kudos

Hi All,

We have to perform system copy that should be a exact copy of production server. SAP version is 4.7 and database is oracle 9. we took the online backup of production system and restored it through BRTools,we successfully performed the restoration and our database is up and running but while starting the SAP server through SAPMMC disp+work process stopped. we tried lot of things but its not working.

log of developer trace-:

DpMBufHwIdSet: set Hardware-ID

***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 941]

DpMsgAdmin: Set patchno for this platform to 1027

Release check o.K.

Thu Feb 28 16:38:35 2008

      • ERROR => W0 (pid 5604) died [dpxxdisp.c 11608]

      • ERROR => W1 (pid 5452) died [dpxxdisp.c 11608]

      • ERROR => W2 (pid 5612) died [dpxxdisp.c 11608]

      • ERROR => W3 (pid 5280) died [dpxxdisp.c 11608]

      • ERROR => W4 (pid 5584) died [dpxxdisp.c 11608]

      • ERROR => W5 (pid 5620) died [dpxxdisp.c 11608]

      • ERROR => W6 (pid 3524) died [dpxxdisp.c 11608]

      • ERROR => W7 (pid 3644) died [dpxxdisp.c 11608]

my types changed after wp death/restart 0xbf --> 0x80

      • DP_FATAL_ERROR => DpEnvCheck: no more work processes

      • DISPATCHER EMERGENCY SHUTDOWN ***

DpModState: change server state from STARTING to SHUTDOWN

Thu Feb 28 16:38:37 2008

***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 9448]

MBUF state OFF

MBUF component DOWN

***LOG Q05=> DpHalt, DPStop ( 1636) [dpxxdisp.c 7982]

log of dev_w0-:

-


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

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, M

*

B

B Thu Feb 28 16:34:38 2008

B create_con (con_name=R/3)

B Loading DB library 'D:\usr\sap\PRD\SYS\exe\run\dboraslib.dll' ...

B Library 'D:\usr\sap\PRD\SYS\exe\run\dboraslib.dll' loaded

B Version of 'D:\usr\sap\PRD\SYS\exe\run\dboraslib.dll' is "620.02", patchlevel (0.876)

B New connection 0 created

M systemid 560 (PC with Windows NT)

M relno 6200

M patchlevel 0

M patchno 1027

M intno 20020600

M pid 3996

M

M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3996) [dpxxdisp.c 1057]

I MtxInit: -2 0 0

M DpShMCreate: sizeof(wp_adm) 6048 (756)

M DpShMCreate: sizeof(tm_adm) 1691616 (8416)

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(wall_adm) (22440/34344/56/100)

M DpShMCreate: SHM_DP_ADM_KEY (addr: 03F90040, size: 1972096)

M DpShMCreate: allocated sys_adm at 03F90040

M DpShMCreate: allocated wp_adm at 03F90630

M DpShMCreate: allocated tm_adm_list at 03F91DD0

M DpShMCreate: allocated tm_adm at 03F91DF8

M DpShMCreate: allocated wp_ca_adm at 0412EDD8

M DpShMCreate: allocated appc_ca_adm at 04133428

M DpShMCreate: allocated comm_adm_list at 04134B98

M DpShMCreate: allocated comm_adm at 04134BB0

M DpShMCreate: allocated ca_info at 041639B0

M DpShMCreate: allocated wall_adm at 041639B8

X EmInit: MmSetImplementation( 2 ).

X

X Thu Feb 28 16:34:39 2008

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=D:\oracle\PRD\920 from environment

C Client NLS settings: AMERICAN_AMERICA.WE8DEC

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

C Connecting as /@PRD on connection 0 ...

C Attaching to DB Server PRD (con_hdl=0,svchp=07DA064C,svrhp=07DA28B4)

C

C Thu Feb 28 16:34:44 2008

C *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12154

[dboci.c 3581]

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

[dboci.c 9643]

C Try to connect with default password

C Connecting as SAPPRD/<pwd>@PRD on connection 0 ...

C Attaching to DB Server PRD (con_hdl=0,svchp=07DA064C,svrhp=07DA69B0)

C

C Thu Feb 28 16:34:48 2008

C *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12154

[dboci.c 3581]

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

[dboci.c 9643]

B ***LOG BV3=> severe db error 12154 ; work process is stopped [dbsh#2 @ 957] [dbsh 0957 ]

B ***LOG BY2=> sql error 12154 performing CON [dblink#1 @ 419] [dblink 0419 ]

B ***LOG BY0=> ORA-12154: TNS:could not resolve service name [dblink#1 @ 419] [dblink 0419 ]

M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1119]

M in_ThErrHandle: 1

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

M

M Info for wp 0

M

M stat = 4

M reqtype = 1

M act_reqtype = -1

M tid = -1

M mode = 255

M len = -1

M rq_id = -1

M rq_source = 255

M last_tid = 0

M last_mode = 0

M int_checked_resource = 0

M ext_checked_resource = 0

M report = > <

M action = 0

M tab_name = > <

M

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

M *

M * LOCATION SAP-Server BLSAPSAND01_PRD_00 on host BLSAPSAND01 (wp 0)

M * ERROR tskh_init: db_connect

M *

M * TIME Thu Feb 28 16:34:48 2008

M * RELEASE 620

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 8666

M * COUNTER 1

M *

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

M

M Entering TH_CALLHOOKS

M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP

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

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

M Entering ThSetStatError

M Entering ThReadDetachMode

M call ThrShutDown (1)...

M ***LOG Q02=> wp_halt, WPStop (Workproc 0 3996) [dpnttool.c 346]

please help me to resolve this issue.

Thanks,

Prashant.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Prashant,

Please check OSS notes. Please look for the environment variable settings mentioned in the note.

Regards.

Ruchit.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Prashant,

What is the same of your oracle SCHEMA user? Is it the default SAPR3 or check it in the environment variable.

WHat is the correct password of it?

Then try this:

SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = 'SAPUSER';

DROP TABLE "OPS$<SID>ADM".SAPUSER;

CREATE USER OPS$<SID>ADM IDENTIFIED EXTERNALLY TEMPORARY TABLESPACE PSAPTEMP;

grant dba, connect, resource to OPS$<SID>ADM;

CREATE TABLE "OPS$<SID>ADM".SAPUSER(USERID VARCHAR2(256), PASSWD VARCHAR2(256));

INSERT INTO "OPS$<SID>ADM".SAPUSER VALUES ('ORACLE-SCHEMA-USER','password’);

Best Wishes.

Kumar

Former Member
0 Kudos

Prashant,

      • ERROR => OCI-call 'OCIServerAttach' failed: rc = 12154

likely means that entries in SQLNET.ORA / TNSNAMES.ora could be wrong / incorrect. Verify the entries. Also try R3trans -d or -x from the command line and see the return codes.

thanks

bmg

Former Member
0 Kudos

Thanks a lot for your efforts ....we resolved all issues successfully.

Thanks & Regards,

Prashant.