Skip to Content
avatar image
Former Member

Invalid profile parameter dbms/type (or environment variable dbms_type)

Dear All,

I am facing problem in my server the dispatcheris not getting started we are uing win 2003.

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

*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, M

*

B

B Wed Jul 29 05:59:54 2009

B create_con (con_name=R/3)

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

[dbcon.c 4484]

M sysno 00

M sid QAS

M systemid 560 (PC with Windows NT)

M relno      6400
M patchlevel 0
M patchno    109
M intno      20020600
M make:      multithreaded, ASCII
M pid        5300
M 
LOG Q0Q=> tskh_init, WPStart (Workproc 0 5300) [dpxxdisp.c   1158]
I  MtxInit: -2 0 0
M  DpSysAdmExtCreate: ABAP is active
M  DpShMCreate: sizeof(wp_adm)		11592	(828)
M  DpShMCreate: sizeof(tm_adm)		2379840	(11840)
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(vmc_adm)		0	(364)
M  DpShMCreate: sizeof(wall_adm)		(22440/34344/56/100)
M  DpShMCreate: SHM_DP_ADM_KEY		(addr: 05E70040, size: 2670416)
M  DpShMCreate: allocated sys_adm at 05E70040
M  DpShMCreate: allocated wp_adm at 05E717D0
M  DpShMCreate: allocated tm_adm_list at 05E74518
M  DpShMCreate: allocated tm_adm at 05E74540
M  DpShMCreate: allocated wp_ca_adm at 060B9580
M  DpShMCreate: allocated appc_ca_adm at 060BDBD0
M  DpShMCreate: allocated comm_adm_list at 060BF340
M  DpShMCreate: allocated comm_adm at 060BF358
M  DpShMCreate: allocated vmc_adm_list at 060EE158
M  DpShMCreate: system runs without vmc_adm
M  DpShMCreate: allocated ca_info at 060EE180
M  DpShMCreate: allocated wall_adm at 060EE188
X  
X Wed Jul 29 05:59:55 2009
X  EmInit: MmSetImplementation( 2 ).
X  <ES> client 0 initializing ....
X  Using implementation flat
M  <EsNT> Memory Reset disabled as NT default
X  ES initialized.
M  
M Wed Jul 29 05:59:56 2009
M  calling db_connect ...
B  create_con (con_name=R/3)
B  *** ERROR => Invalid profile parameter dbms/type (or environment variable dbms_type) = <undef>, cannot load DB library
 [dbcon.c      4484]
M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 008192) [thxxhead.c   1279]
M  in_ThErrHandle: 1
M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   9521]
M  
M  Info for wp 0
M  
M    stat = 4
M    reqtype = 1
M    act_reqtype = -1
M    rq_info = 0
M    tid = -1
M    mode = 255
M    len = -1
M    rq_id = 65535
M    rq_source = 255
M    last_tid = 0
M    last_mode = 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  
M  *
M  *  LOCATION    SAP-Server sap_dev_00 on host sapsm (wp 0)
M  *  ERROR       tskh_init: db_connect
M  *
M  *  TIME        Wed Jul 29 05:59:56 2009
M  *  RELEASE     640
M  *  COMPONENT   Taskhandler
M  *  VERSION     1
M  *  RC          13
M  *  MODULE      thxxhead.c
M  *  LINE        9697
M  *  COUNTER     1
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   730]
M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  254]
M  Entering ThSetStatError
M  Entering ThReadDetachMode
M  call ThrShutDown (1)...
M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 5300) [dpnttool.c   357]

Regards,

Kumar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Jul 30, 2009 at 05:36 AM

    Hi Kumar,

    Set the env variable dbms_type to ora - for oracle database

    mss - for mssql databse.

    Reboot the system and start sap

    Regards

    Ashok Dalai

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Kumar,

      C:\Documents and Settings\QAS>r3trans -d

      This is r3trans version 6.13 (release 640 - 12.12.05 - 14:24:42).

      r3trans finished (0000).

      this looks ok.

      You can rebbot the system once and login as user sidadm and try to restart sap

      Regards

      Ashok Dalai

  • avatar image
    Former Member
    Jul 30, 2009 at 06:06 AM

    Hi,

    Check this link dispworkexe-stopped-dbconnect-failed-008192

    Thanks

    Sunny

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 30, 2009 at 06:22 AM

    Hi

    Can you execute the command r3trans -d and paste the output of trans.log

    Did you check all the oracle services and listner service is running fine

    start>cmd>services.msc check for oracle and SAP services are running

    Regards

    Uday

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 30, 2009 at 09:20 AM

    Hi

    what is your kernel patch level,may be you can give a try upgrading your kernel patch level to latest,not sure it will work but just give a try

    Regards

    Uday

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 30, 2009 at 10:20 AM

    Hi

    Check your Profiles does they have proper entries of your Hostname.

    Regards

    Uday

    Add comment
    10|10000 characters needed characters exceeded