cancel
Showing results for 
Search instead for 
Did you mean: 

R3 trans -d error 12 dbms/type

former_member317957
Participant
0 Kudos

Hi

Over in my solman system running on windows /oracle , while restarting facing an error that disp+work is getting stopped after few min. and while looking over the issue getting an error mess as follows

1) R3trans -d

4 ETW000 r3trans version 6.14 (release 701 - 19.11.10 - 18:10:00).

4 ETW000 unicode enabled version

4 ETW000 ===============================================

4 ETW000

4 ETW000 date&time   : 30.04.2012 - 18:21:33

4 ETW000 control file: <no ctrlfile>

4 ETW000 R3trans was called as follows: r3trans -d

4 ETW000  trace at level 2 opened for a given file pointer

4 ETW000  [dev trc     ,00000]  Mon Apr 30 18:21:33 2012                                               14282  0.014282

4 ETW000  [dev trc     ,00000]  db_con_init called                                                        29  0.014311

4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                                               5315  0.019626

4 ETW000  [dbcon.c     ,00000]  *** ERROR => Invalid profile parameter dbms/type (or environment variable dbms_type) = <undef>, cannot load DB library

4 ETW000                                                                                                1512  0.021138

2EETW169 no connect possible: "connect failed with DBLI_RC_LOAD_LIB_FAILED."

Dev_w0

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

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

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

*

*  ACTIVE TRACE LEVEL           1

*  ACTIVE TRACE COMPONENTS      all, MJ

*

M sysno      00

M sid        SOL

M systemid   562 (PC with Windows NT)

M relno      7010

M patchlevel 0

M patchno    122

M intno      20020600

M make:      multithreaded, Unicode, 64 bit, optimized

M pid        4776

M

M Mon Apr 30 17:55:09 2012

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

M  length of sys_adm_ext is 576 bytes

M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 4776) [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: 00000000083B0050, size: 6614144)

M  DpShMCreate: allocated sys_adm at 00000000083B0050

M  DpShMCreate: allocated wp_adm at 00000000083B2270

M  DpShMCreate: allocated tm_adm_list at 00000000083B96D0

M  DpShMCreate: allocated tm_adm at 00000000083B9730

M  DpShMCreate: allocated wp_ca_adm at 000000000895CFB0

M  DpShMCreate: allocated appc_ca_adm at 0000000008962DB0

M  DpShMCreate: allocated comm_adm at 0000000008964CF0

M  DpShMCreate: system runs without slock table

M  DpShMCreate: system runs without file table

M  DpShMCreate: allocated vmc_adm_list at 00000000089EB980

M  DpShMCreate: allocated gw_adm at 00000000089EBA00

M  DpShMCreate: system runs without vmc_adm

M  DpShMCreate: allocated ca_info at 00000000089EBA30

M  DpShMCreate: allocated wall_adm at 00000000089EBA40

M Mon Apr 30 17:55:10 2012

M  DpRqQInit: Parameter rdisp/queue_lock_level = 2

M  rdisp/queue_size_check_value :  -> on,50,30,40,500,50,500,80

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  ThInit: rdisp/cleanup_after_crash = 1

M  ThInit: running on host solmanp

M Mon Apr 30 17:55:11 2012

M  calling db_connect ...

B  *** ERROR => Invalid profile parameter dbms/type (or environment variable dbms_type) = <undef>, cannot load DB library

[dbcon.c      4719]

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

M  in_ThErrHandle: 1

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

M  Info for wp 0

M    pid = 4776

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 solmanp_SOL_00 on host solmanp (wp 0)

M  *  ERROR       ThInit: db_connect

M  *

M  *  TIME        Mon Apr 30 17:55:11 2012

M  *  RELEASE     701

M  *  COMPONENT   Taskhandler

M  *  VERSION     1

M  *  RC          13

M  *  MODULE      thxxhead.c

M  *  LINE        10916

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

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 4776) [dpnttool.c   334]

kindly help

regards

IGL

Accepted Solutions (1)

Accepted Solutions (1)

JPReyes
Active Contributor
0 Kudos

*** ERROR => Invalid profile parameter dbms/type (or environment variable dbms_type) = <undef>, cannot load DB library

Have you check your environmental variables?  dbms_type = ora, same on your profile parameters  dbms/type = ora.

Regards, Juan

former_member317957
Participant
0 Kudos

Hi Juan

How to check in Windows server and over in which profile we need to set default or instance ?

regards

IGL

former_member317957
Participant
0 Kudos

Hi Juan

I have checked in my environment variables

only selective parameters been set as i mentioned below

java_home and oracle_home under the sub topic user varibles for administrator

and under sub topic system variables

oracle_sid and path  are maintained

dbms /type is not mentioned in any profile

Kindly help where to make an entry

regards

IGL

former_member317957
Participant
0 Kudos

Hi Juan

After creating the environ. variables  entry dbms_type and in default profile .

Getting an error as

dev_w0

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

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

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

*

*  ACTIVE TRACE LEVEL           1

*  ACTIVE TRACE COMPONENTS      all, MJ

*

M sysno      00

M sid        SOL

M systemid   562 (PC with Windows NT)

M relno      7010

M patchlevel 0

M patchno    122

M intno      20020600

M make:      multithreaded, Unicode, 64 bit, optimized

M pid        2324

M

M Mon Apr 30 18:48:43 2012

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

M  length of sys_adm_ext is 576 bytes

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

I  MtxInit: 30000 0 0

M  DpSysAdmExtCreate: ABAP is active

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

M Mon Apr 30 18:48:44 2012

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: 000000000E5F0050, size: 6614144)

M  DpShMCreate: allocated sys_adm at 000000000E5F0050

M  DpShMCreate: allocated wp_adm at 000000000E5F2270

M  DpShMCreate: allocated tm_adm_list at 000000000E5F96D0

M  DpShMCreate: allocated tm_adm at 000000000E5F9730

M  DpShMCreate: allocated wp_ca_adm at 000000000EB9CFB0

M  DpShMCreate: allocated appc_ca_adm at 000000000EBA2DB0

M  DpShMCreate: allocated comm_adm at 000000000EBA4CF0

M  DpShMCreate: system runs without slock table

M  DpShMCreate: system runs without file table

M  DpShMCreate: allocated vmc_adm_list at 000000000EC2B980

M  DpShMCreate: allocated gw_adm at 000000000EC2BA00

M  DpShMCreate: system runs without vmc_adm

M  DpShMCreate: allocated ca_info at 000000000EC2BA30

M  DpShMCreate: allocated wall_adm at 000000000EC2BA40

M  DpRqQInit: Parameter rdisp/queue_lock_level = 2

M  rdisp/queue_size_check_value :  -> on,50,30,40,500,50,500,80

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  ThInit: rdisp/cleanup_after_crash = 1

M  ThInit: running on host solmanp

M Mon Apr 30 18:48:45 2012

M  calling db_connect ...

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

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

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

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

C  Oracle Client Version: '10.2.0.5.0', (dbsl 701 140910)

C  application info callback registered

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

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

C  Connecting as /@SOL on connection 0 (nls_hdl 0) ... (dbsl 701 140910)

C  Nls CharacterSet                 NationalCharSet                   EnvHp      ErrHp ErrHpBatch

C    0 UTF8                                                      000000001130DF70 000000000849EF80 0000000011316288

C  Attaching to DB Server SOL (con_hdl=0,svchp=0000000011316148,srvhp=0000000011317648)

C Mon Apr 30 18:48:56 2012

C     OCIServerAttach(OCI_DEFAULT) failed with SQL error 12154:

C     ORA-12154: TNS:could not resolve the connect identifier specified                                                        

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

[dbsloci.c    11437]

C  SAPUSER or connect error 99=DBSL_ERR_DB, oerr=12154.

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

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

B  ***LOG BY0=> ORA-12154: TNS:could not resolve the connect identifier specified [dblink#4 @ 433] [dblink  0433 ]

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

M  in_ThErrHandle: 1

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

M  Info for wp 0

M    pid = 2324

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 solmanp_SOL_00 on host solmanp (wp 0)

M  *  ERROR       ThInit: db_connect

M  *

M  *  TIME        Mon Apr 30 18:48:56 2012

M  *  RELEASE     701

M  *  COMPONENT   Taskhandler

M  *  VERSION     1

M  *  RC          13

M  *  MODULE      thxxhead.c

M  *  LINE        10916

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

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 2324) [dpnttool.c   334]

regards

IGL

JPReyes
Active Contributor
0 Kudos

You have problems with your TNS file...

Check your tnsnames.ora and also check SAP Note 443867 - ORA-12154 Collective SAP note

Regards, Juan

former_member317957
Participant
0 Kudos

Hi Juan

I have checked the same but doesnt  find any problem in listner as its up and running

after configuring all amd re starting the system facing the error as

dev_w0

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

[dbsloci.c    11437]

C  SAPUSER or connect error 99=DBSL_ERR_DB, oerr=12154.

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

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

B  ***LOG BY0=> ORA-12154: TNS:could not resolve the connect identifier specified [dblink#4 @ 433] [dblink  0433 ]

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

M  in_ThErrHandle: 1

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

regards

IGL

JPReyes
Active Contributor
0 Kudos

Not the listener, check the tnsnames.ora

Regards, Juan

former_member317957
Participant
0 Kudos

Hi Juan

I have checked that too its seems ok

################

# Filename......: tnsnames.ora

# Created.......: created by SAP AG, R/3 Rel. >= 6.10

# Name..........:

# Date..........:

# @(#) $Id: //bc/701-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#1 $

################

SOL.WORLD=

  (DESCRIPTION =

    (ADDRESS_LIST =

        (ADDRESS =

          (COMMUNITY = SAP.WORLD)

          (PROTOCOL = TCP)

          (HOST = solmanp)

          (PORT = 1527)

        )

    )

    (CONNECT_DATA =

       (SID = SOL)

       (GLOBAL_NAME = SOL.WORLD)

    )

  )

regards

IGL

JPReyes
Active Contributor
0 Kudos

Can you run command  tnsping <SID> and post the output?

Regards, Juan

JPReyes
Active Contributor
0 Kudos

Also you should have two more envirnmental variables

TNS_ADMIN =  Path to tnsnames.ora

dbs_ora_tnsname = SID

Both as user variables for <sid>adm

Regards, Juan

Answers (0)