Quantcast
Channel: SCN : Discussion List - SAP on Oracle
Viewing all 1892 articles
Browse latest View live

Brtools, brbackup, brrestore

$
0
0

Dear Experts,

 

I am facing problem while taking Backup using DB13 error: BR0152E Environment variable SAPDATA_HOME is not set........

 

Environment i am using:

 

SAP Application Server CI: Windows 2008 R2

SAP Database Instance: Linux

Database: Oracle 11g

 

//sapmnt is mounted on Linux

 

what are SAP recommendations on this.. and how to take backup and restore?

 

Thanks


Background jobs getting stuck in Ready Status

$
0
0

Hi,

 

We are currently experiencing an issue with certain background jobs being scheduled/triggered but then getting stuck in ready status and not processing when it gets to their start time.

 

When they get stuck in ready status we can see in sm37 that the executing server is always the application server.

Our central server is a unix system and our application server(s) are windows both running on the oracle db hosted on the central server.

 

The jobs that are getting stuck are both technical (RDDIMPDP, SAP_COLLECTOR_PERFMON etc) and user triggered jobs.

 

I've noticed that sometimes we receive messages stating 'unable to connect to oracle' which im assuming is related as these seem to have picked up with the increase in stuck jobs.

 

and in work process logs these messages keep appearring:

 

dblink[db_reconnect]: { new_reconnect_message=1
dbcon[db_con_reconnect]: { reco_trials=3, reco_sleep_time=5
00: name=R/3, con_id=000000000, state=INACTIVE    , tx=NO , bc=NO , hc=NO , perm=YES, reco=NO , info=NO ,
     timeout=000, con_max=255, con_opt=255, occ=NO , prog=
dbcon[db_con_reconnect]: } rc=0
***LOG BV4=> reconnect state is set for the work process [dblink       1999]
***LOG BYY=> work process left reconnect status [dblink       2000]
dblink[db_reconnect]: } rc=0
ThHdlReconnect: reconnect o.k.

 

does anyone have an idea of where to look to resolve this?

 

We have looked at sap note 1902517 and tried various values for parameters SQLNET.SEND_TIMEOUT & SQLNET.RECV_TIMEOUT but they have not resolved this. Since upgrading our kernel and support packs on the system it seems to have worsened in our dev environment too (where these parameters were changed).

 

The only way to get round this is to go in sm37 and start the job off manually but it is too much time to do this for every stuck job.

 

Let me know if you want more information and thanks in advance

 

Liam

DB auto shutdown after sometime.....

$
0
0

Hi all,

 

we have ecc6 sr3 , orcle 10.2 0 2 0 with win server 2003. We have problem in our DB that the DB is auto shutdown after sometimg., error in syslog below

 

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

SAP-Basis System: Work process has left reconnect status

Database: SQL error 1092 . Work processes in reconnect status

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

 

Both the error is continously comming.........

 

 

aftab

Oracle Corrupted Blocks .

$
0
0

Hi ,

 

    We using R/3 4.7 with Oracle 9.2 , Now i want to check any corrupted blocks are attected in our server , Can you tell me how can i check . Because i want to check the corrupted blocks in database is in online . Shall i use DBVERIFY .

 

 

Regards

Palani Selvan

To check Fragmention Tables on Oracle Databases.

$
0
0

Hi,

 

To find fragmented objects in the oracle Database normally considering size of segment(table) against (size of the segment - avg_row_len ) if the difference between two is more than GB, then could re-organize the table objects and rebuild the index to claim the space.

 

But SAP provided a script Space_HighWaterMarkFragmentation.sql which is considering various other factors like initial extents, blocks etc.,

Alias BI stands for basis_Info, Alias T stands for Table & Alias S stands for segment.

   ( BI.INITIAL_GREATER_THAN_HWM = ' ' OR

      T.INITIAL_EXTENT > T.BLOCKS * 8192 AND S.BYTES < T.INITIAL_EXTENT + 64 * 1024 * 1024 ) AND

    'TABLE' LIKE BI.SEGMENT_TYPE AND

    ( T.USER_STATS = 'NO' OR BI.EXCLUDE_USER_STATS_SEGMENTS = ' ' )

 

so, could you pls. explain any one, in what logic & why SAP uses these type of condition to fetch fragmented objects ??..

 

And also for to find out/maintains statistics of the Tables, does SAP recommends any specific scripts like above,

 

Pls. Guide me for the Above.

 

 

Best Regards,

Siva..

Description Regarding Oracle SQL's

$
0
0

Hi,

 

Got Oracle SQL scripts for (space,storage, tablespaces,AWR,ASH,CBO,Resources etc.,).

 

But require to know the Description/Meaning what exactly from those sql scripts will get the output info(result set), and also where/which situation can be used

 

For eg like CBOStatistics_SpecialStatistics_11g+(what exactly it does)., Configuration_Procedures etc.,

 

Some kind of short description can be mentioned in any notes or any body can able to help/guide me.

 

I really appreciate.

 

Thanks in Advance,

Sivakumar KS.

Brtools recover

$
0
0

Hello,

 

I'm trying to recover the system but during the process I'm getting this error message on brtools:

 

 

BR0280I BRTOOLS time stamp: 2014-12-10 18.56.48

BR0251E Function gets() failed at location BrMenuProcess-1

BR0253E errno 12: Not enough space

BR0255E Cannot read from standard input

 

What does it means Not enough space?

Update Stats: Error on RFBLG

$
0
0

Hello All,

 

When we update our database statistics using BRConnect, this runs into an error. The error we're getting is given below:

 

BR0881I Collecting statistics for table SAPR3.RFBLG with method/sample C ...  

BR0280I BRCONNECT time stamp: 2009-03-30 14.02.35                             

BR0301E SQL error -603 at location stats_tab_collect-16                       

ORA-00603: ORACLE server session terminated by fatal error                    

BR0886E Checking/collecting statistics failed for table SAPR3.RFBLG           

BR0280I BRCONNECT time stamp: 2009-03-30 14.02.35                             

 

After this, BRConnect loses it's connection to Oracle and the job fails. Any attempt to create or delete stats for RFBLG fails with the same error. I've seen note 411773 and the setting in DB21 for the table is correct (active flag = R).

I've already updated BRConnect to the latest version (640 patch 50 in our case).

 

Does anybody know how to overcome this problem?

 

Kind regards, Wilbert


Using brtools to recover to different server

$
0
0

I have the need to recover one system, SND, to another, PSS.  Both are running Oracle 11.2.0.4 on HP-UX 11.31.  I have access to HP Data Protector for the recovery but I was informed that I should use brtools to recover one SID to another.

 

I have tried using the DP GUI and recovery to a new SID doesn't seem possible.  Files from, say /oracle/PSS/sapdata1/file_1/file1.dbf end up in /oracle/SND/sapdata1/oracle/PSS/sapdata1/file_1/file1.dbf.  In other words, using the GUI there is no way to remove the path.

 

Using The Google i can find bits and pieces of examples but nothing concrete.  The closet I have found is:

 

"I am in the process of validating the functionality right now. So far it seems to work:

 

set OB2APPNAME=SID

set OB2HOSTNAME=source_host.domain.name

set OB2BARHOSTNAME=source_host.domain.name

 

brrestore -m PSAPSIDUSR=H:\ORACLE\SID\SAPBACKUP -b bebktbgr.anf -d util_file"

 

Anyone have a doc/example they can share?

Thanks

Vince

moving a oracle datafile online

$
0
0

Hi Experts ,

 

sr3.data25  datafile  has been created twice in two unix file systems  as below ( brspace did not complain )  , what is the best way to rename one file to sr3.data26 while database is up and running ?

 

Do I have bring tablespace offline ? if it is,  what are the consequences if tablespace is offline ( while DB and SAP is running )  during this change ?

 

 

duplicate data  file.jpg

 

Thanks

 

Al Mamun

reorg a table with lob segment

$
0
0

Hi Experts

In My ECC system , one lob segment (SYS_LOB0000127459C00004$$)   has grown to 205GB , this lob segment is referenced to  the  table FDT_XML_EXPORT which is only 5 GB.

 

The lob segment contains large number of XML files, which are stored here with an export.

 

We will be deleting 200 GB worth of data from this lob segment and will reorganize the table, just wondering if reorg the table will reclaim the space from this LOB segment.

I will be using the command below with the compress lob only  option

brspace -u / -f tbreorg -c clob_only -o sapsr3 -t FDT_XML_EXPORT

Just wondering if the approach is good, or any other better way to do the job,

Thanks

Al MAmun

 

What will happen if oracle listener is stopped and started again.....

$
0
0

Hi Gurus,

 

Please suggest What will happen if oracle listener is stopped and started again on a running SAP System ?

 

 

Thanks in advance.

Server is not coming up

$
0
0

Hi Experts,

 

I have done DB refresh from production to development, after that server is not coming up. When i see work process logs i found below

 

 

 

---------------------------------------------------

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

---------------------------------------------------

*

*  ACTIVE TRACE LEVEL           1

*  ACTIVE TRACE COMPONENTS      all, MJ

*

M sysno      00

M sid        BPD

M systemid   562 (PC with Windows NT)

M relno      7210

M patchlevel 0

M patchno    200

M intno      20020600

M make       multithreaded, Unicode, 64 bit, optimized

M profile    \\GILSAPBPCDEV\sapmnt\BPD\SYS\profile\BPD_DVEBMGS00_GILSAPBPCDEV

M pid        1264

M

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

M  length of sys_adm_ext is 592 bytes

M  ***LOG Q0Q=> tskh_init, WPStart (Workp. 0 1264) [dpxxdisp.c   1378]

I  MtxInit: 30000 0 0

M  DpSysAdmExtCreate: ABAP is active

M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

M  DpIPCInit2: read dp-profile-values from sys_adm_ext

M  DpShMCreate: sizeof(wp_adm) 42864 (2256)

M  DpShMCreate: sizeof(tm_adm) 5517056 (27448)

M  DpShMCreate: sizeof(wp_ca_adm) 64000 (64)

M  DpShMCreate: sizeof(appc_ca_adm) 64000 (64)

M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/1384064/1384080

M  DpShMCreate: sizeof(comm_adm) 1384080 (2744)

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

M  DpShMCreate: sizeof(slock_adm) 0 (296)

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

M  DpShMCreate: sizeof(file_adm) 0 (80)

M  DpShMCreate: sizeof(vmc_adm) 0 (2160)

M  DpShMCreate: sizeof(wall_adm) (41664/42896/64/192)

M  DpShMCreate: sizeof(gw_adm) 48

M  DpShMCreate: sizeof(j2ee_adm) 3952

M  DpShMCreate: SHM_DP_ADM_KEY (addr: 000000000C1C0050, size: 7174832)

M  DpShMCreate: allocated sys_adm at 000000000C1C0060

M  DpShMCreate: allocated wp_adm_list at 000000000C1C30B0

M  DpShMCreate: allocated wp_adm at 000000000C1C32A0

M  DpShMCreate: allocated tm_adm_list at 000000000C1CDA20

M  DpShMCreate: allocated tm_adm at 000000000C1CDA70

M  DpShMCreate: allocated wp_ca_adm at 000000000C710980

M  DpShMCreate: allocated appc_ca_adm at 000000000C720390

M  DpShMCreate: allocated comm_adm at 000000000C72FDA0

M  DpShMCreate: system runs without slock table

M  DpShMCreate: system runs without file table

M  DpShMCreate: allocated vmc_adm_list at 000000000C881C40

M  DpShMCreate: system runs without vmc_adm

M  DpShMCreate: allocated gw_adm at 000000000C881CF0

M  DpShMCreate: allocated j2ee_adm at 000000000C881D30

M  DpShMCreate: allocated ca_info at 000000000C882CB0

M  DpShMCreate: allocated wall_adm at 000000000C882D40

M  DpCommAttachTable: attached comm table (header=000000000C72FDA0/ft=000000000C72FDB0)

M  DpRqQInit: use protect_queue / slots_per_queue 0 / 2001 from sys_adm

M  rdisp/queue_size_check_value :  -> on,50,30,40,500,50,500,80

X  EmInit: MmSetImplementation( 2 ).

X  MM global diagnostic options set: 0

X  <ES> client 0 initializing ....

X  <ES> EsILock: use spinlock for locking

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 192 MB

X  mm.dump: set global maximum dump mem to 192 MB

X  EsRegisterEmCheck: Register EmGetEsHandles at 0000000140A0ADA0

M  DpVmcSetActive: set vmc state DP_VMC_NOT_ACTIVE

M Sat Dec 13 20:51:16 2014

M  ThStart: taskhandler started

M  ThTHPInit: thp initialized

M  ThInit: initializing DIA work process W0

M Sat Dec 13 20:51:17 2014

M  ThInit: running on host GILSAPBPCDEV

M Sat Dec 13 20:51:35 2014

M  calling db_connect ...

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

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

B  Version of 'D:\usr\sap\BPD\DVEBMGS00\exe\dboraslib.dll' is "721.02", patchlevel (0.138)

C  DIR_CLIENT_ORAHOME is not set as profile nor env. parameter.

C  Assuming using instant client with unspecified location.

C  Register application info.

C  Oracle client version: 11.2.0.2.0, (dbsl 721 041013, UNICODE[2])

C  Detailed Oracle client (patch) info not available.

C  Client NLS setting (by OCINlsGetInfo(con=0)): 'AMERICAN_AMERICA.UTF16'

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

C  Connecting as /@BPD on connection 0 (nls 0) ... (dbsl 721 041013, UNICODE[2])

C  Attaching to database server BPD (con=0, svchp=03EF7AA8, srvhp=03EF8600)

C  Starting user session: OCISessionBegin(con=0, usr='/', svc=03EF7AA8, srv=03EF8600, usr=15017AF0)

C Sat Dec 13 20:51:36 2014

C  Now '/@BPD' is connected: con=0, nls=0, session=29, time='2014-12-13 20:51:36'

C  Got SAPBPD's password from OPS$-user

C  Disconnecting from connection 0 ...

C  Closing user session (con=0, svc=03EF7AA8, usr=15017AF0)

C  Disconnected (con=0) from ORACLE.

C  Connecting as SAPBPD/<pwd>@BPD on connection 0 (nls 0) ... (dbsl 721 041013, UNICODE[2])

C  Starting user session: OCISessionBegin(con=0, usr='SAPBPD', svc=03EF7AA8, srv=03EF8600, usr=15017AF0)

C  Now 'SAPBPD/<pwd>@BPD' is connected: con=0, nls=0, session=29, time='2014-12-13 20:51:36'

C  DB instance BPD is running on GILSAPBPCDEV with ORACLE version 11.2.0.3.0 since DEC 13, 2014, 20:50:56.

C Sat Dec 13 20:51:37 2014

C  con=0, V$NLS_PARAMETERS: NLS_LANG=AMERICAN_AMERICA.UTF8, NLS_NCHAR=UTF8

C  Nls CharacterSet                      NationalCharSet                   EnvHp            ErrHp            ErrBt          

C    0 UTF16                             AL16UTF16                         03EEB650         03EF6B18         03EF7BF8       

B  Connection 0 opened (DBSL handle 0)

C     OCIStmtExecute() failed with -1=OCI_ERROR

C     SQL error 942:

B  ***LOG BZA=> table SVERS      does not exist on database            [dblink       1327]

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

M  in_ThErrHandle: 1

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

M  Info for wp 0

M    pid = 1264

M    severity = 0

M    status = 0

M    stat = WP_NEW

M    waiting_for = NO_WAITING

M    reqtype = DP_RQ_DIAWP

M    act_reqtype = NO_REQTYPE

M    req.req_info =

M    req.tid = -1

M    req.uid = 4294967295

M    req.mode = 255

M    req.len = 0

M    req.rq_id = 65535

M    req.rq_source =

M    last_tid = 0

M    last_uid = 0

M    last_mode = 0

M    locked semaphores (), locking ()

M    act_cs_count = 1

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  ThIErrHandle: current request:

M  -IN-- sender_id ?                 tid  -1    wp_ca_blk   -1      wp_id -1

M  -IN-- action    -                 uid  -1    appc_ca_blk -1      type  -   

M  -IN-- new_stat  NO_CHANGE         mode 255   len         0       rq_id -1

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

M  *

M  *  LOCATION    SAP-Server GILSAPBPCDEV_BPD_00 on host GILSAPBPCDEV (wp 0)

M  *  ERROR       ThInit: db_connect

M  *

M  *  TIME        Sat Dec 13 20:51:37 2014

M  *  RELEASE     721

M  *  COMPONENT   Taskhandler

M  *  VERSION     1

M  *  RC          13

M  *  MODULE      thxxhead.c

M  *  LINE        11726

M  *  COUNTER     1

M  *

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

M  PfStatDisconnect: disconnect statistics

M  Entering TH_CALLHOOKS

M  ThCallHooks: call hook >ThrBtcCallLgCl< for event BEFORE_DUMP

M  ThCallHooks: hook >ThrBtcCallLgCl< o.k.

M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP

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

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

M  ThIErrHandle: 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 (Workp. 0 1264) [dpnttool.c   339]

 

Can any one suggest what could be the reason for this and what could be done.

 

BW system on NW 7.3EHP1 with Oracle 11.2 on windows server 2008.

 

Regards

Gowtham

brrestore error "no backup of archived log for thread 1 with sequence"

$
0
0

Hi everyone

I am having a weired issue with BRRestore in our environment. I am running SAP/Oracle on AIX. I take backup and archive  to external system (TSM) using BRTools/RMAN.

 

If I take an online consistent backup level 0, and I attemt to restore it; it works fine, except restoring the archive logs. I never succeeded to restore the most recent logs using BRTOOLS, but I can restore older ones. To restore these logs, I have to use RMAN directly.

 

Any idea or help?

Local Client Copy is taking long time

$
0
0

Dear All,

 

I wanted to make client copy on the same system between two clients from 420 to 410. The copy is running since 20 hours and not finish yet and it showed at the begginng error in two table DDIC but it continues and till now it didn't finish. I have checked sm50 and it's running and in scc3 it's processing and it's showing that it's processing one table. Is this normal? And can we open the source client to some users? What if it took more and more time shall we terminated and what is the effect of cancellation?

 

Thanks in advance


system refresh (db restore) on oracle RAC

$
0
0

Hi Gurus,

 

     we are facing a scenario of system refresh from PRD to QAS, our systems (ECC ehp 5) are in Oracle RAC 11.0.2.4  (with file system, no asm)

 

     we have an application server in one host, centran instances in other host and the database in the RAC,

 

     we want to use a oracle backup taked by RMAN, so we want to restore the prod database to our QAS database, then rename the database and      finally perform the sap post activities.


     do you known any sap document that we can follow ? a step by step guide/ note that can help us ?


Regards

    

    

How to run a rezing in table space by BRTOOLS

$
0
0

analysts,

 

 

Could someone help me make rezing by BRTOOLS

Oracle upgrade 10.2g to 11g

$
0
0

Hi

 

I have an ides system installed on Oracle 10.2g.

Is it possible to upgrade to 11gR2 without using SAP's packages.

 

I have installables on Oracle 11gR2.

I have tried it for test purpose, installed the 11g and now while running the DBUA, I get the error that ORA-01507 database not mounted.

Please guide

Redo log buffer 2228 < 4000 - 2,228 < 4000 redo entries

$
0
0

Hi experts ,

 

I am getting following error in Oracle ( 11.2.0.3)

 

Redo log buffer 2228 < 4000 - 2,228 < 4000 redo entries

 

When I run sql for redo buffer allocation retries, I get as below

SELECT NAME, VALUE FROM V$SYSSTAT WHERE NAME = 'redo buffer allocation retries';

 

NAME                                                                  VALUE

---------------------------------------------------------------- ----------

redo buffer allocation retries                                        74955

 

Everyday it increases by 200

 

Current LOG_BUFFER size is 20MB

 

show parameter LOG_BUFFER;

NAME                                 TYPE        VALUE

------------------------------------ ----------- ------------------------------

log_buffer                           integer     19955712

 

 

How should I resolve this issue ? by increase LOG_BUFFER size ? How do I calculate optimal size ?

Does BRBACKUP support RMAN incrementally updated backups ?

Viewing all 1892 articles
Browse latest View live




Latest Images