cancel
Showing results for 
Search instead for 
Did you mean: 

Couldn't start SAP Instance!

Former Member
0 Kudos

Hi, all experts,

When I open the SAPMMC to start the SAP Instance , the icon is yellow ,

the DB Oracle services are all started and successful.

The dev_disp log as below:

Sat Mar 06 18:59:10 2010

      • ERROR => W0 (pid 2252) died [dpxxdisp.c 11523]

force unlock of wp_adm mutex W0

      • ERROR => W1 (pid 3848) died [dpxxdisp.c 11523]

force unlock of wp_adm mutex W1

      • ERROR => W2 (pid 2884) died [dpxxdisp.c 11523]

force unlock of wp_adm mutex W2

      • ERROR => W3 (pid 3872) died [dpxxdisp.c 11523]

force unlock of wp_adm mutex W3

      • ERROR => W4 (pid 1556) died [dpxxdisp.c 11523]

force unlock of wp_adm mutex W4

      • ERROR => W5 (pid 1216) died [dpxxdisp.c 11523]

force unlock of wp_adm mutex W5

      • ERROR => W6 (pid 3444) died [dpxxdisp.c 11523]

force unlock of wp_adm mutex W6

      • ERROR => W7 (pid 2324) died [dpxxdisp.c 11523]

force unlock of wp_adm mutex W7

      • ERROR => W8 (pid 3232) died [dpxxdisp.c 11523]

force unlock of wp_adm mutex W8

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

      • DP_FATAL_ERROR => DpEnvCheck: no more work processes

      • DISPATCHER EMERGENCY SHUTDOWN ***

DpModState: change server state from STARTING to SHUTDOWN

Sat Mar 06 18:59:15 2010

***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 9341]

MBUF state OFF

MBUF component DOWN

***LOG Q05=> DpHalt, DPStop ( 3596) [dpxxdisp.c 7883]

Best regards ,

Michael

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The dev_w0 log as below:

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

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, M

*

B

B Sat Mar 06 18:58:32 2010

B create_con (con_name=R/3)

B Loading DB library 'E:\usr\sap\LH1\SYS\exe\run\dboraslib.dll' ...

B Library 'E:\usr\sap\LH1\SYS\exe\run\dboraslib.dll' loaded

B Version of 'E:\usr\sap\LH1\SYS\exe\run\dboraslib.dll' is "620.02", patchlevel (0.549)

B New connection 0 created

M systemid 560 (PC with Windows NT)

M relno 6200

M patchlevel 0

M patchno 674

M intno 20020600

M pid 2252

M

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

I MtxInit: -2 0 0

M DpShMCreate: sizeof(wp_adm) 6768 (752)

M DpShMCreate: sizeof(tm_adm) 1690816 (8412)

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(wall_adm) (22440/34344/56/100)

M DpShMCreate: SHM_DP_ADM_KEY (addr: 033B0040, size: 1971808)

M DpShMCreate: allocated sys_adm at 033B0040

M DpShMCreate: allocated wp_adm at 033B0560

M DpShMCreate: allocated tm_adm_list at 033B1FD0

M DpShMCreate: allocated tm_adm at 033B1FF8

M DpShMCreate: allocated wp_ca_adm at 0354ECB8

M DpShMCreate: allocated appc_ca_adm at 03553308

M DpShMCreate: allocated comm_adm_list at 03554A78

M DpShMCreate: allocated comm_adm at 03554A90

M DpShMCreate: allocated ca_info at 03583890

M DpShMCreate: allocated wall_adm at 03583898

X EmInit: MmSetImplementation( 2 ).

X

X Sat Mar 06 18:58:33 2010

X <ES> client 0 initializing ....

X Using implementation std

M <EsNT> Memory Reset enabled as NT default

X ES initialized.

M

M Sat Mar 06 18:58:35 2010

M calling db_connect ...

C Got ORACLE_HOME=C:\oracle\ora92 from environment

C Client NLS settings: AMERICAN_AMERICA.WE8DEC

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

C Connecting as /@LH1 on connection 0 ...

C Attaching to DB Server LH1 (con_hdl=0,svchp=063413BC,svrhp=06343614)

C

C Sat Mar 06 18:58:36 2010

C *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541

[dboci.c 3566]

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

[dboci.c 9601]

C Try to connect with default password

C Connecting as SAPLH1/<pwd>@LH1 on connection 0 ...

C Attaching to DB Server LH1 (con_hdl=0,svchp=063413BC,svrhp=06347710)

C

C Sat Mar 06 18:58:37 2010

C *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541

[dboci.c 3566]

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

[dboci.c 9601]

B ***LOG BY2=> sql error 12541 performing CON [dbsh#2 @ 962] [dbsh 0962 ]

B ***LOG BY0=> ORA-12541: TNS:no listener [dbsh#2 @ 962] [dbsh 0962 ]

B ***LOG BY2=> sql error 12541 performing CON [dblink#1 @ 419] [dblink 0419 ]

B ***LOG BY0=> ORA-12541: TNS:no listener [dblink#1 @ 419] [dblink 0419 ]

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

M in_ThErrHandle: 1

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

M

M Info for wp 0

M

M stat = 4

M reqtype = 1

M act_reqtype = -1

M tid = -1

M mode = 255

M len = -1

M rq_id = -1

M rq_source = 255

M last_tid = 0

M last_mode = 0

M rfc_req = 0

M report = > <

M action = 0

M tab_name = > <

M

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

M *

M * LOCATION SAP-Server basis_LH1_00 on host basis (wp 0)

M * ERROR tskh_init: db_connect

M *

M * TIME Sat Mar 06 18:58:37 2010

M * RELEASE 620

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 8569

M * COUNTER 1

M *

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

M

M Entering TH_CALLHOOKS

M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP

M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 672]

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

M Entering ThSetStatError

M Entering ThReadDetachMode

M call ThrShutDown (1)...

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

B.R

Michael

former_member524429
Active Contributor
0 Kudos

Hi,

ORA-12541: TNS:no listener

Please Ensure that Oracle Listener Service is in running state. If its not running then start it.. and then try to restart the Instance.

If still you are not able to start the SAP instance then, please post the contents trans.log file by executing R3trans -d under <SID>adm User.

Regards,

Bhavik G. Shroff

Former Member
0 Kudos

>

> Hi,

>

>

ORA-12541: TNS:no listener

>

> Please Ensure that Oracle Listener Service is in running state. If its not running then start it.. and then try to restart the Instance.

>

> If still you are not able to start the SAP instance then, please post the contents trans.log file by executing R3trans -d under <SID>adm User.

>

> Regards,

> Bhavik G. Shroff

Yes, I'm sure the Listener Service is in running state, and I could start the instance , the icon colour is green , but it change to yellow about 1 minuter later, why is that ?

The "R3trans -d " log as below:

2EETW169 no connect possible: "DBMS = ORACLE

--- dbs_ora_tnsname = 'LH1'"

R3trans finished (0012).

Best regards,

Michael

former_member524429
Active Contributor
0 Kudos

Hi,

Please post the complete log "trans.log".

There may be a problem with listener.ora and tnsname.ora configuration files or environment variable settings.

Please refer the following SAP Notes and compare your existing configuration and environments. The following SAP Notes are talking about possible causes of such problem.

Note 556232 - Environment settings for R/3/Oracle on Windows

Note 609332 - Composite note: ORA-12541/ORA-12224

Note 445038 - Problems when accessing Net8 configuration files

Note 131561 - Work processes sometimes abend during database connect

Regards,

Bhavik G. Shroff