cancel
Showing results for 
Search instead for 
Did you mean: 

SAP MMC Not Started - Sql error -1034

Former Member
0 Kudos

Hi,

We installed SAP Ecc6 + oracle 10g on windows 2003

environment sucessfully .After we restart the server SAP mmc Disp+work process to be stopped.

Then I found the below errors in the dev_w0 log file

Tue Dec 07 16:51:09 2021

C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1034

[dboci.c 4391]

C Detaching from DB Server (con_hdl=0,svchp=092F0DF8,srvhp=09300B84)

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

[dbsloci.c 10933]

B ***LOG BV3=> severe db error 1034 ; work process is stopped

[dbsh#2 @ 1199] [dbsh 1199 ]

B ***LOG BY2=> sql error 1034 performing CON [dblink#3 @ 431] [dblink 0431 ]

B ***LOG BY0=> ORA-01034: ORACLE not available

ORA-27101: shared memory realm does not exist [dblink#3 @ 431] [dblink

0431 ]

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

1411]

M in_ThErrHandle: 1

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

r3trans.log

=========

4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql err4 ETW000

4 ETW000 [dblink ,00431] ***LOG BY2=>sql error 1034 performing

4 ETW000

4 ETW000 [dblink ,00431] ***LOG BY0=>ORA-01034: ORACLE not availa4 ETW000 ORA-27101: shared memory realm does not

2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'PTS'"

Regarding to this issue, I already studied note 491174.

AS per the note , I logged on to the System via PTSADM afterwards i try

to SAP MMC then to be stopped with error "Disp+work" status to be

stooped.. then I start the database manually

(Refer file oracle.bmp)then i try to start SAP MMC then it works fine.

After i Restart the machine then I start SAPMMC the same error occurs.

Please give me the suggestion to start DB automatically.

Regards

Senthil Kumar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Is your ORACLE_HOME and ORACLE_SID set in your environment..

Mark

Former Member
0 Kudos

Hi,

Yes.

Hereby furnished my System environmental variables.

ALLUSERSPROFILE=C:\Documents and Settings\All Users

APPDATA=C:\Documents and Settings\ptsadm\Application Data

ClusterLog=C:\WINDOWS\Cluster\cluster.log

CommonProgramFiles=C:\Program Files\Common Files

COMPUTERNAME=SAPWEB

ComSpec=C:\WINDOWS\system32\cmd.exe

DBMS=ORACLE

DBMS_TYPE=ora

dbs_ora_schema=SAPSR3

dbs_ora_tnsname=PTS

FP_NO_HOST_CHECK=NO

HOMEDRIVE=C:

HOMEPATH=\Documents and Settings\ptsadm

LOGONSERVER=
SAPWEB

NLS_LANG=AMERICAN_AMERICA.UTF8

NUMBER_OF_PROCESSORS=2

ORACLE_HOME=D:\oracle\PTS\102

ORACLE_SID=PTS

OS=Windows_NT

Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\usr\sap\PTS\SYS\exe\uc\NTI386

PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

PROCESSOR_ARCHITECTURE=x86

PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel

PROCESSOR_LEVEL=15

PROCESSOR_REVISION=0209

ProgramFiles=C:\Program Files

PROMPT=$P$G

SAPDATA_HOME=D:\oracle\PTS

SAPEXE=D:\usr\sap\PTS\SYS\exe\uc\NTI386

SAPLOCALHOST=sapweb

SAPSYSTEMNAME=PTS

SESSIONNAME=Console

SystemDrive=C:

SystemRoot=C:\WINDOWS

TEMP=C:\WINDOWS\TEMP

TMP=C:\WINDOWS\TEMP

TNS_ADMIN=D:\usr\sap\PTS\SYS\profile\oracle

USERDOMAIN=SAPWEB

USERNAME=ptsadm

USERPROFILE=C:\Documents and Settings\ptsadm

windir=C:\WINDOWS

Former Member
0 Kudos

Hi,

can you run R3trans -x from command line and paste the trans.log it creates

Actually can you confirm oracle is running....

from command line sqlplus "/ as sysdba" is the instance idle or connected ?

Mark

Former Member
0 Kudos

Hi,

i started the database manually then I try to start SAPMMC works fine.Hereby furnished R3trans -x log

R3trans -x

=========

4 ETW000 R3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).

4 ETW000 unicode enabled version

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

4 ETW000

4 ETW000 date&time : 08.12.2021 - 16:10:24

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] Wed Dec 08 16:10:26 2021 0.000000

4 ETW000 [dev trc ,00000] db_con_init called 0.000000

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

4 ETW000 [dev trc ,00000] Loading DB library 'dboraslib.dll' ... 0.000000

4 ETW000 [dev trc ,00000] load shared library (dboraslib.dll), hdl 0 245301 0.245301

4 ETW000 [dev trc ,00000] using "D:\usr\sap\PTS\SYS\exe\uc\NTI386\dboraslib.dll"

4 ETW000 133 0.245434

4 ETW000 [dev trc ,00000] Library 'dboraslib.dll' loaded 58 0.245492

4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library dboraslib.dll

4 ETW000 128 0.245620

4 ETW000 [dev trc ,00000] Version of 'dboraslib.dll' is "700.08", patchlevel (0.73)

4 ETW000 418 0.246038

4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library dboraslib.dll

4 ETW000 120 0.246158

4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library dboraslib.dll

4 ETW000 155 0.246313

4 ETW000 [dev trc ,00000] New connection 0 created 83 0.246396

4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000 129 0.246525

4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 71 0.246596

4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:

4 ETW000 92 0.246688

4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000 113 0.246801

4 ETW000 [dev trc ,00000] CLIENT_ORACLE_HOME is not set as environment variable or

4 ETW000 DIR_CLIENT_ORAHOME is not set as profile parameter.

4 ETW000 assuming using instant client with unspecified location.

4 ETW000 874 0.247675

4 ETW000 [dev trc ,00000] Wed Dec 08 16:10:27 2021 329424 0.577099

4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.1.0' 68 0.577167

4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 55 0.577222

4 ETW000 [dev trc ,00000] Client NLS settings: AMERICAN_AMERICA.UTF8 63845 0.641067

4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPSR3's password 223 0.641290

4 ETW000 [dev trc ,00000] Connecting as /@PTS on connection 0 (nls_hdl 0) ... (dbsl 700 110706)

4 ETW000 141 0.641431

4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

4 ETW000 119 0.641550

4 ETW000 [dev trc ,00000] 0 UTF8 1 02D5D6C0 02D62BF4 02D6247C

4 ETW000 745 0.642295

4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 64 0.642359

4 ETW000 [dev trc ,00000] Allocating server context handle 58 0.642417

4 ETW000 [dev trc ,00000] Attaching to DB Server PTS (con_hdl=0,svchp=02D623C8,svrhp=02D73C3C)

4 ETW000 154 0.642571

4 ETW000 [dev trc ,00000] Assigning server context 02D73C3C to service context 02D623C8

4 ETW000 215194 0.857765

4 ETW000 [dev trc ,00000] Allocating user session handle 107 0.857872

4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=02D623C8,srvhp=02D73C3C,usrhp=02DAF2F8)

4 ETW000 232 0.858104

4 4 ETW000 1837 2.207043

4 ETW000 Connected to DBMS = ORACLE --- dbs_ora_tnsname = 'PTS' --- SYSTEM = 'PTS'.

4 ETW000 [dev trc ,00000] { db_rtab( fcode = 'RT_INSERT', tname = 'PATCHHIST' ) {saprel.c:1245}

4 ETW000 810 2.207853

4 ETW000 [dev trc ,00000] INSERT INTO "PATCHHIST" VALUES( :A0 , :A1 , :A2 , :A3 , :A4 , :A5 , :A6 , :A7 )

4 ETW000 2771 2.210624

4 ETW000 [dev trc ,00000] } db_rtab( fcode = 'RT_INSERT', retcode = 0 ) 2364 2.212988

4 ETW000 [dev trc ,00000] dsql_open (con_da=(0,R/3),stmt="SELECT EXECUTABLE,SAPRELEASE,H ...",#binds=0,name=UNKNOWN,#input=0)

4 ETW000 156 2.213144

4 ETW000 [dev trc ,00000] SELECT EXECUTABLE,SAPRELEASE,HOSTNAME,PLATFORM,DBVENDOR,TIMESTAMP,PATCHNO,DBSLPATCHN FROM PATCHHIST WHERE EXECUTABLE = 'R3

4 ETW000 173 2.213317

4 ETW000 [dev trc ,00000] trans' AND TIMESTAMP = (SELECT MAX(TIMESTAMP) FROM PATCHHIST WHERE EXECUTABLE = 'R3trans' AND SAPRELEASE = '700' AND HOSTN

4 ETW000 83 2.213400

4 ETW000 [dev trc ,00000] AME = 'SAPWEB' AND PLATFORM = 'NT' AND DBVENDOR = 'ORA')

4 ETW000 81 2.213481

4 ETW000 [dev trc ,00000] dsql_fetch (con_da=(0,R/3),cu_id=0,#output=8) 168 2.213649

4 ETW000 [dev trc ,00000] dsql_close (con_da=(0,R/3),cu_id=0) 1633 2.215282

4 ETW000 [dev trc ,00000] { db_rtab( fcode = 'RT_DELETE', tname = 'PATCHHIST' ) {saprel.c:1353}

4 ETW000 110 2.215392

4 ETW000 [dev trc ,00000] DELETE FROM "PATCHHIST" WHERE "EXECUTABLE" = :A0 AND "SAPRELEASE" = :A1 AND "HOSTNAME" = :A2 AND "PLATFORM" = :A3 AND "DBV

4 ETW000 154 2.215546

4 ETW000 [dev trc ,00000] ENDOR" = :A4 AND "TIMESTAMP" = :A5

4 ETW000 83 2.215629

4 ETW000 [dev trc ,00000] } db_rtab( fcode = 'RT_DELETE', retcode = 0 ) 1601 2.217230

4 ETW690 "0" "0"

4 ETW000 [dev trc ,00000] db_con_commit (con_da={R/3,0,0},th_commit=1,tx=1,hold_cursor=0)

4 ETW000 179 2.217409

4 ETW000 COMMIT (0).

4 ETW000 trace to file pointer closed

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

4 ETW000

4 ETW000 ================== STEP 1 =====================

4 ETW000 date&time : 08.12.2021 - 16:10:28

4 ETW000 function : CONNECT

4 ETW000 buffersync : YES

4 ETW000 clients : default

4 ETW000 l.s.m. : VECTOR

4 ETW000 commit : 100000

4 ETW000 table cache : dynamic

4 ETW000

4 ETW000 [dev trc ,00000] Disconnecting from ALL connections: 597 0.000597

4 ETW000 [dev trc ,00000] Disconnecting from connection 0 ... 75 0.000672

4 ETW000 [dev trc ,00000] Closing user session (con_hdl=0,svchp=02D623C8,usrhp=02DAF2F8)

4 ETW000 1449 0.002121

4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=02D623C8,srvhp=02D73C3C)

4 ETW000 1821 0.003942

4 ETW000 [dev trc ,00000] Now I'm disconnected from ORACLE 4913 0.008855

4 ETW000 [dev trc ,00000] Disconnected from connection 0 95 0.008950

4 ETW000 [dev trc ,00000] statistics db_con_commit (com_total=1, com_tx=1)

4 ETW000 130 0.009080

4 ETW000 [dev trc ,00000] statistics db_con_rollback (roll_total=0, roll_tx=0)

4 ETW000 118 0.009198

4 ETW000 Disconnected from database.

4 ETW000 End of Transport (0000).

4 ETW000 date&time: 08.12.2021 - 16:10:28

But after restrart the server the same error message occurs

Former Member
0 Kudos

Hi,

So the database is up...The R3trans is connecting fine to the database....So what is the issue now?

Is the sap icons still showing grey in the sapmmc.......

What does the dev_w0 trace look like now..

Mark

Former Member
0 Kudos

Hi,

My issues every time i start the database manually then only SAP MMC to be started. If i didnt start database manually the SAP MMC - > Process list (disp+work) to be stopped.

Former Member
0 Kudos

Hi,

Have you this in your STARTprofile ??

DB = $(DIREXECUTABLE)\strdbs.cmd

Start_Program_01 = immediate $(_DB) <SID>

Mark

Former Member
0 Kudos

Hi,

The following parameters are present im my startup profile.

#----


  1. Start ABAP database

#----


DB = $(DIRCT_RUN)\strdbs.cmd

Start_Program_01 = immediate $(_DB) PTS

#----


  1. Start SAP messaging service

#----


MS = $(DIREXECUTABLE)\msg_server$(FT_EXE)

Start_Program_02 = local $(_MS) pf=$(_PF)

#----


  1. Start application server

#----


DW = $(DIREXECUTABLE)\disp+work$(FT_EXE)

Start_Program_03 = local $(_DW) pf=$(_PF)

#----


  1. Start internet graphics server

#----


IG = $(DIREXECUTABLE)\igswd$(FT_EXE)

Start_Program_04 = local $(_IG) -mode=profile pf=$(_PF)

Former Member
0 Kudos

Hi,

OK, have you the following in your exe directory :

strdbs.cmd

v9start.sql

regards

Mark

Former Member
0 Kudos

Hi,

we have strdbs.cmd file in the location D:\usr/sap/PTS/SYS/exeuc/NTI386

but v9start.sql file is missing. Actually we are installed oracle 10g version.

Former Member
0 Kudos

Hi,

open up strdbs.cmd it should be calling the v9start.sql ?

Mark

Former Member
0 Kudos

The following lines append in strdbs.cmd file

@rem:: static char sccsid[] = "@(#) $Id: //bas/700_REL/src/krn/ntport/strdbsora.cmd#1 $ SAP";

@rem -


@rem Startup script for ORACLE database 8.x

@rem -


@rem -


@rem look for given ORACLE_SID

@rem -


@if not %1#==# set ORACLE_SID=%1

@rem -


@rem write script v9start.sql to start database

@rem -


echo WHENEVER SQLERROR exit SQL.SQLCODE > v9start.sql

echo connect / as sysdba >> v9start.sql

echo startup >> v9start.sql

echo exit >> v9start.sql

@rem -


@rem execute script v9start.sql

@rem -


@sqlplus /nolog @v9start.sql

Former Member
0 Kudos

Hi

So, you need to have the v9start.sql Where has it gone ?

Or, create the file using notepad and put this in it.

WHENEVER SQLERROR exit SQL.SQLCODE

connect / as sysdba

startup

exit

Then shut it all down and try starting it up via sapmmc.

Mark

Former Member
0 Kudos

hi,

Not working.

Former Member
0 Kudos

Hi,

What's not working !

Post dev_* traces anything to help.

Former Member
0 Kudos

Hi,

As per the previous mail. I created the v9start.sql and paste in the location d\usr\sap\PTS\DVEBMGS00\exe

then i restarted the server the SAP MMCnot started .

Former Member
0 Kudos

Hi,

But your sapexe directory is D:\usr\sap\PTS\SYS\exe\uc\NTI386 as per your system environment paste earlier.

Mark

Former Member
0 Kudos

Hi,

AS per the previous mail i created the v9start.sql and paste in the location d\usr\sap\PTS\DVEBMGS00\exe. Again i got the same error.

-


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

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, MJ

*

B

B Wed Dec 08 18:54:30 2021

B create_con (con_name=R/3)

B Loading DB library 'D:\usr\sap\PTS\DVEBMGS00\exe\dboraslib.dll' ...

B Library 'D:\usr\sap\PTS\DVEBMGS00\exe\dboraslib.dll' loaded

B Version of 'D:\usr\sap\PTS\DVEBMGS00\exe\dboraslib.dll' is "700.08", patchlevel (0.205)

B New connection 0 created

M sysno 00

M sid PTS

M systemid 560 (PC with Windows NT)

M relno 7000

M patchlevel 0

M patchno 221

M intno 20050900

M make: multithreaded, Unicode, optimized

M pid 2060

M

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

M length of sys_adm_ext is 576 bytes

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

I

I Wed Dec 08 18:54:31 2021

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) 18744 (1704)

M DpShMCreate: sizeof(tm_adm) 4415616 (21968)

M DpShMCreate: sizeof(wp_ca_adm) 24064 (80)

M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)

M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064

M DpShMCreate: sizeof(comm_adm) 528064 (1048)

M DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0

M DpShMCreate: sizeof(slock_adm) 0 (96)

M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0

M DpShMCreate: sizeof(file_adm) 0 (72)

M DpShMCreate: sizeof(vmc_adm) 0 (1544)

M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)

M DpShMCreate: sizeof(gw_adm) 48

M DpShMCreate: SHM_DP_ADM_KEY (addr: 068C0040, size: 5076040)

M DpShMCreate: allocated sys_adm at 068C0040

M DpShMCreate: allocated wp_adm at 068C2178

M DpShMCreate: allocated tm_adm_list at 068C6AB0

M DpShMCreate: allocated tm_adm at 068C6AE0

M DpShMCreate: allocated wp_ca_adm at 06CFCB60

M DpShMCreate: allocated appc_ca_adm at 06D02960

M DpShMCreate: allocated comm_adm at 06D048A0

M DpShMCreate: system runs without slock table

M DpShMCreate: system runs without file table

M DpShMCreate: allocated vmc_adm_list at 06D85760

M DpShMCreate: allocated gw_adm at 06D857A0

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 06D857D0

M DpShMCreate: allocated wall_adm at 06D857D8

M rdisp/queue_size_check_value : -> off

M

M Wed Dec 08 18:54:32 2021

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: running on host sapweb

M

M Wed Dec 08 18:54:33 2021

M calling db_connect ...

C Prepending D:\usr\sap\PTS\DVEBMGS00\exe to Path.

C

C Wed Dec 08 18:54:35 2021

C Oracle Client Version: '10.2.0.1.0'

C application info callback registered

C

C Wed Dec 08 18:54:36 2021

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

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

C Connecting as /@PTS on connection 0 (nls_hdl 0) ... (dbsl 700 220409)

C Nls CharacterSet NationalCharSet EnvHp ErrHp ErrHpBatch

C 0 UTF8 06F5ACD8 06F60274 06F5FAFC

C Attaching to DB Server PTS (con_hdl=0,svchp=06F5FA48,srvhp=06F73324)

C

C Wed Dec 08 18:54:39 2021

C Starting user session: OCISessionBegin(con_hdl=0, usr='/',svchp=06F5FA48, srvhp=06F73324, usrhp=06FBDC88)

C

C Wed Dec 08 18:54:41 2021

C OCISessionBegin(OCI_DEFAULT) failed with SQL error 1034:

C ORA-01034: ORACLE not available

C ORA-27101: shared memory realm does not exist

C Detaching from DB Server (con_hdl=0,svchp=06F5FA48,srvhp=06F73324)

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

[dbsloci.c 11239]

C Try to connect with default password

C Connecting as SAPSR3/<pwd>@PTS on connection 0 (nls_hdl 0) ... (dbsl 700 220409)

C Nls CharacterSet NationalCharSet EnvHp ErrHp ErrHpBatch

C 0 UTF8 06F5ACD8 06F60274 06F5FAFC

C Attaching to DB Server PTS (con_hdl=0,svchp=06F5FA48,srvhp=06F73324)

C

C Wed Dec 08 18:54:47 2021

C Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/<pwd>, svchp=06F5FA48, srvhp=06F73324, usrhp=06FBDC88)

C

C Wed Dec 08 18:54:49 2021

C OCISessionBegin(OCI_DEFAULT) failed with SQL error 1034:

C ORA-01034: ORACLE not available

C ORA-27101: shared memory realm does not exist

C Detaching from DB Server (con_hdl=0,svchp=06F5FA48,srvhp=06F73324)

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

[dbsloci.c 11239]

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

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

B ***LOG BY0=> ORA-01034: ORACLE not available

ORA-27101: shared memory realm does not exist [dblink#8 @ 433] [dblink 0433 ]

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

M in_ThErrHandle: 1

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

M

M Info for wp 0

M

M pid = 2060

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 *

M * LOCATION SAP-Server sapweb_PTS_00 on host sapweb (wp 0)

M * ERROR ThInit: db_connect

M *

M * TIME Wed Dec 08 18:54:49 2021

M * RELEASE 700

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 10841

M * COUNTER 1

M *

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

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

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 2060) [dpnttool.c 333]

Former Member
0 Kudos

Hi,

Can I confirm where your DIR_EXECUTABLE points to.

Mark

markus_doehr2
Active Contributor
0 Kudos

> C ORA-01034: ORACLE not available

Your database is not started. So before trying to do anything with an application (R3trans etc.)

Check your Oracle alert.log for errors.

What did you do prior to this error?

Markus

Former Member
0 Kudos

Markus,

to sum up quickly his database is not starting in the sapmmc, and that's the issue for him.

Mark

Former Member
0 Kudos

Hi Thjis my startup profile .

SAPSYSTEMNAME = PTS

SAPGLOBALHOST = sapweb

SAPSYSTEM = 00

INSTANCE_NAME = DVEBMGS00

DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTI386

DIR_EXECUTABLE = $(DIR_INSTANCE)\exe

DIR_PROFILE = $(DIR_INSTALL)\profile

PF = $(DIRPROFILE)\PTS_DVEBMGS00_sapweb

#----


  1. Copy SAP Executables

#----


Start_Program_00 = immediate $(DIR_CT_RUN)\sapcpe$(FT_EXE) pf=$(_PF)

#----


  1. Start ABAP database

#----


DB = $(DIRCT_RUN)\strdbs.cmd

Start_Program_01 = immediate $(_DB) PTS

#----


  1. Start SAP messaging service

#----


MS = $(DIREXECUTABLE)\msg_server$(FT_EXE)

Start_Program_02 = local $(_MS) pf=$(_PF)

#----


  1. Start application server

#----


DW = $(DIREXECUTABLE)\disp+work$(FT_EXE)

Start_Program_03 = local $(_DW) pf=$(_PF)

#----


  1. Start internet graphics server

#----


IG = $(DIREXECUTABLE)\igswd$(FT_EXE)

Start_Program_04 = local $(_IG) -mode=profile pf=$(_PF)

R3trans -X

=========

4 ETW000 R3trans version 6.14 (release 700 - 12.06.09 - 15:20:00).

4 ETW000 unicode enabled version

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

4 ETW000

4 ETW000 date&time : 08.12.2021 - 19:13:34

4 ETW000 control file: <no ctrlfile>

4 ETW000 R3trans was called as follows: R3trans -x

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

4 ETW000 [dev trc ,00000] Wed Dec 08 19:13:37 2021 5218 0.005218

4 ETW000 [dev trc ,00000] db_con_init called 98 0.005316

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

4 ETW000 [dev trc ,00000] Loading DB library 'dboraslib.dll' ... 205 0.005745

4 ETW000 [dev trc ,00000] DlLoadLib success: LoadLibrary("dboraslib.dll"), hdl 0, addr 12AB0000

4 ETW000 187558 0.193303

4 ETW000 [dev trc ,00000] using "D:\usr\sap\PTS\SYS\exe\uc\NTI386\dboraslib.dll" 61 0.193364

4 ETW000 [dev trc ,00000] Library 'dboraslib.dll' loaded 74 0.193438

4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library dboraslib.dll 92 0.193530

4 ETW000 [dev trc ,00000] Version of 'dboraslib.dll' is "700.08", patchlevel (0.205) 54172 0.247702

4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library dboraslib.dll 143 0.247845

4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library dboraslib.dll 147 0.247992

4 ETW000 [dev trc ,00000] New connection 0 created 663 0.248655

4 ETW000 [dev trc ,00000] 000: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,

4 ETW000 reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000 307 0.248962

4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 79 0.249041

4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse: 64 0.249105

4 ETW000 [dev trc ,00000] 000: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,

4 ETW000 reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000 284 0.249389

4 ETW000 [dev trc ,00000] CLIENT_ORACLE_HOME is not set as environment variable or 25200 0.274589

4 ETW000 DIR_CLIENT_ORAHOME is not set as profile parameter.

4 ETW000 assuming using instant client with unspecified location.

4 ETW000 [dev trc ,00000] Wed Dec 08 19:13:38 2021 606456 0.881045

4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.1.0' 70 0.881115

4 ETW000 [dev trc ,00000] -->oci_initialize(con_hdl=0, char='', nchar='') 79 0.881194

4 ETW000 [dev trc ,00000] application info callback registered 69 0.881263

4 ETW000 [dev trc ,00000] OCIEnvCreate(mode=16384=OCI_UTF16) returned 0 (for default NLS handle)

4 ETW000 103939 0.985202

4 ETW000 [dev trc ,00000] Client character set UTF16 -> UTF8 1826 0.987028

4 ETW000 [dev trc ,00000] Client NLS setting (OCINlsGetInfo): connection handle 0 -> 'AMERICAN_AMERICA.UTF8'

4 ETW000 945 0.987973

4 ETW000 [dev trc ,00000] charset='', chset='UTF8', UNI_ASC=FALSE/FALSE 109 0.988082

4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPSR3's password 109 0.988191

4 ETW000 [dev trc ,00000] Connecting as /@PTS on connection 0 (nls_hdl 0) ... (dbsl 700 220409)

4 ETW000 175 0.988366

4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet EnvHp ErrHp ErrHpBatch

4 ETW000 12381 1.000747

4 ETW000 [dev trc ,00000] 0 UTF8 02F2F790 02F34CC4 02F3454C

4 ETW000 167 1.000914

4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 10856 1.011770

4 ETW000 [dev trc ,00000] Allocating server context handle 441 1.012211

4 ETW000 [dev trc ,00000] Attaching to DB Server PTS (con_hdl=0,svchp=02F34498,srvhp=02F481A4)

4 ETW000 197 1.012408

4 ETW000 [dev trc ,00000] Assigning server context 02F481A4 to service context 02F34498 219588 1.231996

4 ETW000 [dev trc ,00000] Allocating user session handle 173 1.232169

4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr='/',svchp=02F34498, srvhp=02F481A4, usrhp=02F5C780)

4 ETW000 246 1.232415

4 ETW000 [dev trc ,00000] Wed Dec 08 19:13:39 2021 1209681 2.442096

4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 105 2.442201

4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1034: 285 2.442486

4 ETW000 [dev trc ,00000] ORA-01034: ORACLE not available 121 2.442607

4 ETW000 ORA-27101: shared memory realm does not exist

4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=1,svrhp=02F481A4) 128 2.442735

4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=02F34498,srvhp=02F481A4) 107 2.442842

4 ETW000 [dev trc ,00000] Deallocating server context handle 02F481A4 from con_hdl=0 6277 2.449119

4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1034' 169 2.449288

4 ETW000 [dev trc ,00000] set_ocica() -> SQL error code 1034 114 2.449402

4 ETW000 [dev trc ,00000] -->oci_get_errmsg (con_hdl=0, rc=1034) 105 2.449507

4 ETW000 [dev trc ,00000] OCIErrorGet -> SQL error code: 1034 199 2.449706

4 ETW000 [dev trc ,00000] ORA-01034: ORACLE not available 123 2.449829

4 ETW000 ORA-27101: shared memory realm does not exist

4 ETW000 [dev trc ,00000] Try to connect with default password 136 2.449965

4 ETW000 [dev trc ,00000] Connecting as SAPSR3/<pwd>@PTS on connection 0 (nls_hdl 0) ... (dbsl 700 220409)

4 ETW000 191 2.450156

4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet EnvHp ErrHp ErrHpBatch

4 ETW000 174 2.450330

4 ETW000 [dev trc ,00000] 0 UTF8 02F2F790 02F34CC4 02F3454C

4 ETW000 156 2.450486

4 ETW000 [dev trc ,00000] Allocating server context handle 96 2.450582

4 ETW000 [dev trc ,00000] Attaching to DB Server PTS (con_hdl=0,svchp=02F34498,srvhp=02F481A4)

4 ETW000 203 2.450785

4 ETW000 [dev trc ,00000] Assigning server context 02F481A4 to service context 02F34498 146226 2.597011

4 ETW000 [dev trc ,00000] Assigning username to user session: con_hdl=0, usrhp=02F5C780 147 2.597158

4 ETW000 [dev trc ,00000] Assigning password to user session: con_hdl=0, usrhp=02F5C780 136 2.597294

4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/<pwd>, svchp=02F34498, srvhp=02F481A4, usrhp=02F5C780)

4 ETW000 212 2.597506

4 ETW000 [dev trc ,00000] Wed Dec 08 19:13:40 2021 1195917 3.793423

4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 70 3.793493

4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1034: 143 3.793636

4 ETW000 [dev trc ,00000] ORA-01034: ORACLE not available 96 3.793732

4 ETW000 ORA-27101: shared memory realm does not exist

4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=1,svrhp=02F481A4) 112 3.793844

4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=02F34498,srvhp=02F481A4) 91 3.793935

4 ETW000 [dev trc ,00000] Deallocating server context handle 02F481A4 from con_hdl=0 5990 3.799925

4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1034' 213 3.800138

4 ETW000 [dev trc ,00000] set_ocica() -> SQL error code 1034 165 3.800303

4 ETW000 [dev trc ,00000] -->oci_get_errmsg (con_hdl=0, rc=1034) 102 3.800405

4 ETW000 [dev trc ,00000] OCIErrorGet -> SQL error code: 1034 165 3.800570

4 ETW000 [dev trc ,00000] ORA-01034: ORACLE not available 103 3.800673

4 ETW000 ORA-27101: shared memory realm does not exist

4 ETW000 [dblink ,00433] ***LOG BY2=>sql error 1034 performing CON [dblink#8 @ 433] 7973 3.808646

4 ETW000 [dblink ,00433] ***LOG BY0=>ORA-01034: ORACLE not available 109 3.808755

4 ETW000 ORA-27101: shared memory realm does not exist [dblink#8 @ 433]

2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'PTS'"

Former Member
0 Kudos

Hi,

After i start the DB manually.There is no error in Log.

Latest R3trans-x log

================

4 ETW000 R3trans version 6.14 (release 700 - 12.06.09 - 15:20:00).

4 ETW000 unicode enabled version

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

4 ETW000

4 ETW000 date&time : 08.12.2021 - 19:16:10

4 ETW000 control file: <no ctrlfile>

4 ETW000 R3trans was called as follows: R3trans -x

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

4 ETW000 [dev trc ,00000] Wed Dec 08 19:16:12 2021 0 0.000000

4 ETW000 [dev trc ,00000] db_con_init called 0 0.000000

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

4 ETW000 [dev trc ,00000] Loading DB library 'dboraslib.dll' ... 0 0.000000

4 ETW000 [dev trc ,00000] DlLoadLib success: LoadLibrary("dboraslib.dll"), hdl 0, addr 12AB0000

4 ETW000 167244 0.167244

4 ETW000 [dev trc ,00000] using "D:\usr\sap\PTS\SYS\exe\uc\NTI386\dboraslib.dll" 89 0.167333

4 ETW000 [dev trc ,00000] Library 'dboraslib.dll' loaded 108 0.167441

4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library dboraslib.dll 128 0.167569

4 ETW000 [dev trc ,00000] Version of 'dboraslib.dll' is "700.08", patchlevel (0.205) 587 0.168156

4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library dboraslib.dll 123 0.168279

4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library dboraslib.dll 136 0.168415

4 ETW000 [dev trc ,00000] New connection 0 created 146 0.168561

4 ETW000 [dev trc ,00000] 000: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,

4 ETW000 reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000 290 0.168851

4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 95 0.168946

4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse: 80 0.169026

4 ETW000 [dev trc ,00000] 000: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,

4 ETW000 reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000 288 0.169314

4 ETW000 [dev trc ,00000] CLIENT_ORACLE_HOME is not set as environment variable or 706 0.170020

4 ETW000 DIR_CLIENT_ORAHOME is not set as profile parameter.

4 ETW000 assuming using instant client with unspecified location.

4 ETW000 [dev trc ,00000] Wed Dec 08 19:16:13 2021 278050 0.448070

4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.1.0' 83 0.448153

4 ETW000 [dev trc ,00000] -->oci_initialize(con_hdl=0, char='', nchar='') 96 0.448249

4 ETW000 [dev trc ,00000] application info callback registered 82 0.448331

4 ETW000 [dev trc ,00000] OCIEnvCreate(mode=16384=OCI_UTF16) returned 0 (for default NLS handle)

4 ETW000 64008 0.512339

4 ETW000 [dev trc ,00000] Client character set UTF16 -> UTF8 1739 0.514078

4 ETW000 [dev trc ,00000] Client NLS setting (OCINlsGetInfo): connection handle 0 -> 'AMERICAN_AMERICA.UTF8'

4 ETW000 984 0.515062

4 ETW000 [dev trc ,00000] charset='', chset='UTF8', UNI_ASC=FALSE/FALSE 98 0.515160

4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPSR3's password 94 0.515254

4 ETW000 [dev trc ,00000] Connecting as /@PTS on connection 0 (nls_hdl 0) ... (dbsl 700 220409)

4 ETW000 242 3.372455

4 ETW000 [dev trc ,00000] DbSlRead(): table='SVERS' 258 3.372713

4 ETW000 [dev trc ,00000] Wed Dec 08 19:16:16 2021 185317 3.558030

4 ETW000 [dev trc ,00000] OCIStmtExecute() completed, rc=100=OCI_NO_DATA, no further data 103 3.558133

4 ETW000 [dev trc ,00000] -> rc=1403=OCI_ERR_NOT_FOUND 121 3.558254

4 ETW000 [dev trc ,00000] Out 00: DBSL_DATA_CHAR (len=144, max=144, dec=0) 244 3.558498

4 ETW000 [dev trc ,00000] bind_type_and_length(): 0 input variables given 143 3.558641

4 ETW000 [dev trc ,00000] bind_type_and_length(): 1 output variables given 110 3.558751

4 ETW000 Connected to database.

4 ETW000 [dev trc ,00000] Disconnecting from ALL connections: 95449 3.654200

4 ETW000 [dev trc ,00000] Disconnecting from connection 0 ... 118 3.654318

4 ETW000 [dev trc ,00000] Rolling back transaction ... 133 3.654451

4 ETW000 [dev trc ,00000] Closing user session (con_hdl=0,svchp=02F34498,usrhp=02F5C780) 2175 3.656626

4 ETW000 [dev trc ,00000] Deallocating user session handle 3186 3.659812

4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=0,svrhp=02F481A4) 137 3.659949

4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=02F34498,srvhp=02F481A4) 150 3.660099

4 ETW000 [dev trc ,00000] Deallocating server context handle 02F481A4 from con_hdl=0 7648 3.667747

4 ETW000 [dev trc ,00000] Deallocating service context 02F34498 160 3.667907

4 ETW000 [dev trc ,00000] Now I'm disconnected from ORACLE 119 3.668026

4 ETW000 [dev trc ,00000] Disconnected from connection 0 99 3.668125

4 ETW000 [dev trc ,00000] statistics db_con_commit (com_total=0, com_tx=0) 86 3.668211

4 ETW000 [dev trc ,00000] statistics db_con_rollback (roll_total=0, roll_tx=0) 80 3.668291

4 ETW000 Disconnected from database.

4 ETW000 End of Transport (0000).

4 ETW000 date&time: 08.12.2021 - 19:16:16

Former Member
0 Kudos

Hi,

so your database (strdbs.cmd / v9start.sql) is being started from here : D:\usr\sap\PTS\SYS\exe\uc\NTI386

have you all the files here..

So,

We know the database starts manually

We know R3trans -x connects with rc = 000

When you start sap it should be OK !

Mark

Former Member
0 Kudos

Hi,

yes. R3trans -x terminated with error code :12

2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'PTS'"

Former Member
0 Kudos

Hi,

But you just said the R3trans -x was good and you posted rc=000....I am confused..

Have installed the oracle client (instantclient)

Mark

Former Member
0 Kudos

Hi,

In Installation process they asked oracle client file we mapped the location & sucessfully installed.

How can i check client is installed or not

senthil

Edited by: Senthil Kumar on Dec 8, 2009 7:35 PM

Former Member
0 Kudos

Hi

have a look in D:\usr\sap\EBD\DVEBMGS00\exe

Mark

Former Member
0 Kudos

Hi,

Hereby furnished oracle related files.

08/30/2005 01:17 AM 344,064 oci.dll

08/16/2005 09:06 PM 77,824 ocijdbc10.dll

08/30/2005 12:29 AM 344,064 ociw32.dll

03/21/2006 01:44 AM 1,540,457 ojdbc14.jar

08/16/2005 04:20 AM 1,081,344 orannzsbb10.dll

08/30/2005 01:27 AM 778,240 oraocci10.dll

08/30/2005 01:26 AM 17,924,096 oraociicus10.dll

08/16/2005 05:58 AM 1,650,688 orasqlplusic10.dll

Senthil

Former Member
0 Kudos

Hi,

I'm going to drop out now......I'v exhausted every option in trying to help.

It should work given all the info you gave me. I will let somebody have a go..

All the best.

Mark

Former Member
0 Kudos

Hi,

Any idea.

Senthil

markus_doehr2
Active Contributor
0 Kudos

You jump from one answer to the next.

You wrote that you could successfully start the database. If R3trans -d fails then please post trans.log

Markus

Former Member
0 Kudos

R3trans -d Log

============

4 ETW000 [dev trc ,00000] Thu Dec 09 08:45:35 2021 1307418 3.583025

4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 80 3.583105

4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1034: 228 3.583333

4 ETW000 [dev trc ,00000] ORA-01034: ORACLE not available 161 3.583494

4 ETW000 ORA-27101: shared memory realm does not exist

4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=1,svrhp=02F48024) 165 3.583659

4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=02F34318,srvhp=02F48024) 122 3.583781

4 ETW000 [dev trc ,00000] Deallocating server context handle 02F48024 from con_hdl=0 9016 3.592797

4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1034' 129 3.592926

4 ETW000 [dev trc ,00000] set_ocica() -> SQL error code 1034 90 3.593016

4 ETW000 [dev trc ,00000] -->oci_get_errmsg (con_hdl=0, rc=1034) 90 3.593106

4 ETW000 [dev trc ,00000] OCIErrorGet -> SQL error code: 1034 185 3.593291

4 ETW000 [dev trc ,00000] ORA-01034: ORACLE not available 119 3.593410

4 ETW000 ORA-27101: shared memory realm does not exist

4 ETW000 [dblink ,00433] ***LOG BY2=>sql error 1034 performing CON [dblink#8 @ 433] 11732 3.605142

4 ETW000 [dblink ,00433] ***LOG BY0=>ORA-01034: ORACLE not available 113 3.605255

4 ETW000 ORA-27101: shared memory realm does not exist [dblink#8 @ 433]

2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'PTS'"

Former Member
0 Kudos

Hi,

What I understand from this thread is you are not able to start the Oracle database using SAP MMC automatically.

Please check the startdb.cmd contents as per OSS Note 491174 - Composite SAP note for ORA-01034 which you already have refred.

Just refer Point 3 in Solution:-

If you use the Management Console to start the R/3 system in NT systems, the database first uses the STRDBS.CMD script. Then, the work processes attempt to connect to the database. If the database cannot be started using STRDBS.CMD, the system writes the ORA-01034 error code to the work process traces, and the work processes terminate. Therefore, check that the STRDBS.CMD script in the directory <drive>:\usr\sap\<sid>\SYS\exe\run is correct. The relevant entries must be as follows:

echo connect internal > v8start.sql
  echo startup >> v8start.sql
  @svrmgrl command=@v8start.sql

The first two lines create the v8start. sql mini-script, which is then executed in the third line using the svrmgrl command. In particular, ensure that the first line contains one ">" and the second line contains two ">>". In addition, as of Oracle 8.1, the third line must contain a "svrmgrl" command and not a "svrmgr30" command as in previous releases (8.0 or lower).

Hope this helps.

Thanks,

Sachin

markus_doehr2
Active Contributor
0 Kudos

> 4 ETW000 [dev trc ,00000] ORA-01034: ORACLE not available 161 3.583494

> 4 ETW000 ORA-27101: shared memory realm does not exist

As you can see - even if you manually started the database it's not available.

Please post the output of the last lines of alert<SID>.log

Markus

volker_borowski2
Active Contributor
0 Kudos

This might be a long shot, but I'll try it anyway:

What do you do when you "start the DB manually" ?

Do you use SQLPLUS ?

Or did you just start the WIndows Service from the

controlpanel ?

If the later, you did not complete the Install guide correctly,

as you might have to set startuptype of the service

from manual to automatic and the configuration of the

DB Autostart inside the service according to the guide.

Hope this helps

Volker