cancel
Showing results for 
Search instead for 
Did you mean: 

ThInit: db_connect error

Former Member
0 Kudos

Hi...

unable to start the sap server..

disp+work.exe (dispacher) stopped..

-


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

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, MJ

*

B

B Thu Feb 23 14:35:53 2012

B create_con (con_name=R/3)

B Loading DB library 'E:\usr\sap\PRD\DVEBMGS00\exe\dboraslib.dll' ...

B

B Thu Feb 23 14:35:54 2012

B Library 'E:\usr\sap\PRD\DVEBMGS00\exe\dboraslib.dll' loaded

B Version of 'E:\usr\sap\PRD\DVEBMGS00\exe\dboraslib.dll' is "700.08", patchlevel (0.107)

B New connection 0 created

M sysno 00

M sid PRD

M systemid 560 (PC with Windows NT)

M relno 7000

M patchlevel 0

M patchno 111

M intno 20050900

M make: multithreaded, Unicode, optimized

M pid 15152

M

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

M length of sys_adm_ext is 576 bytes

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

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) 18672 (1436)

M DpShMCreate: sizeof(tm_adm) 4232256 (21056)

M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)

M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)

M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064

M DpShMCreate: sizeof(comm_adm) 528064 (1048)

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

M DpShMCreate: sizeof(slock_adm) 0 (96)

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

M DpShMCreate: sizeof(file_adm) 0 (72)

M DpShMCreate: sizeof(vmc_adm) 0 (1536)

M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)

M DpShMCreate: sizeof(gw_adm) 48

M DpShMCreate: SHM_DP_ADM_KEY (addr: 06810040, size: 4892312)

M DpShMCreate: allocated sys_adm at 06810040

M DpShMCreate: allocated wp_adm at 06812090

M DpShMCreate: allocated tm_adm_list at 06816980

M DpShMCreate: allocated tm_adm at 068169B0

M DpShMCreate: allocated wp_ca_adm at 06C1FDF0

M DpShMCreate: allocated appc_ca_adm at 06C25BB0

M DpShMCreate: allocated comm_adm at 06C27AF0

M DpShMCreate: system runs without slock table

M DpShMCreate: system runs without file table

M DpShMCreate: allocated vmc_adm_list at 06CA89B0

M DpShMCreate: allocated gw_adm at 06CA89F0

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 06CA8A20

M DpShMCreate: allocated wall_adm at 06CA8A28

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.

M ThInit: running on host production

M

M Thu Feb 23 14:35:55 2012

M calling db_connect ...

C Prepending E:\usr\sap\PRD\DVEBMGS00\exe to Path.

C Oracle Client Version: '10.2.0.1.0'

C Client NLS settings: 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 250407)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 UTF8 1 06E67018 06E6C5B4 06E6BE3C

C Attaching to DB Server PRD (con_hdl=0,svchp=06E6BD88,srvhp=06E7BB44)

C Starting user session (con_hdl=0,svchp=06E6BD88,srvhp=06E7BB44,usrhp=06E905A8)

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

[dboci.c 4532]

C Detaching from DB Server (con_hdl=0,svchp=06E6BD88,srvhp=06E7BB44)

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

[dbsloci.c 11042]

C Try to connect with default password

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

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 UTF8 1 06E67018 06E6C5B4 06E6BE3C

C Attaching to DB Server PRD (con_hdl=0,svchp=06E6BD88,srvhp=06E7BB44)

C Starting user session (con_hdl=0,svchp=06E6BD88,srvhp=06E7BB44,usrhp=06E905A8)

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

[dboci.c 4532]

C Detaching from DB Server (con_hdl=0,svchp=06E6BD88,srvhp=06E7BB44)

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

[dbsloci.c 11042]

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

B ***LOG BY2=> sql error 1034 performing CON [dblink#3 @ 431] [dblink 0431 ]

B ***LOG BY0=> ORA-01034: ORACLE not available

ORA-27101: shared memory realm does not exist [dblink#3 @ 431] [dblink 0431 ]

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

M in_ThErrHandle: 1

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

M

M Info for wp 0

M

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 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 req.vm = no VM

M attachedVm = no VM

M

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

M *

M * LOCATION SAP-Server production_PRD_00 on host production (wp 0)

M * ERROR ThInit: db_connect

M *

M * TIME Thu Feb 23 14:35:55 2012

M * RELEASE 700

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 10486

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

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

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 15152) [dpnttool.c 327]

Accepted Solutions (0)

Answers (5)

Answers (5)

rav04
Explorer
0 Kudos

packet complete for hdl 2 NiBufReceive starting MsINiRead: received 274 bytes MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key - DpHalt: received 164 bytes from message server NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO) NiBufIIn: NIBUF len=274 NiBufIIn: packet complete for hdl 2 NiBufReceive starting MsINiRead: received 274 bytes MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key - DpHalt: received 164 bytes from message server NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO) NiBufIIn: NIBUF len=274 NiBufIIn: packet complete for hdl 2 NiBufReceive starting MsINiRead: received 274 bytes MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key - DpHalt: received 164 bytes from message server NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO) NiBufIIn: NIBUF len=274 NiBufIIn: packet complete for hdl 2 NiBufReceive starting MsINiRead: received 274 bytes MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key - DpHalt: received 164 bytes from message server NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO) NiBufIIn: NIBUF len=274 NiBufIIn: packet complete for hdl 2 NiBufReceive starting MsINiRead: received 274 bytes MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key - DpHalt: received 164 bytes from message server NiIRead: hdl 2 recv would block (errno=EAGAIN) NiIRead: read for hdl 2 timed out (0ms) DpHalt: no more messages from the message server DpHalt: send keepalive to synchronize with the message server NiBufSend starting NiIWrite: hdl 2 sent data (wrt=114,pac=1,MESG_IO) MsINiWrite: sent 114 bytes send msg (len 110+4) to name MSG_SERVER, type 0, key - MsSndName: MS_NOOP ok Send 4 bytes to MSG_SERVER NiIRead: hdl 2 recv would block (errno=EAGAIN) NiIPeek: peek successful for hdl 2 (r) NiIRead: hdl 2 received data (rcd=114,pac=1,MESG_IO) NiBufIIn: NIBUF len=114 NiBufIIn: packet complete for hdl 2 NiBufReceive starting MsINiRead: received 114 bytes MSG received, len 110+4, flag 3, from MSG_SERVER , typ 0, key - Received 4 bytes from MSG_SERVER Received opcode MS_NOOP from msg_server, reply MSOP_OK MsOpReceive: ok MsSendKeepalive : keepalive sent to message server NiIRead: hdl 2 recv would block (errno=EAGAIN) Sat Mar 06 00:53:56 2021 NiIPeek: peek for hdl 2 timed out (r; 1000ms) NiIRead: read for hdl 2 timed out (1000ms) DpHalt: no more messages from the message server DpHalt: sync with message server o.k. detach from message server ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 12829] NiBufSend starting NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO) MsINiWrite: sent 110 bytes MsIDetach: send logout to msg_server MsIDetach: call exit function DpMsShutdownHook called NiBufISelUpdate: new MODE -- (r-) for hdl 2 in set0 SiSelNSet: set events of sock 704 to: --- NiBufISelRemove: remove hdl 2 from set0 SiSelNRemove: removed sock 704 (pos=2) SiSelNRemove: removed sock 704 NiSelIRemove: removed hdl 2 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/17 LOCK WP ca_blk 1 make DISP owner of wp_ca_blk 1 DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15) MBUF component DOWN NiICloseHandle: shutdown and close hdl 2 / sock 704 NiBufIClose: clear extension for hdl 2 MsIDetach: detach MS-system cleanup EM EsCleanup .... EmCleanup() -> 0 Es2Cleanup: Cleanup ES2 ***LOG Q05=> DpHalt, DPStop ( 3056) [dpxxdisp.c 11045] Good Bye .....

rav04
Explorer
0 Kudos

my dispatcher also stop wrkin and I am function consultant can anyone help

rupali_karbhari3
Active Contributor
0 Kudos

It seems user SAPSR3 is locked.

Check thread to unlock it [http://forums.sdn.sap.com/thread.jspa?threadID=1224103]

Regards,

Former Member
0 Kudos

Hi,

ORA-01034: ORACLE not available

Please check whether your oracle is up and running. If not started, please start oracle database and check.

Thanks

Former Member
0 Kudos

oracle listener is automatic and having trouble in Oracle database..

its not running & unable to start..

andreas_busch
Explorer
0 Kudos

please check environment variables and parameter/settings.

note 1431798 - oracle 11.2.

faq's =>

note 700548

note 618868

note 592393

you are working with oracle release ...?

operating system?

best regards

nirmal_konchada
Active Contributor
0 Kudos

Hi,

Seems to be a problem with connection to database. First check whether your database is up or not.

Then run R3trans -d from SIDadm user and paste the trans.log here.

Regards,

Nirmal.K

Edited by: nirmal konchada on Feb 23, 2012 4:31 PM