Set primary database to maximize availability; ORA-02231

Hi Folks,
Today while trying to change Protection Mode for one of my Primary Database i started recieving below provided error codes:
SQL> alter database set primary database to maximize availability;
alter database set primary database to maximize availability
ERROR at line 1:
ORA-02231: missing or invalid option to ALTER DATABASE
When tried to change the Log Export Mode using DGMGRL Command Line it started throwing errors about stanby redo logs:
DGMGRL> edit database 'orcl' set property 'logxptmode'='SYNC';
edit database 'orcl' set property 'logxptmode'='SYNC';
Error: ORA-16789: missing standby redo logs
Details -
OS: Linux Red Hat 5
DB: Oracle 10g r1
Env: VM Machines.
Current Details:
SQL> show parameter log_arc
NAME TYPE VALUE
log_archive_config string DG_CONFIG=orcl
log_archive_dest_1 string location=USE_DB_RECOVERY_FILE_
DEST
SQL> select protection_mode from v$database;
PROTECTION_MODE
MAXIMUM PERFORMANCE
SQL> select status from v$instance;
STATUS
OPEN
Please Assist.
Thanks
Prashant Dixit.

Hi,
I think you must add Standby Redo logfiles .
SQL> ALTER DATABASE ADD STANDBY LOGFILE ('/u01/oracle/ordata/<primary>/log1c.rdo') SIZE 500M;
SQL> ALTER DATABASE ADD STANDBY LOGFILE ('/u01/oracle/ordata/<primary>/log2c.rdo') SIZE 500M;
SQL> ALTER DATABASE ADD STANDBY LOGFILE ('/u01/oracle/ordata/<primary>/log3c.rdo') SIZE 500M;After that you can edit database primary log transport to SYNC and in broker managed data guard you must chage logxptmode to sync on standby ,too
With
DGMGRL> edit database  <primary> set property LogXptMode="SYNC";
DGMGRL> edit database  <standdby> set property LogXptMode="SYNC";
DGMGRL> edit configuration set protection mode AS MAXPROTECTION;
Max protection is require restart  primary database;
DGMGRL> shutdown immediate; -- if connected to  primary
DGMGRL> startup;
DGMGRL> edit configuration set protyection mode as MAXAVAILIBILITY;Regards
Mahir M. Quluzade
www.mahir-quluzade.com
Edited by: Mahir M. Quluzade on Sep 17, 2012 10:07 AM

Similar Messages

  • ORA-02231 error when issue ALTER DATABASE FORCE LOGGING

    Hi,
    Does everybody know why I faced ORA-02231 when issue below command in oracle,
    SQL> ALTER DATABASE FORCE LOGGING;
    ALTER DATABASE FORCE LOGGING
    ERROR at line 1:
    ORA-02231: missing or invalid option to ALTER DATABASE
    SQL> ALTER DATABASE FORCE LOGGING ;
    ALTER DATABASE FORCE LOGGING
    ERROR at line 1:
    ORA-02231: missing or invalid option to ALTER DATABASE
    SQL> ALTER DATABASE FORCE LOGGING
    2
    SQL> ALTER TABLESPACE BIIS FORCE LOGGING
    2 ;
    ALTER TABLESPACE BIIS FORCE LOGGING
    ERROR at line 1:
    ORA-02142: missing or invalid ALTER TABLESPACE option
    I use this oracle version:
    Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production
    PL/SQL Release 9.0.1.1.1 - Production
    CORE 9.0.1.1.1 Production
    TNS for 32-bit Windows: Version 9.0.1.1.0 - Production
    NLSRTL Version 9.0.1.1.1 - Production
    Thanks.

    Hi Jaffar,
    After I checked that you are correct.
    I can issue the command without problem in oracle 9i Rel.2.
    Thanks for your information.
    Tarman.

  • ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exi

    Hi all,
    suddenly our oracle 10g database stopped working. When we tried export the database following was the output
    C:\Documents and Settings\Administrator>EXP PMIS/PMIS FILE=C:\PMIS.DMP
    Export: Release 10.2.0.1.0 - Production on Wed Mar 25 16:15:08 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    EXP-00056: ORACLE error 1034 encountered
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    EXP-00005: all allowable logon attempts failed
    EXP-00000: Export terminated unsuccessfullyalert log file had the output as
    Wed Mar 25 16:02:12 2009
    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 = 71303168
    >__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 = 146800640
    >control_files = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
    >__db_cache_size = 58720256
    >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
    >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 = 41943040
    PMON started with pid=2, OS id=1632
    PSP0 started with pid=3, OS id=1312
    MMAN started with pid=4, OS id=200
    DBW0 started with pid=5, OS id=1864
    LGWR started with pid=6, OS id=188
    CKPT started with pid=7, OS id=1328
    SMON started with pid=8, OS id=1848
    RECO started with pid=9, OS id=1760
    CJQ0 started with pid=10, OS id=1920
    MMON started with pid=11, OS id=768
    MMNL started with pid=12, OS id=948
    Wed Mar 25 16:02:13 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Wed Mar 25 16:02:13 2009
    alter database mount exclusive
    Wed Mar 25 16:02:17 2009
    Setting recovery target incarnation to 2
    Wed Mar 25 16:02:17 2009
    Successful mount of redo thread 1, with mount id 2563569989
    Wed Mar 25 16:02:17 2009
    Database mounted in Exclusive Mode
    Completed: alter database mount exclusive
    Wed Mar 25 16:02:17 2009
    alter database open
    Wed Mar 25 16:02:18 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_lgwr_188.trc:
    ORA-00600: internal error code, arguments: [3700], [1], [15], [2], [2], [], [], []
    Wed Mar 25 16:02:18 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_lgwr_188.trc:
    ORA-00600: internal error code, arguments: [3700], [1], [15], [2], [2], [], [], []
    Wed Mar 25 16:02:18 2009
    LGWR: terminating instance due to error 470
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_dbw0_1864.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_ckpt_1328.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_psp0_1312.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_mman_200.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_pmon_1632.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_reco_1760.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_smon_1848.trc:
    ORA-00470: LGWR process terminated with error
    Instance terminated by LGWR, pid = 188Again when we tried by connecting sqlplus following was output
    SQL> connect sys/manager as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 146800640 bytes
    Fixed Size 1286220 bytes
    Variable Size 83890100 bytes
    Database Buffers 58720256 bytes
    Redo Buffers 2904064 bytes
    Database mounted.
    ORA-03113: end-of-file on communication channelWe actually need database dump for user PMIS, any help would be highly appreciated

    Hi Wim
    You should say that "It may be Control File problem", but you shouldn't say that "it's due to Control File" problem
    Please refer to Errors Documentation for more information on ORA-00600
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e0.htm#sthref371
    ORA-00600: internal error code, arguments: [string], [string], [string], [string], [string], [string], [string], [string]
    Cause: This is the generic internal error number for Oracle program exceptions. This indicates that a process has encountered an exceptional condition.
    Action: Report as a bug - the first argument is the internal error number
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • Use of standby redo log files in primary database

    Hi All,
    What is the exact use of setting up standby redo log files in the primary database on a data guard setup?
    any good documents?

    A standby redo log is required for the maximum protection and maximum availability modes and the LGWR ASYNC transport mode is recommended for all databases. Data Guard can recover and apply more redo data from a standby redo log than from archived redo log files alone.
    You should plan the standby redo log configuration and create all required log groups and group members when you create the standby database. For increased availability, consider multiplexing the standby redo log files, similar to the way that online redo log files are multiplexed.
    refer the link,and Perform the following steps to configure the standby redo log.:-
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i1225703
    If the real-time apply feature is enabled, log apply services can apply redo data as it is received, without waiting for the current standby redo log file to be archived. This results in faster switchover and failover times because the standby redo log files have been applied already to the standby database by the time the failover or switchover begins.
    refer the link
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_apply.htm#i1023371

  • The observer only reinstate the old primary database after startup it twice

    I use Oracle 11g r2 configure a data guard and fast_start fail over (using data guard broker) environment on linux.
    The data guard works fine, and the fail over too.
    The problem is that after fail over, the observer can't reinstate the old primary database to new standby database after start up it to mount, and what strange is that if shutdown (immediate) it again, and start up it to mount again, the reinstating can be completed automatically and successfully.
    I use 'shutdown abort' to simulate the database crash.
    Any one have some advice? Thanks in advance!
    Edited by: user1665703 on 2011-7-27 下午4:33

    There are some strange log in drcorcl.log,
    2011-07-27 16:30:57.702 RSM0: HEALTH CHECK ERROR: ORA-16808: primary database is not open
    2011-07-27 16:30:57.844 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.844 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property LogXptMode found
    ORA-16777 error
    2011-07-27 16:30:57.845 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb
    y database in V$ARCHIVE_DEST
    2011-07-27 16:30:57.845 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.845 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property DelayMins found O
    RA-16777 error
    2011-07-27 16:30:57.845 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb
    y database in V$ARCHIVE_DEST
    2011-07-27 16:30:57.846 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.846 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property Binding found ORA
    -16777 error
    2011-07-27 16:30:57.846 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb
    y database in V$ARCHIVE_DEST
    2011-07-27 16:30:57.847 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.847 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property MaxFailure found
    ORA-16777 error
    2011-07-27 16:30:57.847 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb
    y database in V$ARCHIVE_DEST
    2011-07-27 16:30:57.848 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.848 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property MaxConnections fo
    und ORA-16777 error
    2011-07-27 16:30:57.848 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb
    y database in V$ARCHIVE_DEST
    2011-07-27 16:30:57.849 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.849 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property ReopenSecs found
    ORA-16777 error
    2011-07-27 16:30:57.849 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb
    y database in V$ARCHIVE_DEST
    2011-07-27 16:30:57.849 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.850 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property NetTimeout found
    ORA-16777 error
    2011-07-27 16:30:57.850 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb
    y database in V$ARCHIVE_DEST
    2011-07-27 16:30:57.850 RSM Warning: cannot find the destination setting in v$archive_dest for database 'orclSt
    d'.
    2011-07-27 16:30:57.850 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property RedoCompression f
    ound ORA-16777 error
    2011-07-27 16:30:57.851 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standb

  • Problem Installing VM: "Database is not available"

    I'm trying to install VM Manager 2.2 but when I get to creating the database I get this message:
    Checking the availability of the database ...
    Database is not available
    Please check log from /var/log/ovm-manager/db.log
    This is my db.log file:
    2010-07-06-10-19-11-AM
    Prepare to install the Oracle XE database ...
    2010-07-06-10-25-34-AM
    Prepare to install the Oracle XE database ...
    2010-07-06-10-27-50-AM
    Prepare to install the Oracle XE database ...
    Installing the oracle-xe-univ package (rpm) now ...
    warning: source/oracle-xe-univ-10.2.0.1-1.0.i386.rpm: Header V3 DSA signature: NOKEY, key ID b38a8516
    Preparing... ##################################################
    oracle-xe-univ ##################################################
    Executing Post-install steps...
    You must run '/etc/init.d/oracle-xe configure' as the root user to
    configure the database.
    Done
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 06-JUL-2010 10:32:52
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Starting /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    Listener failed to start. See the error message(s) above...
    ORACLE instance started.
    Total System Global Area 805306368 bytes
    Fixed Size 1261444 bytes
    Variable Size 209715324 bytes
    Database Buffers 591396864 bytes
    Redo Buffers 2932736 bytes
    TO_CHAR(SYSTIMEST
    20100706 10:32:53
    Allocating device....
    Specifying datafiles...
    Specifing datafiles...
    Restoring ...
    Restore done.
    PL/SQL procedure successfully completed.
    TO_CHAR(SYSTIMEST
    20100706 10:33:34
    Control file created.
    PL/SQL procedure successfully completed.
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    ORACLE instance started.
    Total System Global Area 805306368 bytes
    Fixed Size 1261444 bytes
    Variable Size 209715324 bytes
    Database Buffers 591396864 bytes
    Redo Buffers 2932736 bytes
    Control file created.
    System altered.
    Database altered.
    Database altered.
    System altered.
    System altered.
    Database altered.
    Tablespace altered.
    TABLESPACE_NAME
    USERS
    SID PROGRAM SERIAL#
    USERNAME
    35 [email protected] (QMNC) 1
    39 [email protected] (TNS V1-V3) 1
    SYS
    40 [email protected] (MMNL) 3
    SID PROGRAM SERIAL#
    USERNAME
    41 [email protected] (MMON) 3
    42 [email protected] (RECO) 1
    43 [email protected] (SMON) 1
    SID PROGRAM SERIAL#
    USERNAME
    44 [email protected] (CKPT) 1
    45 [email protected] (LGWR) 1
    46 [email protected] (DBW0) 1
    SID PROGRAM SERIAL#
    USERNAME
    47 [email protected] (MMAN) 1
    48 [email protected] (PSP0) 1
    49 [email protected] (PMON) 1
    12 rows selected.
    User altered.
    User altered.
    System altered.
    Library created.
    Directory created.
    Commit complete.
    PL/SQL procedure successfully completed.
    Commit complete.
    PL/SQL procedure successfully completed.
    File created.
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    ORACLE instance started.
    Total System Global Area 805306368 bytes
    Fixed Size 1261444 bytes
    Variable Size 209715324 bytes
    Database Buffers 591396864 bytes
    Redo Buffers 2932736 bytes
    Database mounted.
    Database opened.
    'UTL_RECOMP_BEGIN:'||TO_CH
    utl_recomp_begin: 10:34:05
    PL/SQL procedure successfully completed.
    'UTL_RECOMP_END:'||TO_CH
    utl_recomp_end: 10:34:05
    User altered.
    User altered.
    User altered.
    User altered.
    User altered.
    User altered.
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 6 10:34:05 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    Enter user-name: Enter password:
    ERROR:
    ORA-01005: null password given; logon denied
    Enter user-name: 2010-07-06-10-38-31-AM
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 6 10:38:51 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    Enter user-name: Enter password:
    ERROR:
    ORA-01005: null password given; logon denied
    Enter user-name: 2010-07-06-10-51-18-AM
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 6 10:52:09 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    Enter user-name: Enter password:
    ERROR:
    ORA-01005: null password given; logon denied
    Enter user-name: 2010-07-06-10-55-43-AM
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 6 10:55:53 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12541: TNS:no listener
    Enter user-name: Enter password:
    ERROR:
    ORA-01005: null password given; logon denied
    Enter user-name:

    Hi,
    I think it is essential to set the official ip and the correct hostname in the /etc/hosts file.
    Per default there is the loopback IP bound to the hostname and localhost, you should change this to the desired IP.
    it should be something like this:
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    192.168.1.1 yourhost.yourdomain yourhost
    Otherwise you will face some other nasty side-effects, with nfs for example.
    Hope that helps
    Michael

  • Database not found/Error: ORA-16621: database name for ADD DATABASE must be

    I am new to Data Guard and am trying to set up Data Guard Broker. I had created a configuration file with both my primary and standby databases and at one time I could show both databases. But now I can no longer show the standby database nor can I enable, disable or reinstate it. Here is what I have:
    Primary Database: orcl10g
    Standby Database: 10gSB
    DGMGRL> show configuration
    Configuration
    Name: orcl10g
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    orcl10g - Primary database
    10gSB - Physical standby database
    Current status for "orcl10g":
    SUCCESS
    DGMGRL> show database verbose orcl10g
    Database
    Name: orcl10g
    Role: PRIMARY
    Enabled: YES
    Intended State: ONLINE
    Instance(s):
    orcl10g
    Properties:
    InitialConnectIdentifier = 'orcl10g'
    LogXptMode = 'ASYNC'
    Dependency = ''
    DelayMins = '0'
    Binding = 'OPTIONAL'
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = '300'
    NetTimeout = '180'
    LogShipping = 'ON'
    PreferredApplyInstance = ''
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO'
    StandbyFileManagement = 'AUTO'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '30'
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = '10gSB, orcl10g'
    LogFileNameConvert = '/oracle/oracle/product/10.2.0/oradata/orcl10g/redo01.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo01.log, /oracle/oracle/product/10.2.0/oradata/orcl10g/redo02.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo02.log, /oracle/oracle/product/10.2.0/oradata/orcl10g/redo03.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo03.log'
    FastStartFailoverTarget = ''
    StatusReport = '(monitor)'
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    HostName = 'remarkable.mammothnetworks.com'
    SidName = 'orcl10g'
    LocalListenerAddress = '(ADDRESS=(PROTOCOL=tcp)(HOST=remarkable.mammothnetworks.com)(PORT=1521))'
    StandbyArchiveLocation = '/oracle/flash_recovery_area/orcl10g/archivelog'
    AlternateLocation = ''
    LogArchiveTrace = '1024'
    LogArchiveFormat = '%t_%s_%r.arc'
    LatestLog = '(monitor)'
    TopWaitEvents = '(monitor)'
    Current status for "orcl10g":
    SUCCESS
    DGMGRL> show database verbose 10gSB
    Object "10gsb" was not found
    DGMGRL>
    DGMGRL> remove database 10gSB
    Object "10gsb" was not found
    DGMGRL>
    DGMGRL> reinstate database 10gSB
    Object "10gsb" was not found
    DGMGRL>
    DGMGRL> enable database 10gSB
    Object "10gsb" was not found
    DGMGRL>
    DGMGRL> add database '10gSB' as
    connect identifier is 10gSB
    maintained as physical;Error: ORA-16621: database name for ADD DATABASE must be unique
    Failed.
    How can I get Data Guard to see the standby database correctly again?

    Thank you for the constructive feedback. I have been able to make progress on this issue.
    I did check the Data Guard Log files as you suggested. I did not find anything when I checked them before but this time I found the following:
    DG 2011-06-16-17:23:18 0 2 0 RSM detected log transport problem: log transport for database '10gSB' has the following error.
    DG 2011-06-16-17:23:18 0 2 0 RSM0: HEALTH CHECK ERROR: ORA-16737: the redo transport service for standby database "10gSB" has an error
    DG 2011-06-16-17:23:18 0 2 0 NSV1: Failed to connect to remote database 10gSB. Error is ORA-12514
    DG 2011-06-16-17:23:18 0 2 0 RSM0: Failed to connect to remote database 10gSB. Error is ORA-12514
    DG 2011-06-16-17:23:18 0 2 753988034 Operation CTL_GET_STATUS cancelled during phase 2, error = ORA-16778
    DG 2011-06-16-17:23:18 0 2 753988034 Operation CTL_GET_STATUS cancelled during phase 2, error = ORA-16778
    I verified that I am able to connect to both the primary and standby databases via external connections:
    -bash-3.2$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-JUN-2011 12:41:03
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 17-JUN-2011 01:40:30
    Uptime 0 days 11 hr. 0 min. 32 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /oracle/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=remarkable.mammothnetworks.com)(PORT=1521)))
    Services Summary...
    Service "10gSB" has 1 instance(s).
    Instance "10gSB", status READY, has 1 handler(s) for this service...
    Service "10gSB_DGB" has 1 instance(s).
    Instance "10gSB", status READY, has 1 handler(s) for this service...
    Service "10gSB_XPT" has 1 instance(s).
    Instance "10gSB", status READY, 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 "orcl10g" has 1 instance(s).
    Instance "orcl10g", status READY, has 1 handler(s) for this service...
    Service "orcl10gXDB" has 1 instance(s).
    Instance "orcl10g", status READY, has 1 handler(s) for this service...
    Service "orcl10g_DGB" has 1 instance(s).
    Instance "orcl10g", status READY, has 1 handler(s) for this service...
    Service "orcl10g_XPT" has 1 instance(s).
    Instance "orcl10g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    -bash-3.2$
    -bash-3.2$
    -bash-3.2$ sqlplus system/dbas4ever@orcl10g
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 12:43:41 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    -bash-3.2$ sqlplus system/dbas4ver@10gSB
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 12:43:59 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress <== I think this is normal since the database is in mount mode
    Enter user-name:
    I also checked the listener log file and did see and error associated with a known bug:
    WARNING: Subscription for node down event still pending
    So I added the following to the listener.ora file and bounced the listener:
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
    That seems to have taken care of the error.
    The following is my listener.ora file:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    (SID_DESC = ( GLOBAL_DBNAME = 10gsb_DGMGRL.remarkable.mammothnetworks.com )
    ( SERVICE_NAME = 10gsb.remarkable.mammothnetworks.com )
    ( SID_NAME = 10gsb )
    ( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
    (SID_DESC = ( GLOBAL_DBNAME = orcl10g_DGMGRL.remarkable.mammothnetworks.com )
    ( SERVICE_NAME = orcl10g.remarkable.mammothnetworks.com )
    ( SID_NAME = orcl10g )
    ( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
    (SID_DESC = ( GLOBAL_DBNAME = orcl10g.remarkable.mammothnetworks.com )
    ( SERVICE_NAME = orcl10g.remarkable.mammothnetworks.com )
    ( SID_NAME = orcl10g )
    ( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
    (SID_DESC = ( GLOBAL_DBNAME = 10gsb.remarkable.mammothnetworks.com )
    ( SERVICE_NAME = 10gsb.remarkable.mammothnetworks.com )
    ( SID_NAME = 10gsb )
    ( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
    I again tried connecting externally to the standby database:
    -bash-3.2$ sqlplus system/dbas4ever@10gSB
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 13:09:00 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Enter user-name:
    and see this in the listener.log file:
    17-JUN-2011 13:10:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11357)) * establish * 10gSB_XPT * 0
    17-JUN-2011 13:10:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11358)) * establish * 10gSB_XPT * 0
    17-JUN-2011 13:10:24 * service_update * 10gSB * 0
    17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=perl)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25119)) * establish * orcl10g * 0
    17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=perl)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25120)) * establish * orcl10g * 0
    17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=emagent)(HOST=localhost.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25121)) * establish * orcl10g * 0
    17-JUN-2011 13:11:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11420)) * establish * 10gSB_XPT * 0
    17-JUN-2011 13:11:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11422)) * establish * 10gSB_XPT * 0
    17-JUN-2011 13:11:24 * service_update * 10gSB * 0
    I tried again to see the database in Data Guard Broker:
    DGMGRL> show database 10gSB
    Object "10gsb" was not found
    however, I then was able to add the database in Data Guard Broker:
    DGMGRL> add database 10gSB
    as connect identifier is 10gSB
    maintained as physical;Database "10gsb" added <== this is progress!!!
    However the configuration shows the following:
    DGMGRL> show database 10gSB
    Database
    Name: 10gsb
    Role: PHYSICAL STANDBY
    Enabled: NO
    Intended State: OFFLINE
    Instance(s):
    10gSB
    Current status for "10gsb":
    DISABLED <=====
    So I tried to enable the database:
    DGMGRL> enable database 10gSB
    Error: ORA-16626: failed to enable specified object
    Failed.
    and I tried to reinstate the database:
    DGMGRL> reinstate database 10gSB
    Reinstating database "10gsb", please wait...
    Error: ORA-16653: failed to reinstate database
    Failed.
    Reinstatement of database "10gsb" failed
    So I checked the configuration and now see two entries for the standby database but with case differences:
    DGMGRL> show configuration
    Configuration
    Name: orcl10g
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    orcl10g - Primary database
    10gSB - Physical standby database
    10gsb - Physical standby database (disabled)
    Current status for "orcl10g":
    SUCCESS
    Question: How do I get rid of 10gSB and enable 10gsb?

  • Primary database switchover problem

    I am getting the following error when i execute 'alter database commit to switchover to standby with session shutdown' in primary database
    ora-16416 no viable physical standby switchover targets available
    What may be the reason???
    I am using Oracle Server-Standard Edition 11g R2
    version: 11.2.0.1

    Hello Gurus,
    I did a switchover and then performed a reverse switchover again. So Primary(original) is Primary now and My Standby(original) is Standby now.
    The Problem is when I monitor the Logs Archived and Applied I noticed below:
    In PRIMARY SIDE
    NAME ARC APPLIED SEQUENCE# DEST_ID
    D:\EDRIVE\PRIMARY\ARC\1_55_815075358.ARC YES YES 55 1
    D:\EDRIVE\PRIMARY\ARC\1_56_815075358.ARC YES YES 56 1
    STANDBY YES YES 56 2
    STANDBY YES YES 55 2
    STANDBY YES YES 54 2
    STANDBY YES YES 53 2
    STANDBY YES YES 52 2
    STANDBY YES YES 50 2
    STANDBY YES YES 51 2
    STANDBY YES YES 57 2
    D:\EDRIVE\PRIMARY\ARC\1_57_815075358.ARC YES YES 57 1
    D:\EDRIVE\PRIMARY\ARC\1_58_815075358.ARC YES YES 58 1
    STANDBY YES YES 58 2
    STANDBY YES YES 59 2
    D:\EDRIVE\PRIMARY\ARC\1_59_815075358.ARC YES YES 59 1
    STANDBY YES YES 60 2
    D:\EDRIVE\PRIMARY\ARC\1_60_815075358.ARC YES YES 60 1
    STANDBY YES YES 61 2
    D:\EDRIVE\PRIMARY\ARC\1_61_815075358.ARC YES YES 61 1
    STANDBY YES YES 62 2
    D:\EDRIVE\PRIMARY\ARC\1_62_815075358.ARC YES YES 62 1
    D:\EDRIVE\PRIMARY\ARC\1_63_815075358.ARC YES YES 63 1
    STANDBY YES YES 63 2
    D:\EDRIVE\PRIMARY\ARC\1_64_815075358.ARC YES YES 64 1
    D:\EDRIVE\PRIMARY\ARC\1_65_815075358.ARC YES YES 65 1
    D:\EDRIVE\PRIMARY\ARC\1_66_815075358.ARC YES YES 66 1
    D:\EDRIVE\PRIMARY\ARC\1_67_815075358.ARC YES YES 67 1
    D:\EDRIVE\PRIMARY\ARC\1_68_815075358.ARC YES YES 68 1
    D:\EDRIVE\PRIMARY\ARC\1_69_815075358.ARC YES NO 69 1
    STANDBY YES YES 69 2
    D:\EDRIVE\PRIMARY\ARC\1_70_815075358.ARC YES NO 70 1
    STANDBY YES YES 70 2
    D:\EDRIVE\PRIMARY\ARC\1_71_815075358.ARC YES NO 71 1
    STANDBY YES YES 71 2
    STANDBY YES YES 72 2
    D:\EDRIVE\PRIMARY\ARC\1_72_815075358.ARC YES NO 72 1
    D:\EDRIVE\PRIMARY\ARC\1_73_815075358.ARC YES NO 73 1
    STANDBY YES YES 73 2
    D:\EDRIVE\PRIMARY\ARC\1_74_815075358.ARC YES NO 74 1
    STANDBY YES YES 74 2
    D:\EDRIVE\PRIMARY\ARC\1_75_815075358.ARC YES NO 75 1
    STANDBY YES YES 75 2
    STANDBY YES YES 76 2
    D:\EDRIVE\PRIMARY\ARC\1_76_815075358.ARC YES NO 76 1
    D:\EDRIVE\PRIMARY\ARC\1_77_815075358.ARC YES NO 77 1
    STANDBY YES YES 77 2
    In STANDBY SIDE
    NAME ARC APPLIED SEQUENCE#
    D:\EDRIVE\STANDBY\ARC\1_55_815075358.ARC YES YES 55
    D:\EDRIVE\STANDBY\ARC\1_54_815075358.ARC YES YES 54
    D:\EDRIVE\STANDBY\ARC\1_53_815075358.ARC YES YES 53
    D:\EDRIVE\STANDBY\ARC\1_52_815075358.ARC YES YES 52
    D:\EDRIVE\STANDBY\ARC\1_50_815075358.ARC YES YES 50
    D:\EDRIVE\STANDBY\ARC\1_51_815075358.ARC YES YES 51
    D:\EDRIVE\STANDBY\ARC\1_56_815075358.ARC YES YES 56
    D:\EDRIVE\STANDBY\ARC\1_57_815075358.ARC YES YES 57
    D:\EDRIVE\STANDBY\ARC\1_58_815075358.ARC YES YES 58
    D:\EDRIVE\STANDBY\ARC\1_59_815075358.ARC YES YES 59
    D:\EDRIVE\STANDBY\ARC\1_60_815075358.ARC YES YES 60
    D:\EDRIVE\STANDBY\ARC\1_61_815075358.ARC YES YES 61
    D:\EDRIVE\STANDBY\ARC\1_62_815075358.ARC YES YES 62
    D:\EDRIVE\STANDBY\ARC\1_63_815075358.ARC YES YES 63
    D:\EDRIVE\STANDBY\ARC\1_64_815075358.ARC YES YES 64
    D:\EDRIVE\STANDBY\ARC\1_65_815075358.ARC YES YES 65
    PRIMARY YES YES 64
    PRIMARY YES YES 65
    D:\EDRIVE\STANDBY\ARC\1_66_815075358.ARC YES YES 66
    PRIMARY YES YES 66
    PRIMARY YES NO 67
    D:\EDRIVE\STANDBY\ARC\1_67_815075358.ARC YES YES 67
    D:\EDRIVE\STANDBY\ARC\1_68_815075358.ARC YES YES 68
    PRIMARY YES NO 68
    D:\EDRIVE\STANDBY\ARC\1_69_815075358.ARC YES YES 69
    D:\EDRIVE\STANDBY\ARC\1_70_815075358.ARC YES YES 70
    D:\EDRIVE\STANDBY\ARC\1_71_815075358.ARC YES YES 71
    D:\EDRIVE\STANDBY\ARC\1_72_815075358.ARC YES YES 72
    D:\EDRIVE\STANDBY\ARC\1_1_815506630.ARC YES NO 1
    D:\EDRIVE\STANDBY\ARC\1_73_815075358.ARC YES YES 73
    D:\EDRIVE\STANDBY\ARC\1_74_815075358.ARC YES YES 74
    D:\EDRIVE\STANDBY\ARC\1_75_815075358.ARC YES YES 75
    D:\EDRIVE\STANDBY\ARC\1_76_815075358.ARC YES YES 76
    D:\EDRIVE\STANDBY\ARC\1_77_815075358.ARC YES YES 77
    I wonder why in Some cases it is coming as APPLIED=NO and both the Primary and Standby.
    Also in Standby D:\EDRIVE\STANDBY\ARC\1_1_815506630.ARC  YES NO                 1 why sequence number 1 is gerenarated an not applied any where?
    Could any one of you please help me to know this?
    -Regards,
    Saha

  • Error: is not a primary database file.

    Hello
    If I try to set a database online with:
    ALTER DATABASE mydb SET online
    this error occurs:
    Msg 5171, Level 16, State 1, Line 1
    E:\Data\mydb_log.ldf is not a primary database file.
    Msg 5171, Level 16, State 2, Line 1
    E:\Data\mydb.mdf is not a primary database file.
    File activation failure. The physical file name "E:\Data\mydb.mdf" may be incorrect.
    Msg 945, Level 14, State 2, Line 1
    Database 'mydb' cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details.
    Msg 5069, Level 16, State 1, Line 1
    ALTER DATABASE statement failed.
    The path of ldf and mdf file is correct.
    And if I delete the database "DROP DATABASE mydb" and attach the files, then it works..
    Thanks for your help

    Cause
    This problem generally occurs if the MDF file of your SQL Server has got damaged. the problem could be due to file header corruption or wrong information in file header.
    All such situations lead to the inaccessibility of MDF file and need to repair and restore the database. It is very important to work around this problem, as it may put your business at risk of destruction.
    The MDF repair is possible with the help of third party applications known as SQL recovery software. These software are helpful in each and every case of MDF corruption and thus allow you to have perfect MDF recovery.
    To perform SQL repair using these software, it is not necessary for the user to have sound technical knowledge as MDF repair software come with interactive user interface. SQL recovery software do systematic scan of corrupted MDF files, repair and restore them in original format.
    Stellar Phoenix SQL Database Recovery is the most advanced and the most influential SQL recovery software which allows you to have effective and successful MDF recovery in all cases of corruption. This SQL repair software comes equipped with an interactive, simple and cool looking user interface.
    This MDF repair software is powerful enough to carry out systematic scan of entire MDF file and extract all of the data from it. This SQL repair software can restore all of the MDF objects including tables, reports, forms, macros, database constraints, stored procedures, triggers etc.
    Cheers, Sridhar -------------- Please Mark it as Answer if it helps u so that it will be useful to other forum guys

  • A database error occured. The database error text is: ORA-29275: partial multibyte character . (WIS 10901)

    Hi,
    My Webi report is geeting failed with the error
    "A database error occured. The database error text is: ORA-29275: partial multibyte character . (WIS 10901)"
    may i know the root cause of the above error and how to resolve it. I am using BO 3.1.
    Its very important to provide the report. Please help urgently.
    Thanks in advance.
    Abid

    Hi Abid,
    Please see SAP Note 1556127.
    Symptom
    A database error occurs after refreshing a web intelligence report in java report panel or web intelligence in interactive mode
    The database error text is: ORA 29275 with partial multibyte character (WIS 10901)
    Environment
    windows 2003 Server
    Cause
    Environment variables are not set with value UTF-8:LC_ALL,LANG, and NLS_LANG
    Resolution
    Set following system environment variables: LC_ALL,LANG, and NLS_LANG with value UTF-8. For example, LC_ALL=EN_US.UTF-8

  • How to set UTL_FILE parameter in the INIT.ORA file

    Dear all,
    How can i set UTL_FILE parameter in the INIT.ORA file.
    Also let me know how to create a directory over there.I am new to this area.
    Where exactly i can locate these details and create directory.
    Regards,
    Bala.

    post this in database forum

  • URGENT :ABAP Database is not available via R3trans

    Checking ADA db Database
    ABAP Database is not available via R3trans
    Starting SAP-Collector Daemon
    11:47:14 13.03.2008 LOG: Effective User Id is root
    This is Saposcol Version COLL 20.95 700 - v2.00, Intel x86 with Linux, 2007/02/16
    Usage: saposcol -l: Start OS Collector
    saposcol -k: Stop OS Collector
    saposcol -d: OS Collector Dialog Mode
    saposcol -s: OS Collector Status
    The OS Collector (PID 17267) is already running .....
    saposcol already running
    Running /usr/sap/DEV/SYS/exe/run/startdb
    Trying to start database ...
    Log file: /home/devadm/startdb.log
    Database already running
    /usr/sap/DEV/SYS/exe/run/startdb completed successfully
    Starting SAP Instance SCS00
    Startup-Log is written to /home/devadm/startsap_SCS00.log
    Instance Service on host sap-devel started
    Instance on host sap-devel started
    Starting SAP Instance DVEBMGS01
    Startup-Log is written to /home/devadm/startsap_DVEBMGS01.log
    Instance Service on host sap-devel started
    Instance on host sap-devel started.
    checked with command r3trans -d-v.
    the following error is displayed.
    This is R3trans version 6.14 (release 700 - 10.09.07 - 09:57:00).
    unicode enabled version
    2EETW169 no connect possible: "maybe someone set invalid values for DIR_LIBRARY ('/usr/sap/DEV/SYS/exe/run') or dbms_type ('ADA')"
    R3trans finished (0012).
    any suggestions
    thnx and regards

    Hi,
    can you please show us the content of the R3trans logfile, created by the R3trans -x command?
    Please note that if you're an official SAP customer you should open a OSS message for your issue, if not already done so. Please read [this thread|MaxDB/liveCache Forum: target audience and relevant support;.
    Additionally, please refrain from using things like 'URGENT'. More on this can be read [here|Welcome and Rules of Engagement;.
    Thanks & regards,
    Roland

  • Error in primary database alert log

    Dear all i am getting the following error in my primary database alert log
    oracle 10.2.0.3
    Os/ rhel 4
    Errors in file /u01/app/oracle/admin/PROSVR1/bdump/prosvr1_arc0_26151.trc:
    ORA-00088: command cannot be executed by shared server
    Tue Jul 7 23:20:37 2009
    PING[ARC0]: Heartbeat failed to connect to standby 'DRSVR1'. Error is 88.
    Tue Jul 7 23:25:38 2009
    Errors in file /u01/app/oracle/admin/PROSVR1/bdump/prosvr1_arc0_26151.trc:
    ORA-00088: command cannot be executed by shared server
    Tue Jul 7 23:25:38 2009
    PING[ARC0]: Heartbeat failed to connect to standby 'DRSVR1'. Error is 88.
    Please let me know what needs to be done.
    THanks in advance,
    Aj

    00088, 00000, "command cannot be executed by shared server "
    // *Cause:  Debug command issued on shared server.
    // *Action: Reissue the command using a dedicated server.

  • Delete standby redo log from primary database

    Hi all,
    I'm trying to drop standby logfiles on primary database (other database that I'm configuring the DG).
    The members of the standby log groups don't exists on file system.
    Somebody have deleted these files. Its old configuration where the files were in file system. Now they are in ASM.
    When I try to drop the standby logfiles I got the following error:
    SQL> alter database clear logfile group 7;
    alter database clear logfile group 7
    ERROR at line 1:
    ORA-19528: redo logs being cleared may need access to files
    SQL> select * from v$logfile order by 1;
        GROUP# STATUS  TYPE    MEMBER                                                                           IS_
             1         ONLINE  +REDO1/proj/onlinelog/group_1.256.340558657                                     NO
             1         ONLINE  +REDO2/proj/onlinelog/group_1.256.340558659                                     NO
             2         ONLINE  +REDO1/proj/onlinelog/group_2.257.340558879                                     NO
             2         ONLINE  +REDO2/proj/onlinelog/group_2.259.340558879                                     NO
             3         ONLINE  +REDO1/proj/onlinelog/group_3.258.340558707                                     NO
             3         ONLINE  +REDO2/proj/onlinelog/group_3.257.340558709                                     NO
             4         ONLINE  +REDO2/proj/onlinelog/group_4.258.340558713                                     NO
             4         ONLINE  +REDO1/proj/onlinelog/group_4.259.340558711                                     NO
             5         ONLINE  +REDO2/proj/onlinelog/group_5.260.340558965                                     NO
             5         ONLINE  +REDO1/proj/onlinelog/group_5.260.340558963                                     NO
             6         ONLINE  +REDO1/proj/onlinelog/group_6.261.340558967                                     NO
             6         ONLINE  +REDO2/proj/onlinelog/group_6.261.340558967                                     NO
             7         STANDBY /oracle/proj/onlinelog2/redo_702.log                                            NO
             7         STANDBY /oracle/proj/onlinelog1/redo_701.log                                            NO
             8         STANDBY /oracle/proj/onlinelog2/redo_802.log                                            NO
             8         STANDBY /oracle/proj/onlinelog1/redo_801.log                                            NO
             9         STANDBY /oracle/proj/onlinelog2/redo_902.log                                            NO
             9         STANDBY /oracle/proj/onlinelog1/redo_901.log                                            NO
            10         STANDBY /oracle/proj/onlinelog1/redo_1001.log                                           NO
            10         STANDBY /oracle/proj/onlinelog2/redo_1002.log                                           NO
    20 rows selected.
    SQL> select * from v$standby_log order by 1;
        GROUP# DBID            THREAD#  SEQUENCE#      BYTES       USED ARC STATUS     FIRST_CHANGE# FIRST_TIM LAST_CHANGE# LAST_TIME
             7 UNASSIGNED            0          0  104854601        512 YES UNASSIGNED             0                      0
             8 UNASSIGNED            0          0  104854601        512 YES UNASSIGNED             0                      0
             9 UNASSIGNED            0          0  104854601        512 YES UNASSIGNED             0                      0
            10 UNASSIGNED            0          0  104854601        512 YES UNASSIGNED             0                      0What can I do to drop these reference?
    Any other solution instead of edit the controlfile and stop/start tghe database?
    thank you!!!!

    Hello;
    Well Oracle thinks the files are there, but I remember a bug on metalink where the controlfile still had them, but they were not on the file system. Can you confirm they exist?
    Meanwhile I check my notes for the Oracle doc nunber.
    Bug 6128242: TRYING TO DROP STANDBY LOG FAILS WITH ORA-19528
    So if you are Oracle 10 this might be the issue.
    workaround is to re-create the controlfile without the incorrect logfile. ( Yuk!! )
    ORA-01156 When Adding Or Dropping Redo Logs [ID 452152.1]
    Best Regards
    mseberg
    Edited by: mseberg on Oct 31, 2011 5:09 PM

  • Creating standby database and replication of primary database in 9i

    Hi,
    We have a 9i database on Windows Server.Now recently we are planning to replicate the primary database to standby database once after creating the standby database.Can anyone guide me with the procedure or documentation with this . We were asked to do this without the data guard set-up. Please do help me regarding this ASAP.
    Regards,

    specifiying ASAP isnt a way to get people to help on a volunteer forum.
    If you dont have dataguard You need to search for "manual standby apply".
    lots and lots and lots of google hits for you but this is the official cookbook
    http://docs.oracle.com/cd/B10500_01/server.920/a96653/manual_recovery.htm

Maybe you are looking for

  • How do you sync the wireless keyboard with the Ipad?  It doesn't ever find

    How do you sync the wireless keyboard to the Ipad

  • Macbook Pro 2006 problems

    Hello, My computer is old (15 in. 2006 pro), but I've invested a lot of repairs, and it's worth it to keep it going for a while longer.  I wouldn't be terribly upset if we had to dump it.  I'm just interested in what is going wrong. Services we've ha

  • Refresh Cover Flow View

    The Cover Flow, Artwork, List window doesn't refresh. As in; you maximize iTunes from the task bar and that part of the program where you're suppose to be seeing the Cover Flow, shows my desktop, or whatever program had the background before opening

  • SBS 2003 to Server 2008/Exchange 2007

    We are in the process of moving our location and are in need of moving from SBS to something with more CALs.  I want to make this as seemless as possible for the end-users. We are currently on SBS 2003. My plan: Purchase new 64 bit server with Server

  • My Mac OS X 10.6.8 won't start on "Safe Boot" when holding "shift" at startup.

    My computer has a kernel panic problem. And I'd like to fix it by booting as safe boot. I hold the shift key after the tone, and release it when the apple and loading gear appear. But, the bar that indicates that safe mode is loading never appears. I