cancel
Showing results for 
Search instead for 
Did you mean: 

Dispatcher off after Restore

Former Member
0 Kudos

Dear Gurus,

                        I had restore online oracle Database. I am unable to start Dispatcher. I had create ops$ users according to  snote-400241.still i m not able to start dispatcher. Please find  dev_w0 log file and do needful. Thanks a lot in Advance

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

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

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

*

*  ACTIVE TRACE LEVEL           1

*  ACTIVE TRACE COMPONENTS      all, MJ

*

M sysno      01

M sid        PRD

M systemid   562 (PC with Windows NT)

M relno      7000

M patchlevel 0

M patchno    236

M intno      20050900

M make:      multithreaded, Unicode, 64 bit, optimized

M pid        3448

M

M Fri Jun 01 09:44:02 2012

M  kernel runs with dp version 243000(ext=110000) (@(#) DPLIB-INT-VERSION-243000-UC)

M  length of sys_adm_ext is 576 bytes

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

I  MtxInit: 30000 0 0

M  DpSysAdmExtCreate: ABAP is active

M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

M  DpShMCreate: sizeof(wp_adm)        29792    (1752)

M  DpShMCreate: sizeof(tm_adm)        5912704    (29416)

M  DpShMCreate: sizeof(wp_ca_adm)        24064    (80)

M  DpShMCreate: sizeof(appc_ca_adm)    8000    (80)

M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080

M  DpShMCreate: sizeof(comm_adm)        552080    (1088)

M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0

M  DpShMCreate: sizeof(slock_adm)        0    (104)

M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0

M  DpShMCreate: sizeof(file_adm)        0    (72)

M  DpShMCreate: sizeof(vmc_adm)        0    (1864)

M  DpShMCreate: sizeof(wall_adm)        (41664/36752/64/192)

M  DpShMCreate: sizeof(gw_adm)    48

M  DpShMCreate: SHM_DP_ADM_KEY        (addr: 000000000FA00050, size: 6614144)

M  DpShMCreate: allocated sys_adm at 000000000FA00050

M  DpShMCreate: allocated wp_adm at 000000000FA02270

M  DpShMCreate: allocated tm_adm_list at 000000000FA096D0

M  DpShMCreate: allocated tm_adm at 000000000FA09730

M  DpShMCreate: allocated wp_ca_adm at 000000000FFACFB0

M  DpShMCreate: allocated appc_ca_adm at 000000000FFB2DB0

M  DpShMCreate: allocated comm_adm at 000000000FFB4CF0

M  DpShMCreate: system runs without slock table

M  DpShMCreate: system runs without file table

M  DpShMCreate: allocated vmc_adm_list at 000000001003B980

M  DpShMCreate: allocated gw_adm at 000000001003BA00

M  DpShMCreate: system runs without vmc_adm

M  DpShMCreate: allocated ca_info at 000000001003BA30

M  DpShMCreate: allocated wall_adm at 000000001003BA40

M  rdisp/queue_size_check_value :  -> off

M  ThTaskStatus: rdisp/reset_online_during_debug 0

X  EmInit: MmSetImplementation( 2 ).

X  MM global diagnostic options set: 0

X  <ES> client 0 initializing ....

X  Using implementation view

X  <EsNT> Using memory model view.

M  <EsNT> Memory Reset disabled as NT default

X  ES initialized.

X  mm.dump: set maximum dump mem to 96 MB

M Fri Jun 01 09:44:03 2012

M  ThInit: running on host quality

M Fri Jun 01 09:44:04 2012

M  calling db_connect ...

B  create_con (con_name=R/3)

B  Loading DB library 'S:\usr\sap\PRD\DVEBMGS01\exe\dboraslib.dll' ...

B  Library 'S:\usr\sap\PRD\DVEBMGS01\exe\dboraslib.dll' loaded

B  Version of 'S:\usr\sap\PRD\DVEBMGS01\exe\dboraslib.dll' is "700.08", patchlevel (0.234)

B  New connection 0 created

C  Prepending S:\usr\sap\PRD\DVEBMGS01\exe to Path.

C  Oracle Client Version: '10.2.0.4.0'

C  application info callback registered

C  Client NLS setting (OCINlsGetInfo): connection handle 0 -> 'AMERICAN_AMERICA.UTF8'

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

C  Connecting as /@PRD on connection 0 (nls_hdl 0) ... (dbsl 700 251109)

C  Nls CharacterSet                 NationalCharSet                   EnvHp      ErrHp ErrHpBatch

C    0 UTF8                                                      0000000013C16980 000000000963A520 000000000963BD38

C  Attaching to DB Server PRD (con_hdl=0,svchp=000000000963BBF8,srvhp=0000000013C2DE68)

C  Starting user session: OCISessionBegin(con_hdl=0, usr='/',svchp=000000000963BBF8, srvhp=0000000013C2DE68, usrhp=0000000013C82620)

C     CbApplInfoGet() failed (ignored 1).

C     OCIStmtExecute() failed with -1=OCI_ERROR

C     SQL error 942:

C  Now '/@PRD' is connected: con_hdl=0, nls_hdl=0, session_id=-1.

C     OCIStmtExecute() failed with -1=OCI_ERROR

C     SQL error 1775:

C  *** ERROR => ORA-1775 when accessing table SAPUSER

[dbsloci.c    12684]

C  Disconnecting from connection 0 ...

C  Closing user session (con_hdl=0,svchp=000000000963BBF8,usrhp=0000000013C82620)

C  Now I'm disconnected from ORACLE

C  Try to connect with default password

C  Connecting as SAPSR3/<pwd>@PRD on connection 0 (nls_hdl 0) ... (dbsl 700 251109)

C  Nls CharacterSet                 NationalCharSet                   EnvHp      ErrHp ErrHpBatch

C    0 UTF8                                                      0000000013C16980 000000000963A520 000000000963BD38

C  Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/<pwd>, svchp=000000000963BBF8, srvhp=0000000013C2DE68, usrhp=0000000013C82620)

C     OCISessionBegin(OCI_DEFAULT) failed with SQL error 28000:

C     ORA-28000: the account is locked                                                                                         

C  Detaching from DB Server (con_hdl=0,svchp=000000000963BBF8,srvhp=0000000013C2DE68)

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

[dbsloci.c    12273]

B  ***LOG BY2=> sql error 28000  performing CON [dbsh#3 @ 1208] [dbsh    1208 ]

B  ***LOG BY0=> ORA-28000: the account is locked [dbsh#3 @ 1208] [dbsh    1208 ]

B  ***LOG BY2=> sql error 28000  performing CON [dblink#8 @ 433] [dblink  0433 ]

B  ***LOG BY0=> ORA-28000: the account is locked [dblink#8 @ 433] [dblink  0433 ]

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

M  in_ThErrHandle: 1

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

M  Info for wp 0

M    pid = 3448

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  *****************************************************************************

M  *

M  *  LOCATION    SAP-Server quality_PRD_01 on host quality (wp 0)

M  *  ERROR       ThInit: db_connect

M  *

M  *  TIME        Fri Jun 01 09:44:04 2012

M  *  RELEASE     700

M  *  COMPONENT   Taskhandler

M  *  VERSION     1

M  *  RC          13

M  *  MODULE      thxxhead.c

M  *  LINE        10851

M  *  COUNTER     1

M  *

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

M  PfStatDisconnect: disconnect statistics

M  Entering TH_CALLHOOKS

M  ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP

M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP

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

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

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 3448) [dpnttool.c   333]

Accepted Solutions (1)

Accepted Solutions (1)

martin_E
Active Contributor
0 Kudos

Hi Sahil,

sahil kumar wrote:

M  calling db_connect ...

B  create_con (con_name=R/3)

B  Loading DB library 'S:\usr\sap\PRD\DVEBMGS01\exe\dboraslib.dll' ...

B  Library 'S:\usr\sap\PRD\DVEBMGS01\exe\dboraslib.dll' loaded

B  Version of 'S:\usr\sap\PRD\DVEBMGS01\exe\dboraslib.dll' is "700.08", patchlevel (0.234)

B  New connection 0 created

C  Prepending S:\usr\sap\PRD\DVEBMGS01\exe to Path.

C  Oracle Client Version: '10.2.0.4.0'

C  application info callback registered

C  Client NLS setting (OCINlsGetInfo): connection handle 0 -> 'AMERICAN_AMERICA.UTF8'

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

C  Connecting as /@PRD on connection 0 (nls_hdl 0) ... (dbsl 700 251109)

C  Nls CharacterSet                 NationalCharSet                   EnvHp      ErrHp ErrHpBatch

C    0 UTF8                                                      0000000013C16980 000000000963A520 000000000963BD38

C  Attaching to DB Server PRD (con_hdl=0,svchp=000000000963BBF8,srvhp=0000000013C2DE68)

C  Starting user session: OCISessionBegin(con_hdl=0, usr='/',svchp=000000000963BBF8, srvhp=0000000013C2DE68, usrhp=0000000013C82620)

C     CbApplInfoGet() failed (ignored 1).

C     OCIStmtExecute() failed with -1=OCI_ERROR

C     SQL error 942:

C  Now '/@PRD' is connected: con_hdl=0, nls_hdl=0, session_id=-1.

C     OCIStmtExecute() failed with -1=OCI_ERROR

C     SQL error 1775:

C  *** ERROR => ORA-1775 when accessing table SAPUSER

[dbsloci.c    12684]

C  Disconnecting from connection 0 ...

C  Closing user session (con_hdl=0,svchp=000000000963BBF8,usrhp=0000000013C82620)

C  Now I'm disconnected from ORACLE

C  Try to connect with default password

C  Connecting as SAPSR3/<pwd>@PRD on connection 0 (nls_hdl 0) ... (dbsl 700 251109)

C  Nls CharacterSet                 NationalCharSet                   EnvHp      ErrHp ErrHpBatch

C    0 UTF8                                                      0000000013C16980 000000000963A520 000000000963BD38

C  Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/<pwd>, svchp=000000000963BBF8, srvhp=0000000013C2DE68, usrhp=0000000013C82620)

C     OCISessionBegin(OCI_DEFAULT) failed with SQL error 28000:

C     ORA-28000: the account is locked                                                                                         

C  Detaching from DB Server (con_hdl=0,svchp=000000000963BBF8,srvhp=0000000013C2DE68)

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

[dbsloci.c    12273]

The cause of failure appears to be that the SAPR3 user is locked (ORA-28000: the account is locked).  However, prior to this another connection is failing due to ORA-1775 which is an error with SYNONYM chains (see http://ora-01775.ora-code.com/ for the full explaination).  I don't know why this should be occurring during a database connection, but you can query the DBA_SYNONYMS table using the following SQL (you SHOULD still be able to connect to the database from user ora<sid>)

SELECT owner, table_owner, table_name, db_link, synonym_name

  FROM dba_synonyms

hth

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Sir ,

                  Thanks for ur reply problem with user name it's SAPSR3 in ecc 6.