cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi

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

Regards

Uday

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi ,

It is still not working. in log is showing same error .

Regards,

Kumar

Former Member
0 Kudos

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

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Check this link

Thanks

Sunny

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Ashok ,

I have set the env variable dbms_type to ora and Reboot the system and start sap.

Now the error is change when i am trying to start sap.

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


Wed Jul 29 23:02:32 2009
kernel runs with dp version 130(ext=102) (@(#) DPLIB-INT-VERSION-130)
length of sys_adm_ext is 312 bytes
sysno      00
sid        QAS
systemid   560 (PC with Windows NT)
relno      6400
patchlevel 0
patchno    109
intno      20020600
make:      multithreaded, ASCII
pid        5272

*LOG Q00=> DpSapEnvInit, DPStart (00 5272) [dpxxdisp.c   1098]*

Wed Jul 29 23:02:33 2009
	shared lib "dw_xml.dll" version 109 successfully loaded
	shared lib "dw_xtc.dll" version 109 successfully loaded
	shared lib "dw_stl.dll" version 109 successfully loaded
	shared lib "dw_gui.dll" version 109 successfully loaded
	shared lib "dw_mdm.dll" version 109 successfully loaded

Wed Jul 29 23:02:39 2009
 *WARNING  DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds*
*LOG GZZ 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3887]*
*MtxInit: -2 0 0*
DpSysAdmExtInit: ABAP is active
DpShMCreate: sizeof(wp_adm)		11592	(828)
DpShMCreate: sizeof(tm_adm)		2379840	(11840)
DpShMCreate: sizeof(wp_ca_adm)		18000	(60)
DpShMCreate: sizeof(appc_ca_adm)	6000	(60)
DpShMCreate: sizeof(comm_adm)		192000	(384)
DpShMCreate: sizeof(vmc_adm)		0	(364)
DpShMCreate: sizeof(wall_adm)		(22440/34344/56/100)
DpShMCreate: SHM_DP_ADM_KEY		(addr: 05670040, size: 2670416)
DpShMCreate: allocated sys_adm at 05670040
DpShMCreate: allocated wp_adm at 056717D0
DpShMCreate: allocated tm_adm_list at 05674518
DpShMCreate: allocated tm_adm at 05674540
DpShMCreate: allocated wp_ca_adm at 058B9580
DpShMCreate: allocated appc_ca_adm at 058BDBD0
DpShMCreate: allocated comm_adm_list at 058BF340
DpShMCreate: allocated comm_adm at 058BF358
DpShMCreate: allocated vmc_adm_list at 058EE158
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 058EE180
DpShMCreate: allocated wall_adm at 058EE188
MBUF state OFF
EmInit: MmSetImplementation( 2 ).
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation flat
<EsNT> Memory Reset disabled as NT default
<ES> 608 blocks reserved for free list.
ES initialized.

Wed Jul 29 23:02:41 2009
rdisp/http_min_wait_dia_wp : 1 -> 1

Wed Jul 29 23:02:42 2009

***LOG Q0K=> DpMsAttach, mscon ( sapsm) [dpxxdisp.c 9845]


CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 6400, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
DpMsgAdmin: Set patchno for this platform to 109
Release check o.K.

Wed Jul 29 23:03:22 2009

      • ERROR => W0 (pid 5716) died [dpxxdisp.c 12296]

      • ERROR => W1 (pid 5724) died [dpxxdisp.c 12296]

      • ERROR => W2 (pid 5732) died [dpxxdisp.c 12296]

      • ERROR => W3 (pid 5740) died [dpxxdisp.c 12296]

      • ERROR => W4 (pid 5748) died [dpxxdisp.c 12296]

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

      • ERROR => W5 (pid 5756) died [dpxxdisp.c 12296]

      • ERROR => W6 (pid 5764) died [dpxxdisp.c 12296]

my types changed after wp death/restart 0xbe --> 0xbc

      • ERROR => W7 (pid 5772) died [dpxxdisp.c 12296]

my types changed after wp death/restart 0xbc --> 0xb8

      • ERROR => W8 (pid 5780) died [dpxxdisp.c 12296]

      • ERROR => W9 (pid 5788) died [dpxxdisp.c 12296]

      • ERROR => W10 (pid 5796) died [dpxxdisp.c 12296]

my types changed after wp death/restart 0xb8 --> 0xb0

      • ERROR => W11 (pid 5804) died [dpxxdisp.c 12296]

      • ERROR => W12 (pid 5812) died [dpxxdisp.c 12296]

my types changed after wp death/restart 0xb0 --> 0xa0

      • ERROR => W13 (pid 5820) died [dpxxdisp.c 12296]

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

      • DP_FATAL_ERROR => DpWPCheck: no more work processes

      • DISPATCHER EMERGENCY SHUTDOWN ***

increase tracelevel of WPs

killing W0-5716 (SIGUSR2)

      • ERROR => DpWpKill(5716, SIGUSR2) failed [dpxxtool.c 2494]

killing W1-5724 (SIGUSR2)

      • ERROR => DpWpKill(5724, SIGUSR2) failed [dpxxtool.c 2494]

killing W2-5732 (SIGUSR2)

      • ERROR => DpWpKill(5732, SIGUSR2) failed [dpxxtool.c 2494]

killing W3-5740 (SIGUSR2)

      • ERROR => DpWpKill(5740, SIGUSR2) failed [dpxxtool.c 2494]

killing W4-5748 (SIGUSR2)

      • ERROR => DpWpKill(5748, SIGUSR2) failed [dpxxtool.c 2494]

killing W5-5756 (SIGUSR2)

      • ERROR => DpWpKill(5756, SIGUSR2) failed [dpxxtool.c 2494]

killing W6-5764 (SIGUSR2)

      • ERROR => DpWpKill(5764, SIGUSR2) failed [dpxxtool.c 2494]

killing W7-5772 (SIGUSR2)

      • ERROR => DpWpKill(5772, SIGUSR2) failed [dpxxtool.c 2494]

killing W8-5780 (SIGUSR2)

      • ERROR => DpWpKill(5780, SIGUSR2) failed [dpxxtool.c 2494]

killing W9-5788 (SIGUSR2)

      • ERROR => DpWpKill(5788, SIGUSR2) failed [dpxxtool.c 2494]

killing W10-5796 (SIGUSR2)

      • ERROR => DpWpKill(5796, SIGUSR2) failed [dpxxtool.c 2494]

killing W11-5804 (SIGUSR2)

      • ERROR => DpWpKill(5804, SIGUSR2) failed [dpxxtool.c 2494]

killing W12-5812 (SIGUSR2)

      • ERROR => DpWpKill(5812, SIGUSR2) failed [dpxxtool.c 2494]

killing W13-5820 (SIGUSR2)

      • ERROR => DpWpKill(5820, SIGUSR2) failed [dpxxtool.c 2494]

NiWait: sleep (10000 msecs) ...

NiISelect: timeout 10000 ms

NiISelect: maximum fd=1661

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Regards

Former Member
0 Kudos

Hi Kumar,

Post dev_w0

Execute r3trans -d at command prompt this will create logfile r3tans.log

Analyze these two files for error.

Regards

Ashok Dalai

Former Member
0 Kudos

Hi,

The in dev_w0 still same error is comming but i have check variable dbms_type is ORA.

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

Microsoft Windows [Version 5.2.3790]

(C) Copyright 1985-2003 Microsoft Corp.

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

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

r3trans finished (0000).

And all there services are up of oracle and sap

Please suggest

Regards,

Kumar

Former Member
0 Kudos

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