cancel
Showing results for 
Search instead for 
Did you mean: 

SAP is not getting up

Former Member
0 Kudos

Dear All,

We are facing problem in solution manager the dispachedt is not getting up .

We a ruing win 2003 server the error *** ERROR => Invalid profile parameter dbms/type (or environment variable dbms_type) = <undef>, cannot load DB library

I have check the parameter dbms is set =ORA and oracle ,sap services are up and running

Please suggest

SAPSM\sol is starting R/3 System at 2009/07/30 2:41:52

SAP-R/3-Startup Program

Starting at 2009/07/30 2:41:52

Startup Profile: "K:\usr\sap\SOL\SYS\profile\START_DVEBMGS00_sapsm"

Starting Programs

(5288) Execute: K:\usr\sap\SOL\SYS\exe\run\strdbs.cmd SOL

(5312) CreateProcess: K:\usr\sap\SOL\SYS\exe\run\msg_server.exe pf=G:\usr\sap\SOL\SYS\profile\SOL_DVEBMGS00_sapsm

(2736) CreateProcess: K:\usr\sap\SOL\SYS\exe\run\disp+work.exe pf=G:\usr\sap\SOL\SYS\profile\SOL_DVEBMGS00_sapsm

(2896) CreateProcess: K:\usr\sap\SOL\DVEBMGS00\igs\bin\igswd.exe -dir=G:\usr\sap\SOL\DVEBMGS00\igs -mode=all -sysname=SOL -sysno=00

SAPSM\soladm is stopping R/3 System at 2009/08/03 2:42:17

(2340) Parent Shutdown at 2009/08/03 2:42:17

(2340) kill(SIGINT 2736) failed.

SAPSM\sol is starting R/3 System at 2009/08/03 2:43:24

SAP-R/3-Startup Program

Starting at 2009/08/03 2:43:24

Startup Profile: "K:\usr\sap\SOL\SYS\profile\START_DVEBMGS00_sapsm"

Starting Programs

(2836) Execute: K:\usr\sap\SOL\SYS\exe\run\strdbs.cmd SOL

(5512) CreateProcess: K:\usr\sap\SOL\SYS\exe\run\msg_server.exe pf=G:\usr\sap\SOL\SYS\profile\SOL_DVEBMGS00_sapsm

(4112) CreateProcess: K:\usr\sap\SOL\SYS\exe\run\disp+work.exe pf=G:\usr\sap\SOL\SYS\profile\SOL_DVEBMGS00_sapsm

(4604) CreateProcess: K:\usr\sap\SOL\DVEBMGS00\igs\bin\igswd.exe -dir=G:\usr\sap\SOL\DVEBMGS00\igs -mode=all -sysname=SOL -sysno=00

SAPSM\sol is stopping R/3 System at 2009/08/03 2:44:54

(2340) Parent Shutdown at 2009/08/03 2:44:54

(2340) kill(SIGINT 4112) failed.

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

*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, M

*

B

B Mon Aug 03 02:43:38 2009

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 sysno 00

M sid SOL

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 5096

M

M ***LOG Q0Q=> tskh_init, WPStart (Workproc10 5096) [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 EmInit: MmSetImplementation( 2 ).

X <ES> client 10 initializing ....

X Using implementation flat

M <EsNT> Memory Reset disabled as NT default

X ES initialized.

M

M Mon Aug 03 02:43:39 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 10

M

M stat = 4

M reqtype = 4

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 * LOCATION SAP-Server sapsm_SOL_00 on host sapsm (wp 10)

M * ERROR tskh_init: db_connect

M *

M * TIME Mon Aug 03 02:43:39 2009

M * RELEASE 640

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 9697

M * COUNTER 1

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 (Workproc10 5096) [dpnttool.c 357]

Regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Is this happening after database patch upgrade?

And send us the logs of r3trans -dx and dev_w0

Mean while restart your server and try to startsap.

Regards

Nick Loy

Former Member
0 Kudos

Dear Nick,

But it happened suddenly and i have try to restart the sever but still the same.please find the logs

Microsoft Windows [Version 5.2.3790]

(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\soladm.SAPSM>r3trans -dx

This is r3trans version 6.09 (release 640 - 26.10.04 - 15:45:42).

r3trans finished (0000).

-


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

-


Thu Aug 06 00:08:24 2009

***LOG S00=> GwInitReader, gateway started ( 6052) [gwxxrd.c 1607]

relno 6400

patchlevel 0

patchno 34

intno 20020600

pid 6052

unicode not active

gateway runs with dp version 128(ext=102) (@(#) DPLIB-INT-VERSION-128)

CCMS: Initalizing shared memory of size 40000000 for monitoring segment.

Bind service sapgw00 (datagram) to port 3300

Bind service sapgw00 (datagram) to port 3300

Bind service sapgw00 (socket) to port 3300

GwPrintMyHostAddr: my host addresses are :

1 : [1] sapsm (HOSTNAME)

2 : [12] sapsm. (LOCALHOST)

MtxInit: -2 0 0

DpSysAdmExtCreate: ABAP is active

DpSysAdmExtCreate: JAVA is not active

DpShMCreate: sizeof(wp_adm) 11592 (828)

DpShMCreate: sizeof(tm_adm) 2219848 (11044)

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 (320)

DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)

DpShMCreate: SHM_DP_ADM_KEY (addr: 02510040, size: 2510384)

DpShMCreate: allocated sys_adm at 02510040

DpShMCreate: allocated wp_adm at 025117A8

DpShMCreate: allocated tm_adm_list at 025144F0

DpShMCreate: allocated tm_adm at 02514518

DpShMCreate: allocated appc_ca_adm at 02736AB0

DpShMCreate: allocated comm_adm_list at 02738220

DpShMCreate: allocated comm_adm at 02738238

DpShMCreate: allocated vmc_adm_list at 02767038

DpShMCreate: system runs without vmc_adm

DpShMCreate: allocated ca_info at 02767060

Thu Aug 06 00:09:21 2009

***LOG S30=> GwStopGateway, gateway stopped () [gwxxrd.c 13069]

Regards,

Former Member
0 Kudos

Kumar,

What is the trace dev_rd. Dispatcher trace should be named as dev_disp and workprocess trace should be named as dev_wx. Anyway from this trace file it seems your ABAP is active, but problem with Java.

Is your ABAP log-on screen coming when you start SAP? Also could you please attach dispatcher and message server trace files if it is not.

Regards

Gautam

Former Member
0 Kudos

MsIDetach: call exit function

-


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

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, M

*

B

B Thu Aug 06 00:08:25 2009

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

M systemid 560 (PC with Windows NT)

M relno 6400

M patchlevel 0

M patchno 43

M intno 20020600

M make: multithreaded, ASCII

M pid 6112

M

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

I MtxInit: -2 0 0

M DpSysAdmExtCreate: ABAP is active

M DpSysAdmExtCreate: JAVA is not active

M

M Thu Aug 06 00:08:26 2009

M DpShMCreate: sizeof(wp_adm) 11592 (828)

M DpShMCreate: sizeof(tm_adm) 2219848 (11044)

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 (320)

M DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)

M DpShMCreate: SHM_DP_ADM_KEY (addr: 038D0040, size: 2510384)

M DpShMCreate: allocated sys_adm at 038D0040

M DpShMCreate: allocated wp_adm at 038D17A8

M DpShMCreate: allocated tm_adm_list at 038D44F0

M DpShMCreate: allocated tm_adm at 038D4518

M DpShMCreate: allocated wp_ca_adm at 03AF2460

M DpShMCreate: allocated appc_ca_adm at 03AF6AB0

M DpShMCreate: allocated comm_adm_list at 03AF8220

M DpShMCreate: allocated comm_adm at 03AF8238

M DpShMCreate: allocated vmc_adm_list at 03B27038

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 03B27060

M DpShMCreate: allocated wall_adm at 03B27068

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 Thu Aug 06 00:08:27 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 4442]

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

M in_ThErrHandle: 1

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

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 *

M * LOCATION SAP-Server sap_SOL_00 on host sap (wp 0)

M * ERROR tskh_init: db_connect

M *

M * TIME Thu Aug 06 00:08:27 2009

M * RELEASE 640

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 9589

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

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

M Entering ThSetStatError

M Entering ThReadDetachMode

M call ThrShutDown (1)...

M ***LOG Q02=> wp_halt, WPStop (Workproc 0 6112) [dpnttool.c 357]

Regards,

Pallav

Former Member
0 Kudos
ERROR => Invalid profile parameter dbms/type (or environment variable dbms_type) = , cannot load DB library [dbcon.c 4442]

You need to set environment variable dbms_type and then try

e.g. Your database is oracle then set the variable

dbms_type=ora

Refer to link below [http://help.sap.com/saphelp_sm32/helpdata/EN/2b/f8993af7700577e10000000a11402f/content.htm]

Former Member
0 Kudos

Hi,

I have check the variable dbms_type=ora is set.

Please suggest

REgards,

Kumar

Former Member
0 Kudos

Hai,

Check the below link...

Regards,

Yoganand.V

Edited by: Yoganand Vedagiri on Aug 7, 2009 3:31 PM

Former Member
0 Kudos

try to set in system variable as well if it is not done already.

Former Member
0 Kudos

Hi,

I done as you suggest but still same problem. There is one thing how can check the authorization part for the service is up and running.

Regards,