Block /as sysdba

Dear All,
Can we block /as sysdba?
Thanks all,
Regards

also by doing this below.
change or add the parameter in the sqlnet.ora file to none
sqlnet.authentication_services = (NONE)
expect correct password no one can access;
try this
then Check;
SQL> SELECT * FROM V$PWFILE_USERS;
try this:-
conn sys/any_password(or)word as sysdba
eg:
conn sys/oracle as sysdba;
connected
conn any_normal_User/pwd as sysdba;
show user;
after changing the sqlnet.ora parameter to none try.
conn any_normal_user/pwd as sysdba;
conn sys/any_pwd as sysdba;
conn sys/correct_pwd as sysdba;
refer the link:
Re: changing password for the sys user

Similar Messages

  • Disable "/as sysdba"

    Hi,
    I need disable "/as sysdba" Authentication in windows server 2003. only given sys as sysdba and password only allow.

    by doing this below.
    change or add the parameter in the sqlnet.ora file to none
    sqlnet.authentication_services = (NONE)
    expect correct password no one can access;
    try this
    then Check;
    SQL> SELECT * FROM V$PWFILE_USERS;
    try this:-
    conn sys/any_password(or)word as sysdba
    eg:
    conn sys/oracle as sysdba;
    connected
    conn any_normal_User/pwd as sysdba;
    show user;
    after changing the sqlnet.ora parameter to none try.
    conn any_normal_user/pwd as sysdba;
    conn sys/any_pwd as sysdba;
    conn sys/correct_pwd as sysdba;
    refer the link:
    Re: block /as sysdba
    Re: changing password for the sys user

  • Sys password for windows

    hi,
    cna you let me know how to block / as sysdba entry in the windows box.
    Actually i am able to login to the remote machine with the sys id. but unable to login to the local machine with the sys id or / as sysdba.
    i have checked teh sqlnet.ora file.
    sqlnet_authentication_services=nts
    Hope by commenting this field wont allow to login directly as / as sysdba.
    can you help me why / as sysdba didnt work wheni logged into the local machine
    thanks in advance
    cgprasad

    Hallo,
    as far as I know the Windows Group ORA_DBA is responsible for your problem. Every User in ORA_DBA Group is able to login as SYS without correct password.
    HTH,
    juergen_klinsmann

  • ORA-00349: failure obtaining block size for '+Z'  in Oracle XE

    Hello,
    I am attempting to move the online redo log files to a new flash recovery area location created on network drive "Z" ( Oracle Database 10g Express Edition Release 10.2.0.1.0).
    When I run @?/sqlplus/admin/movelogs; in SQL*Plus as a local sysdba, I get the following errors:
    ERROR at line 1:
    ORA-00349: failure obtaining block size for '+Z'
    ORA-06512: at line 14
    Please let me know how to go about resolving this issue.
    Thank you.
    See below for detail:
    Connected.
    SQL> @?/sqlplus/admin/movelogs;
    SQL> Rem
    SQL> Rem $Header: movelogs.sql 19-jan-2006.00:23:11 banand Exp $
    SQL> Rem
    SQL> Rem movelogs.sql
    SQL> Rem
    SQL> Rem Copyright (c) 2006, Oracle. All rights reserved.
    SQL> Rem
    SQL> Rem NAME
    SQL> Rem movelogs.sql - move online logs to new Flash Recovery Area
    SQL> Rem
    SQL> Rem DESCRIPTION
    SQL> Rem This script can be used to move online logs from old online
    log
    SQL> Rem location to Flash Recovery Area. It assumes that the database
    SQL> Rem instance is started with new Flash Recovery Area location.
    SQL> Rem
    SQL> Rem NOTES
    SQL> Rem For use to rename online logs after moving Flash Recovery
    Area.
    SQL> Rem The script can be executed using following command
    SQL> Rem sqlplus '/ as sysdba' @movelogs.sql
    SQL> Rem
    SQL> Rem MODIFIED (MM/DD/YY)
    SQL> Rem banand 01/19/06 - Created
    SQL> Rem
    SQL>
    SQL> SET ECHO ON
    SQL> SET FEEDBACK 1
    SQL> SET NUMWIDTH 10
    SQL> SET LINESIZE 80
    SQL> SET TRIMSPOOL ON
    SQL> SET TAB OFF
    SQL> SET PAGESIZE 100
    SQL> declare
    2 cursor rlc is
    3 select group# grp, thread# thr, bytes/1024 bytes_k
    4 from v$log
    5 order by 1;
    6 stmt varchar2(2048);
    7 swtstmt varchar2(1024) := 'alter system switch logfile';
    8 ckpstmt varchar2(1024) := 'alter system checkpoint global';
    9 begin
    10 for rlcRec in rlc loop
    11 stmt := 'alter database add logfile thread ' ||
    12 rlcRec.thr || ' size ' ||
    13 rlcRec.bytes_k || 'K';
    14 execute immediate stmt;
    15 begin
    16 stmt := 'alter database drop logfile group ' || rlcRec.grp;
    17 execute immediate stmt;
    18 exception
    19 when others then
    20 execute immediate swtstmt;
    21 execute immediate ckpstmt;
    22 execute immediate stmt;
    23 end;
    24 execute immediate swtstmt;
    25 end loop;
    26 end;
    27 /
    declare
    ERROR at line 1:
    ORA-00349: failure obtaining block size for '+Z'
    ORA-06512: at line 14
    Can someone point me in the right direction as to what I may be doing wrong here - Thank you!

    888442 wrote:
    I am trying to drop and recreate ONLINE redo logs on my STANDB DATABASE (11.1.0.7)., but i am getting the below error.
    On primary, we have done the changes., ie we added new logfile with bigger size and 3 members. When trying to do the same on Standby we are getting this error.
    Our database is in Active DG Read only mode and the oracle version is 11.1.0.7.
    I have deffered the log apply and cancelled the managed recovery, and dg is in manual mode.
    SQL> alter database Add LOGFILE GROUP 4 ('+DT_DG1','+DT_DG2','+DT_DG3') SIZE 1024M;
    alter database Add LOGFILE GROUP 4 ('+DT_DG1','+DT_DG2','+DT_DG3') SIZE 1024M
    ERROR at line 1:
    ORA-00349: failure obtaining block size for '+DT_DG1'First why you are dropping & recreating online redo log files on standby.
    On standby only standby redo log files will be used. Not sure what you are trying to do.
    here is example how to create online redo log files, Check that diskgroup is mounted and have sufficient space to create.
    sys@ORCL> select member from v$logfile;
    MEMBER
    C:\ORACLE\ORADATA\ORCL\REDO03.LOG
    C:\ORACLE\ORADATA\ORCL\REDO02.LOG
    C:\ORACLE\ORADATA\ORCL\REDO01.LOG
    sys@ORCL> alter database add logfile group 4 (
      2     'C:\ORACLE\ORADATA\ORCL\redo_g01a.log',
      3     'C:\ORACLE\ORADATA\ORCL\redo_g01b.log',
      4     'C:\ORACLE\ORADATA\ORCL\redo_g01c.log') size 10m;
    Database altered.
    sys@ORCL> select member from v$logfile;
    MEMBER
    C:\ORACLE\ORADATA\ORCL\REDO03.LOG
    C:\ORACLE\ORADATA\ORCL\REDO02.LOG
    C:\ORACLE\ORADATA\ORCL\REDO01.LOG
    C:\ORACLE\ORADATA\ORCL\REDO_G01A.LOG
    C:\ORACLE\ORADATA\ORCL\REDO_G01B.LOG
    C:\ORACLE\ORADATA\ORCL\REDO_G01C.LOG
    6 rows selected.
    sys@ORCL>
    Your profile:-
    888442      
         Newbie
    Handle:      888442
    Status Level:      Newbie
    Registered:      Sep 29, 2011
    Total Posts:      12
    Total Questions:      8 (7 unresolved)
    Close the threads if answered, Keep the forum clean.

  • ORA-00333: redo log read error block

    ORA-01033: ORACLE initialization or shutdown in progress ...
    / as sysdba
    SQL> shutdown immediate;
    SQL> startup nomount;
    SQL> alter database mount;
    SQL> alter database open;
    ORA-00333: redo log read error block 8299 count 8192
    SQL> SELECT * FROM V$VERSION;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> select group#,members,THREAD, STATUS,ARCHIVED,BYTES,FIRST_TIME,FIRST_CHAGE#,SEQUENCE# from v$log;
    GROUP# MEMBERS,THREAD,STATUS,ARCHIVED,BYTES,FIRST_TIME,FIRST_CHAGE#,SEQUENCE#
    1 1 1 CURRENT NO 52428800 29-FEB-12 1597643 57
    2 1 1 INACTIVE NO 52428800 29-FEB-12 1573462 56
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Feb 29 19:46:38 2012
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 56 Reading mem 0
    Mem# 0 errs 0: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_7LZYZK8S_.LOG
    Wed Feb 29 19:46:40 2012
    Completed redo application
    Wed Feb 29 19:46:40 2012
    Completed crash recovery at
    Thread 1: logseq 56, block 6568, scn 1597642
    270 data blocks read, 270 data blocks written, 1460 redo blocks read
    Wed Feb 29 19:46:43 2012
    Thread 1 advanced to log sequence 57
    Thread 1 opened at log sequence 57
    Current log# 2 seq# 57 mem# 0: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_7LZYZL5V_.LOG
    Successful open of redo thread 1
    Wed Feb 29 19:46:43 2012
    SMON: enabling cache recovery
    Wed Feb 29 19:46:55 2012
    Successfully onlined Undo Tablespace 1.
    Wed Feb 29 19:46:55 2012
    SMON: enabling tx recovery
    Wed Feb 29 19:46:56 2012
    Database Characterset is AL32UTF8
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=19, OS id=3024
    Wed Feb 29 19:47:09 2012
    Completed: alter database open
    Wed Feb 29 19:47:14 2012
    db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Wed Feb 29 20:33:30 2012
    MMNL absent for 1537 secs; Foregrounds taking over
    Wed Feb 29 20:33:31 2012
    MMNL absent for 1540 secs; Foregrounds taking over
    Wed Feb 29 20:33:31 2012
    MMNL absent for 1540 secs; Foregrounds taking over
    MMNL absent for 1540 secs; Foregrounds taking over
    Wed Feb 29 20:33:32 2012
    MMNL absent for 1540 secs; Foregrounds taking over
    Wed Feb 29 20:33:33 2012
    MMNL absent for 1540 secs; Foregrounds taking over
    Wed Feb 29 21:45:24 2012
    MMNL absent for 4318 secs; Foregrounds taking over
    MMNL absent for 4318 secs; Foregrounds taking over
    MMNL absent for 4322 secs; Foregrounds taking over
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Feb 29 22:30:01 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows XP Version V5.1 Service Pack 3, v.3244
    CPU : 2 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:3097M/3546M, Ph+PgF:5143M/5429M, VA:1943M/2047M
    Wed Feb 29 22:30:01 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    sessions = 49
    __shared_pool_size = 201326592
    __large_pool_size = 8388608
    __java_pool_size = 4194304
    __streams_pool_size = 0
    spfile = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
    sga_target = 805306368
    control_files = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
    __db_cache_size = 587202560
    compatible = 10.2.0.1.0
    db_recovery_file_dest = C:\oraclexe\app\oracle\flash_recovery_area
    db_recovery_file_dest_size= 10737418240
    undo_management = AUTO
    undo_tablespace = UNDO
    remote_login_passwordfile= EXCLUSIVE
    dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
    shared_servers = 4
    local_listener = (ADDRESS=(PROTOCOL=TCP)(HOST=winsp3ue)(PORT=1522))
    job_queue_processes = 4
    audit_file_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
    background_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
    user_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
    core_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
    db_name = XE
    open_cursors = 300
    os_authent_prefix =
    pga_aggregate_target = 268435456
    PMON started with pid=2, OS id=2176
    PSP0 started with pid=3, OS id=2204
    MMAN started with pid=4, OS id=2208
    DBW0 started with pid=5, OS id=2212
    LGWR started with pid=6, OS id=2220
    CKPT started with pid=7, OS id=2240
    SMON started with pid=8, OS id=2460
    RECO started with pid=9, OS id=2464
    CJQ0 started with pid=10, OS id=2480
    MMON started with pid=11, OS id=2484
    Wed Feb 29 22:30:02 2012
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=12, OS id=2492
    Wed Feb 29 22:30:02 2012
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Wed Feb 29 22:30:02 2012
    alter database mount exclusive
    Wed Feb 29 22:30:06 2012
    Setting recovery target incarnation to 2
    Wed Feb 29 22:30:06 2012
    Successful mount of redo thread 1, with mount id 2657657770
    Wed Feb 29 22:30:06 2012
    Database mounted in Exclusive Mode
    Completed: alter database mount exclusive
    Wed Feb 29 22:30:07 2012
    alter database open
    Wed Feb 29 22:30:07 2012
    Beginning crash recovery of 1 threads
    Wed Feb 29 22:30:07 2012
    Started redo scan
    Wed Feb 29 22:30:15 2012
    Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2544.trc:
    ORA-00333: redo log read error block 10347 count 6144
    ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_7LZYZL5V_.LOG'
    ORA-27070: async read/write failed
    OSD-04016: Error queuing an asynchronous I/O request.
    O/S-Error: (OS 23) Data error (cyclic redundancy check).
    Waiting for Help
    Regards

    Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2544.trc:
    ORA-00333: redo log read error block 10347 count 6144
    ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_7LZYZL5V_.LOG'
    ORA-27070: async read/write failed
    OSD-04016: Error queuing an asynchronous I/O request.
    O/S-Error: (OS 23) Data error (cyclic redundancy check).Might your redo log file is corrupted or not exist, check physically. -> C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_7LZYZL5V_.LOG
    is it archivelog mode?
    perform fake recovery and open resetlogs.

  • ORA-00204: error in reading (block string, # blocks string) of controlfile

    dear all
    when i start db
    with command  sqlplus "/as sysdba" 
    at the end it generate an error
    C:\Documents and Settings\idsadm>sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Oct 20 12:47:37 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  557842432 bytes
    Fixed Size                  1250140 bytes
    Variable Size             289410212 bytes
    Database Buffers          264241152 bytes
    Redo Buffers                2940928 bytes
    ORA-00204: error in reading (block 3, # blocks 50) of control file
    ORA-00202: control file: 'F:\ORACLE\IDS\SAPDATA1\CNTRL\CNTRLIDS.DBF'
    ORA-27091: unable to queue I/O
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 23) Data error (cyclic redundancy check).

    dear karan & all
    i have copied "control file" from another location but now it generate an error
    SQL> startup
    ORACLE instance started.
    Total System Global Area  557842432 bytes
    Fixed Size                  1250140 bytes
    Variable Size             289410212 bytes
    Database Buffers          264241152 bytes
    Redo Buffers                2940928 bytes
    ORA-00211: control file does not match previous control files
    ORA-00202: control file: 'F:\ORACLE\IDS\SAPDATA1\CNTRL\CNTRLIDS.DBF'
    SQL>
    now tell me what can i do
    regard

  • Error 12528, instance BLOCKED, and ORA-01033 error

    I'm a student, just getting started with Oracle, and my teacher is not very helpful with the install/running problems that I'm having with Oracle.
    I installed Oracle 11g Express a week ago, and upon installing it, the software worked just fine. I was able to create connections and write basic select statements to get data from a database provided by the manufacturer of my textbook.
    Now, when I try to connect to the database, I get an error that says "ORA_12528, TNS:listener: all appropriate instances are blocking new connections."
    I did a little research on how to fix this, and got into the listener to see its status. Here's what it says:
    LSNRCTL> status
    Connection to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
    Start Date 28-MAR_2012 09:45:21
    Uptime 0 days 0 hr. 21 min. 19 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\PC325862970629\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PC325862970629)(PORT=1521)
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance"xe", status BLOCKED, has 1 handler(s) for this service...
    This command completed successfully
    LSNRCTL>
    I also looked at the Listener Log File (although most of what I saw makes no sense to me, and it was pretty long)... here's what appears to be the last chunk of the log file:
    <msg time='2012-03-28T09:45:23.468-07:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='PC325862970629'
    host_addr='10.10.10.10'>
    <txt>Listener completed notification to CRS on start
    </txt>
    </msg>
    <msg time='2012-03-28T09:45:23.484-07:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='PC325862970629'
    host_addr='10.10.10.10'>
    <txt>
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    </txt>
    </msg>
    <msg time='2012-03-28T09:46:01.203-07:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='PC325862970629'
    host_addr='10.10.10.10'>
    <txt>Dynamic address is already listened on (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PC325862970629)(PORT=1521)))
    </txt>
    </msg>
    <msg time='2012-03-28T09:46:01.218-07:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='PC325862970629'
    host_addr='10.10.10.10'>
    <txt>28-MAR-2012 09:46:01 * service_register * xe * 0
    </txt>
    </msg>
    <msg time='2012-03-28T09:46:02.796-07:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='PC325862970629'
    host_addr='10.10.10.10'>
    <txt>28-MAR-2012 09:46:02 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-03-28T09:49:38.250-07:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='PC325862970629'
    host_addr='10.10.10.10'>
    <txt>28-MAR-2012 09:49:38 * (CONNECT_DATA=(SID=xe)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1047)) * establish * xe * 12528
    </txt>
    </msg>
    <msg time='2012-03-28T09:49:38.750-07:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='PC325862970629'
    host_addr='10.10.10.10'>
    <txt>TNS-12528: TNS:listener: all appropriate instances are blocking new connections
    </txt>
    </msg>
    <msg time='2012-03-28T09:56:04.218-07:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='PC325862970629'
    host_addr='10.10.10.10'>
    <txt>28-MAR-2012 09:56:04 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-03-28T10:05:35.343-07:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='PC325862970629'
    host_addr='10.10.10.10'>
    <txt>28-MAR-2012 10:05:35 * (CONNECT_DATA=(SID=xe)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1147)) * establish * xe * 12528
    </txt>
    </msg>
    <msg time='2012-03-28T10:05:35.812-07:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='PC325862970629'
    host_addr='10.10.10.10'>
    <txt>TNS-12528: TNS:listener: all appropriate instances are blocking new connections
    </txt>
    </msg>
    <msg time='2012-03-28T10:06:40.453-07:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='PC325862970629'
    host_addr='10.10.10.10'>
    <txt>28-MAR-2012 10:06:40 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Admin))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * status * 0
    </txt>
    </msg>
    <msg time='2012-03-28T10:26:03.890-07:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='PC325862970629'
    host_addr='10.10.10.10'>
    <txt>28-MAR-2012 10:26:03 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Admin))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * status * 0
    </txt>
    </msg>
    <msg time='2012-03-28T10:26:14.968-07:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='PC325862970629'
    host_addr='10.10.10.10'>
    <txt>28-MAR-2012 10:26:14 * (CONNECT_DATA=(SID=xe)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1164)) * establish * xe * 12528
    </txt>
    </msg>
    <msg time='2012-03-28T10:26:15.062-07:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='PC325862970629'
    host_addr='10.10.10.10'>
    <txt>TNS-12528: TNS:listener: all appropriate instances are blocking new connections
    </txt>
    </msg>
    After doing more googling, I found someone suggested that logging on to SQL*Plus as sysdba and then shutting down and restarting the database might do something to fix this, but when I try to log in it doesn't work... here's what I see in SQL*Plus:
    SQL> connect / as sysdba
    ERROR:
    ORA-28056: Writing audit records to Windows Event Log failed
    OSD-196787312: Message 196787312 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) The event log file is full.
    ORA-01075: you are currently logged on
    SQL> connect
    Enter User0name: sysdba
    Enter password:
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL>
    I have no idea what's going on here, and unfortunately, since I'm a student and have just started with Oracle, I can't seem to make heads or tails of most of what I'm finding on the forums here (and most of the threads that seem pertinent are 6 or more years old).
    If anyone out there can help me, I'd greatly appreciate it! Thanks in advance!
    --Kate                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Srini -
    I did take a look at the link you posted and I tried to do what it said, but I don't really know what to make of what I found. When I run services.msc I find the following are running:
    OracleJobSchedulerXE, OracleMTSRecoveryService, OracleServiceXE, OraclexEClrAgent, and OracleXETNSLisnener
    So it appears that the Oracle Service is running... probably not the problem.
    With regards to the logs, I don't know how to do what you suggested (make the log bigger, allow for overwrites, etc.).
    I tried to follow the suggestions from the link you posted and get into the event viewer, but when I enter "eventviewer" in the run window my machine can't find it. I tried other methods I found online to get into the event viewer, but it appears as though my computer doesn't offer me access to it (or simply doesn't have that capability). Are there other ways to clear old logs? Can I just open it as a text file and delete the contents? I don't want to make a mess out of things, and I really don't know what I'm doing so any guidance would be appreciated.
    Thanks!
    --Kate                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Data Block Corruption

    I'm on 9i R2 Patch 7 on a Microsoft Windows Server 2003.
    How do you fix data block corruption in a Table?
    Is the some way to retrieve the data from the Table drop it then recreate and reimport the data?
    or do you have to succumb with restoring the Database from the last known good backup?

    Hey, you can do the BMR (Block Media Recovery).
    Since block corruption is to few subsets of blocks, i.e. a single table, you dont need to restore from the previous valid backup, you can simply do the following to achieve BMR.
    Connect to rman and run the following:
    run{ backup validate database};
    Once the above commend is finishes, exit from RMAN and connect to the database as / as sysdba and use the following view to know the details required for BMR.
    select * from V$backup_corruption;
    The above queries gives you file# and block# information. Once you have the information do the BMR using following command at the RMAN prompt:
    run {blockrecover datafile # block #};
    # : indicated the datafile number and block number from the above view.
    Let me know if you have any further issues.
    You can also use view V$DATABASE_BLOCK_CORRUPTION to view the file# and corrupted blocks information.
    Jaffar

  • Blocks behaving differently.

    Hi,
    DB 9.2.0.1.
    I am running the following anonymous block, but it's not executing the way, it should. Like I am assigning create table privililege by executing this block , according to me it should executed, but when I run this, the control takes it to last dbms_output and throws an error. Also, I like to add one more functionality by adding one more list which, when executed should throw a massage that the privilige to be assingned through role and not Direct. I've tried to add this functionality, but failed to do so, because of little knowledge of pl/sql. please help me to solve this issue.
    SQL> SET SERVEROUTPUT ON
    SQL> DECLARE
      2     v_need_to_assign VARCHAR2(200) := '&ENTER_PRIVILEGE';
      3     v_user           VARCHAR2(30)  := '&USER';
      4
      5     FUNCTION fnc_check_grant(p_grant IN VARCHAR2) RETURN BOOLEAN ISout
      6        TYPE t_list IS TABLE  OF NUMBER INDEX BY VARCHAR2(30);
      7        TYPE t_list1 IS TABLE OF NUMBER INDEX BY VARCHAR2(30);
      8        v_not_allowed_permission t_list;
      9        v_allowed_permission     t_list1;
    10     BEGIN
    11        -- Register not allowed grants
    12        v_not_allowed_permission('SYSDBA') := 1;
    13        v_not_allowed_permission('CREATE SESSION') := 1;
    14
    15        -- Register allowed grants
    16        v_allowed_permission('CREATE TABLE') := 2;
    17
    18        BEGIN
    19           IF v_not_allowed_permission(p_grant) = 1 THEN
    20              RETURN FALSE;
    21           END IF;
    22        EXCEPTION
    23           WHEN NO_DATA_FOUND THEN
    24              NULL;
    25        END;
    26
    27        IF v_allowed_permission(p_grant) = 2 THEN
    28           RETURN TRUE;
    29  --DBMS_OUTPUT.PUT_LINE('The Privilge has been granted');
    30        END IF;
    31    EXCEPTION
    32        WHEN NO_DATA_FOUND THEN
    33           RETURN FALSE;
    34     END fnc_check_grant;
    35  --DBMS_OUTPUT.PUT_LINE('Testing');
    36   BEGIN
    37      BEGIN
    38        IF fnc_check_grant(v_need_to_assign) THEN
    39           DBMS_OUTPUT.PUT_LINE('GRANTING PRIVILEGE' ||v_need_to_assign || 'to '||v_user);
    40   EXECUTE IMMEDIATE 'GRANT ' || v_need_to_assign || ' to ' || v_user;
    41        ELSE
    42           DBMS_OUTPUT.PUT_LINE('GRANT ' || v_need_to_assign || ' to ' || v_user || ' not allowed');
    43        END IF;
    44  EXCEPTION
    45        WHEN OTHERS THEN
    46   DBMS_OUTPUT.PUT_LINE('THE PRIVELEGE ' || v_need_to_assign ||' HAS BEEN GRANTED TO ' || v_user || ' has errors')
    47     END;
    48  END;
    49  /
    Enter value for enter_privilege: CREATE TABLE
    old   2:    v_need_to_assign VARCHAR2(200) := '&ENTER_PRIVILEGE';
    new   2:    v_need_to_assign VARCHAR2(200) := 'CREATE TABLE';
    Enter value for user: TEST3
    old   3:    v_user           VARCHAR2(30)  := '&USER';
    new   3:    v_user           VARCHAR2(30)  := 'TEST3';
    GRANTING PRIVILEGECREATE TABLEto TEST3
    THE PRIVELEGE CREATE TABLE HAS BEEN GRANTED TO TEST3 has errors
    PL/SQL procedure successfully completed.hare krishna

    Hi Amit,
    Thanks for trying to format you code. If you use indentation, you will notice that your flow is probably flawed.
    SET SERVEROUTPUT ON
    declare
       v_need_to_assign   varchar2(200) := '&ENTER_PRIVILEGE';
       v_user             varchar2(30) := '&USER';
       no_granted_exception exception;
       no_granted_exception1 exception;
       function fnc_check_grant(p_grant in varchar2)
          return boolean
       is
          type t_list
          is
             table of number
                index by varchar2(30);
          type t_list1
          is
             table of number
                index by varchar2(30);
          type t_list2
          is
             table of number
                index by varchar2(30);
          v_not_allowed_permission   t_list;
          v_allowed_permission       t_list1;
          v_allowed_to_role          t_list2;
       begin
          -- Register not allowed grants
          v_not_allowed_permission('SYSDBA') := 1;
          v_not_allowed_permission('CREATE SESSION') := 1;
          -- Register allowed grants
          v_allowed_permission('CREATE TABLE') := 2;
          -- Register alloewd through role.
          v_allowed_to_role('CREATE TYPE') := 3;
          begin
             if v_not_allowed_permission(p_grant) = 1
             then
                return false;
             end if;
          exception
             when no_data_found
             then
                null;
          end;
          if v_allowed_permission(p_grant) = 2
          then
             return true;
          end if;
       exception
          when no_data_found
          then
             return false;
             begin
                if v_allowed_to_role(p_grant) = 3
                then
                   return false;
                end if;
             exception
                when no_data_found
                then
                   null;
             end;
       end fnc_check_grant;
    begin
       begin
          if fnc_check_grant(v_need_to_assign)
          then
             dbms_output.put_line(   'GRANTING PRIVILEGE '
                                  || v_need_to_assign
                                  || ' to '
                                  || v_user);
             execute immediate 'GRANT ' || v_need_to_assign || ' to ' || v_user;
          else
             raise no_granted_exception;
          end if;
       exception
          when no_granted_exception
          then
             dbms_output.put_line(   'GRANT '
                                  || v_need_to_assign
                                  || ' to '
                                  || v_user
                                  || ' not allowed');
             begin
                if fnc_check_grant(v_need_to_assign)
                then
                   null;
                else
                   raise no_granted_exception1;
                end if;
             exception
                when no_granted_exception1
                then
                   dbms_output.put_line(   'GRANT '
                                        || v_need_to_assign
                                        || ' to '
                                        || v_user
                                        || ' is only allowed through role');
                when others
                then
                   dbms_output.put_line(sqlerrm);
             end;
       end;
    end;
    /When handling no_granted_exception, you repeat your call to fnc_check_grant (which again will return false).
    You function, itself is also flawed. In the handling of NO_DATA_FOUND you immediately return, so the next lines are not executed
    exception
          when no_data_found
          then
             return false;
             begin
                if v_allowed_to_role(p_grant) = 3
                then
                   return false;
                end if;
             exception
                when no_data_found
                then
                   null;
             end;So you always get both lines outputted
    Regards
    Peter

  • Authentication error as sysdba privilege

    Friends ,
    In my Redhat Ent Linux 5 server I have to face the below problem while I am connectiong to the database as sysdba privileges :
    [oracle@localhost ~]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Aug 27 13:41:07 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name:
    My sqlnet.ora file configuration is :
    [oracle@localhost admin]$ cat sqlnet.ora
    # sqlnet.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    Any body plz help me to solve this problem ?

    Shipon_97,
    Please make sure your network administrator didn't block http://tahiti.oracle.com
    Please go to http://tahiti.oracle.com and look for ORA-1031
    It contains the answer to this doc question, and all the other doc questions you have been asking so far.
    Please make sure you re-read the Forums Etiquette post and kindly stop your gross abuse of this forum by asking questions for which you can find the answer yourself without effort.
    Sybrand Bakker
    Senior Oracle DBA

  • ORA-00333: redo log read error block 65538 count 8192

    Hi,
    I wanted to alter user hr's password, but I couldn't open the database first. What should I do? Here is my demo: Thank you for your response.
    C:\>sqlplus /nolog
    SQL*Plus: Release 9.2.0.1.0 - Production on Sun May 16 12:12:43 2004
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> connect sys/oracle as sysdba
    Connected.
    SQL> show user
    USER is "SYS"
    SQL> select * from v$controlfile;
    STATUS
    NAME
    C:\ORACLE\ORADATA\SARAH\CONTROL01.CTL
    C:\ORACLE\ORADATA\SARAH\CONTROL02.CTL
    C:\ORACLE\ORADATA\SARAH\CONTROL03.CTL
    SQL> select * from dba_users;
    select * from dba_users
    ERROR at line 1:
    ORA-01219: database not open: queries allowed on fixed tables/views only
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-00333: redo log read error block 65538 count 8192
    SQL> desc v$instance
    Name Null? Type
    INSTANCE_NUMBER NUMBER
    INSTANCE_NAME VARCHAR2(16)
    HOST_NAME VARCHAR2(64)
    VERSION VARCHAR2(17)
    STARTUP_TIME DATE
    STATUS VARCHAR2(12)
    PARALLEL VARCHAR2(3)
    THREAD# NUMBER
    ARCHIVER VARCHAR2(7)
    LOG_SWITCH_WAIT VARCHAR2(11)
    LOGINS VARCHAR2(10)
    SHUTDOWN_PENDING VARCHAR2(3)
    DATABASE_STATUS VARCHAR2(17)
    INSTANCE_ROLE VARCHAR2(18)
    ACTIVE_STATE VARCHAR2(9)
    SQL> select instance_name, status from v$instance;
    INSTANCE_NAME STATUS
    sarah MOUNTED
    SQL>
    *******************************

    I did what Prabhu told me..But i recovered using backup controlfile and when i was asked to apply logs..i applied my oldest logs and it worked
    Like i have two groups with two members each
    I applied log1a.dbf and it said media recovery completee
    I opened the database But then it started giving me errors for undo tablespace
    I made another undo tablespace..tried dropping the old one but it did not permitted as it had some segments with status "needs recovery"
    Than i added this parameter in pfile with the correupted segment and than tried to drop the segment but it still did not permit
    corruptedrollback_segments =(corrupted_undo segment_name)
    Next what i did was I mounted the database, ran another session of media recovery and opened the databse using resetlogs
    Than i dropped the old undo and it went through successfully..
    If you think anything i did wrong than please advice..
    I hope this action plans helps you in case you come across same errors some day
    I would be very thankful if you can refer me a document of recovery which covers all kinds of recoveries and scenarios and commands too
    Thanks alot

  • Status BLOCKED for instance - is it bad?

    Hi,
    1st of all please forgive me if such a topic exists being solved, give me a link then, I could't find...
    1) I encountered strange problem when issuing lsnrctl status (the problematic lines are bold):
    /home/oracle> lsnrctl status
    LSNRCTL for Solaris: Version 10.1.0.3.0 - Production on 16-JAN-2007 21:16:16
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ora)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Solaris: Version 10.1.0.3.0 - Production
    Start Date 03-DEC-2006 07:47:28
    Uptime 44 days 13 hr. 28 min. 47 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/OraHome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/OraHome_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=a)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=a)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=a)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "B" has 1 instance(s).
    Instance "B", status READY, has 1 handler(s) for this service...
    Service "BXDB" has 1 instance(s).
    Instance "B", status READY, has 1 handler(s) for this service...
    Service "Oracle8" has 1 instance(s).
    Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "d.zone1" has 1 instance(s).
    Instance "d", status UNKNOWN, has 1 handler(s) for this service...
    Service "a" has 3 instance(s).
    Instance "a", status UNKNOWN, has 1 handler(s) for this service...
    Instance "a", status READY, has 1 handler(s) for this service...
    Instance "a", status BLOCKED, has 1 handler(s) for this service...
    Service "aXDB" has 1 instance(s).
    Instance "a", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Is this state ok? I mean: are these three instances at the same time good? And what does it mean?
    When, for example, I try to use exp I get error:
    EXP-00056: ORACLE error 1033 encountered
    ORA-01033: ORACLE initialization or shutdown in progress
    and I think the problem is in these 3 instances. My listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/OraHome_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = d.zone1)
    (ORACLE_HOME = /u01/app/oracle/OraHome_1)
    (SID_NAME = d)
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle8)
    (ORACLE_HOME = /u01/app/oracle/OraHome_1)
    (SID_NAME = ORCL)
    (SID_DESC =
    (GLOBAL_DBNAME = a)
    (ORACLE_HOME = /u01/app/oracle/OraHome_1)
    (SID_NAME = a)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    2) And one more: my listener.log is now 1260M big. Can I rename it to e.g. listener.old and create new one (as oracle user: touch listener.log)? Do I have to stop listener?
    Thanks in advance, if more info is needed, give me a sign.
    Reveler
    Message was edited by:
    reveler

    Yeap, I've restarted lsnrctl. And I can see the new file is growing, so this problem is solved, thanks again.
    As to sqlplus: it seems to work ok:
    ==========================
    /home/oracle> sqlplus / as sysdba
    SQL*Plus: Release 10.1.0.3.0 - Production on Wed Jan 17 15:17:45 2007
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Release 10.1.0.3.0 - Production
    ==========================
    The problem occurs if I try eg.:
    ==========================
    /home/oracle> exp
    Export: Release 10.1.0.3.0 - Production on Wed Jan 17 15:19:35 2007
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Username: sys
    Password:
    EXP-00056: ORACLE error 1033 encountered
    ORA-01033: ORACLE initialization or shutdown in progress
    ==========================
    In fact our application connecting to "a" works well, no user has reported a problem. But these 3 instances are still a stone in my eye :) and I'm not sure if in the future other application won't say "sorry", like exp says it now....
    Thanks for help,
    Reveler

  • How to enable block change tracking with pfile

    Hello
    I want to use enable block change tracking (for fast incremental RMAN backup). kindly advice how can i use this parameter using pfile.
    Thanks
    Krishna

    Krishna Agnihotri wrote:
    Hello
    I want to use enable block change tracking (for fast incremental RMAN backup). kindly advice how can i use this parameter using pfile.
    You could have just tried ,
    D:\app\aristadba\product\11.2.0\dbhome_1\database>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 30 10:04:20 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup pfile=initorcl112.ora
    ORACLE instance started.
    Total System Global Area  263639040 bytes
    Fixed Size                  1373964 bytes
    Variable Size             213911796 bytes
    Database Buffers           41943040 bytes
    Redo Buffers                6410240 bytes
    Database mounted.
    Database opened.
    SQL> alter database enable block change tracking using file 'block';
    Database altered.
    SQL>Just to show that the file actually gets created,
    SQL> alter database enable block change tracking using file 'block';
    Database altered.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    D:\app\aristadba\product\11.2.0\dbhome_1\database>dir
    Volume in drive D has no label.
    Volume Serial Number is A408-F176
    Directory of D:\app\aristadba\product\11.2.0\dbhome_1\database
    08/30/2011  10:05 AM        11,600,384 BLOCK
    05/17/2010  10:45 AM             2,048 hc_orcl112.dat
    10/17/2009  01:35 PM             1,015 INITorcl.ORA
    08/30/2011  10:01 AM             1,042 INITorcl112.ORA
                  12 File(s)     21,412,139 bytes
                   3 Dir(s)  17,036,451,840 bytes free
    D:\app\aristadba\product\11.2.0\dbhome_1\database>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 30 10:06:40 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> alter database disable block change tracking;
    Database altered.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    D:\app\aristadba\product\11.2.0\dbhome_1\database>dir
    Volume in drive D has no label.
    Volume Serial Number is A408-F176
    Directory of D:\app\aristadba\product\11.2.0\dbhome_1\database
    08/30/2011  10:06 AM    <DIR>          .
    08/30/2011  10:06 AM    <DIR>          ..
    05/17/2010  08:55 AM    <DIR>          archive
    05/17/2010  10:45 AM             2,048 hc_orcl112.dat
    10/17/2009  01:35 PM             1,015 INITorcl.ORA
    08/30/2011  10:01 AM             1,042 INITorcl112.ORA
    12/22/2005  04:07 AM            31,744 oradba.exe
    08/30/2011  09:05 AM             9,314 oradim.log
    12/24/2009  08:09 PM             1,536 PWDorcl.ora
    08/07/2011  11:00 PM             1,536 PWDorcl112.ora
    04/15/2011  05:52 PM         9,748,480 SNCFORCL112.ORA
    02/10/2011  09:00 PM             3,584 SPFILEORCL.ORA
    08/30/2011  09:59 AM             3,584 SPFILEORCL112.ORA
    02/10/2011  09:07 PM             7,872 upgrade.logAman....
    Edited by: Aman.... on Aug 30, 2011 10:08 AM added 2nd code snippet

  • Block change tracking file error

    Hi,
    when i selected
    "enable block change tracking for faster incremental backups" option under Backup setting policy, and apply it, i get following error
    error: "since the database area is not set you must specify a block change tracking file"
    how can i fix this error.
    1. is it better to provide a block change tracking file, if then how do i do it.
    else
    2.how can i set a database area
    Thanks,
    Philip.

    Hi Anita,
    i have 2 more problems which i have explained below.
    1. i am running my oracle 10g in linux and after starting the listener, when i try to start the database using
    "dbstart" command, i get following error
    "Failed to auto-start Oracle Net Listener using /ade/vikrkuma_new/oracle/bin/tnslsnr"
    i really have no idea what is this error and how to solve this erorr. Can you please help me. i have also posted a separate forum for this with the heading as
    "dbstart" command error
    2. my tnsservice name works sometimes and some other times it does not work at all.
    at sqlplus prompt when i login as
    sys/pwd@orcl as sysdba
    sometimes it works fine, other times it gives me error similar to -- protocol could not identify this service name.
    Thanks,
    Philip.

  • Available blocks in buffer cache

    Hi.
    I need to find available blocks in buffer cache. I can not query x$bh as not sysdba user. Anyone that has an idea how to get this information. I tried query the v$bh view but I can not get it right.
    Anyone with a good idea?
    Rgds
    Kjell OVe

    No,
    When you have a 100m buffer cache, it means you can buffer 100m/8k blocks of your database in cache, and you don't need to read them from disk.
    When the cache gets full Oracle will use a modified Least Recently Used algorithm to determine which blocks can be flushed.
    If the block is unmodified (not dirty) it will simply be removed, if it is modified it will be written to disk.
    When you insert a record (you seem to be really obsessed by this)
    - Oracle will look for free space in the current segment.
    When it finds a block and it is not in cache, it will retrieve this in cache.
    - if there is no space, Oracle will allocate a new extent.
    It will retrieve blocks from the new extent in cache. Simply: each block in the cache has a RBA (relative block address). The RBA points to a block on disk.
    - When it can't allocate an extent, Oracle will try to extend the tablespace (actually the datafile)
    If this doesn't succeed Oracle will raise an error, and send the error number and error text to the client program.
    The failing statement will be rolled back automatically.
    Hth
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for

  • ITunes Match fails to match recently ripped CD. Can I avoid matching this CD?

    I have a CD from a band that is not available on iTunes that I've loaded to my MacBook Pro. As expected iTunes Match can't match this album. As a result, iTunes Match fails to proceed past the third step of the matching process and continously loops.

  • Does anyone know what the difference is in the various dates in LR?

    Does anyone know what the differences are between the following: Date Time Original Date Time Digitalized Date Time I understand that Date Time Original is the capture time and that Date Time is capture time except when the image is a copy of another

  • Does a refurbished iphone 4 lock to the first sim that is put in

    I have just traded in my broken iphone 4 for a refurbished one at the apple store and i want to use, but i'm not sure if i put in my old sim (wich doesn't work but fits) in or wait to get a new one because i'm not sure if it will lock to the first si

  • FTP-Operator in Workflow

    I want to use the ftp-operator in an OWB-Workflow. Thats why i use the OWB as the client to implement the workflow. I want to use a script, that is managed in the owb itself. I configure the ftp operator in this way: COMMAND: /usr/bin/ftp (i can star

  • Forms10gdemos9_0_4_2 - Calendar PJC Demo Error

    Hello All, I downloaded the forms demos from the OTN site and tried to use the calendar.jar file belonging to the Calendar PJC Application in the one that I'd created. Although it worked just fine, when I opened the Java Console It displayed the foll