ORA-00494: enqueue [CF] held for too long (more than 900 seconds)

Hi ,
I am getting this error , the database is in no archive mode and there is frequent log switch.
However following few metalink notes I have set the hidden parameters like
killcontrolfile_enqueue_blocker=false
killenqueue_blocker=1
I wanted to reduce the frequece log switch how to reduce it.
ORA-00494: enqueue [CF] held for too long (more than 900 seconds) by 'inst 1

One way is to make the size of the redo logs bigger and another way is to do some less work :)
Changing Redo Log File SizesEach Redo Log File member in a Group must be identical in size. If you need to make your Redo Log Files larger, use the following steps.
1. Use the V$LOG view to identify the current active Redo Log Group.
SQL> SELECT group#, status FROM v$log;
GROUP# STATUS
1 INACTIVE
2 INACTIVE
3 CURRENT
4 INACTIVE
2. Drop one or more of the inactive Redo Log Groups keeping at least two current On-line Redo Log Groups.
3. Use operating system commands to delete the files that stored the dropped Redo Log Files.
4. Recreate the groups with larger file sizes. Continue this sequence until all groups have been resized.
Edited by: TSharma on Jan 17, 2013 11:52 AM

Similar Messages

  • Insert an hyperlink in a mail text but the URL is too long (more than 255)

    Hi to all,
    I was asked to insert an hyperlink in a mail text. I was  thinking to use '<A href =" ' command . I'm usin BSC interface but my problem is that the internal table in wich I'm loading the body message is 255 character while the URL i'm trying to include in the e-mail si too long . Any fast solution ?
    Thanks
    Andrew

    You don't need to put the entire anchor tag contents on one line in the table before you append it to the body contents.  The reading application (Outlook, etc.) knows the entire tag contents based on the open/close of the tag.  I often chunk up my anchor tags like that via text elements so they're easier to read in the code.  Though you can't really see it, this is an anchor tag:
      begin_table 0.
      begin_row.
      begin_cell 100.
      gs_email_contents-line = text-s03.
      append_content.
      gs_email_contents-line = text-s04.
      append_content.
      gs_email_contents-line = text-s05.
      append_content.
      end_cell.
      end_row.
      end_table.

  • Can't start up my ipod 5thG and stay remining the logo of apple for too long don't know how to do????

    can't start up my ipod 5thG and stay remining the logo of apple for too long don't know how to do????

    Try:                           
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar

  • Query running for too long

    Hi All,
    Can someone pls help me in finding how long will it take to execute the below query.
    I have a query that is taking too long to execute.
    SELECT   CPU_TIME/1000000/60 CPUTIME, ELAPSED_TIME/1000000/60 ELAPSEDTIME, PROGRAM_LINE#, OPTIMIZER_COST,
    USER_IO_WAIT_TIME/1000000/60 IOWAITTIME,  DISK_READS, DIRECT_WRITES, BUFFER_GETS, to_char(Q.SQL_FULLTEXT), OPTIMIZER_MODE,  SHARABLE_MEM, PERSISTENT_MEM, RUNTIME_MEM, SORTS, FETCHES, EXECUTIONS, END_OF_FETCH_COUNT, USERS_EXECUTING, LOADS,
    FIRST_LOAD_TIME,  INVALIDATIONS, PARSE_CALLS, APPLICATION_WAIT_TIME, CONCURRENCY_WAIT_TIME, CLUSTER_WAIT_TIME,
    PLSQL_EXEC_TIME, JAVA_EXEC_TIME, ROWS_PROCESSED, COMMAND_TYPE, PARSING_USER_ID, PARSING_SCHEMA_ID, PARSING_SCHEMA_NAME, OBJECT_STATUS
         FROM     v$session S, v$sqlarea Q
         WHERE    S.SQL_ADDRESS = Q.ADDRESS
         AND      s.username = 'SCHEMA_NAME'
         AND       s.osuser = 'OSUSER_NAME';I can see CPU_TIME increasing. Is there any way that I can find how lmuch more time will it take for the query to execute.
    The query creates a table that has a sub query and inner query.
    rgds
    saaz

    http://www.gplivna.eu/papers/v$session_longops.htm
    There is a dynamic performance view v$session_longops that is populated for many long running operations in Oracle. The primary criterion for any operation to appear in v$session_longops is to run more than 6 seconds. Although this isn’t the only criterion as well as not all operations that take more than 6 seconds are shown in this view. For example one can find hash joins in v$session_longops, but you won’t find there nested loop joins even if they are longer than 6 seconds and are joining very big data sets.

  • DFS Error 9061 (Replicated folder offline for too long) won't go away

    We have a server that got disconnected from a DFS replication group for too long. The error says to remove the server from the group and re-add it. I've done that about 6 times and I keep getting the error. I even tried deleting the replicated folder on
    the server so it would copy from other servers but the error just won't go away. How can I get rid of it and get the folder replicating again?

    Hi,
    Based on your description, we can try to following the steps described in the section
    Recovering DFSR from Content Protection in the following blog to troubleshoot the issue.
    Implementing Content Freshness protection in DFSR
    http://blogs.technet.com/b/askds/archive/2009/11/18/implementing-content-freshness-protection-in-dfsr.aspx
    If the issue persists, please keep us posted.
    Best regards,
    Frank Shen

  • IPhone 3 screen active for too long

    Hi I have an iPhone 3 and have a problem, if I am out and use the phone the screen remains active for too long, leaving me standing there with phone in hand waiting for the screen to become inactive before I dare put it back in my pocket (Because otherwise the stupid thing does things like ring numbers in my numbers directory or activates an app in my pocket)...
    I am sure there must be something that we can do apart from stand around like an idiot with phone in hand before the **** active screen deactivates...

    I need it to go to sleep sooner than the 1 minute default to avoid accidental dialing when putting it back in my pocket.  There does not seem to be a way to set it to 30 seconds , or is there?

  • My Iphone 3g will not unlock if its been locked for too long

    just as the title says and all these issues too....
    Whenever my phone is locked for too long it will not respond to any button presses. the only way i can get it out of that is if i hard reboot it but happens again afterwards. the only way to keep it from not acting like that is to keep it plugged in constantly.  also if i try to shut it off normally it will power on by itself right after its shut off.  ive tried to do a full restore in recovery mode and that didnt even solve the problem.  any ideas?

    Anyone? C'mom, I know some of you techie type folks know how to fix this!

  • Our TC has been a door-stop for too-long ...

    Our TC has been a door-stop for too-long ... so I was thinking of blowing the dust off it & giving it another go ... the .n wireless would be very welcome, but will Time Machine work with it, and are the dreaded curtain & sparesbundle problems as thing of the past ??? I'm nervous - if it works, then great, but if those problems are still around ... nightmares

    I not sure how I can properly answer your concerns with the Time Capsule (TC), but my suggestion is to give it another try. Make sure that you perform a "hard" reset to clear its current configuration and use the AirPort Utility to configure it as you see fit. I also recommend that, if not already, to update both the TC's firmware (7.3.2) and the AirPort Utility (5.3.2) to the latest versions.
    I can't say that you (or others) didn't experience issues with the TC, but for the majority of folks it has worked "as advertised." I would suggest that you start with using Time Machine on just a single computer and let it run for a week or two to verify proper operation. Once satisfied, go ahead and add additional TM backups for your other computers.

  • HT201263 how can i go to DFU mode if my sleep/wake button doesn't work? my phones been stuck on the logo for too long.

    how can i go to DFU mode if my sleep/wake button doesn't work? my phones been stuck on the logo for too long.

    You can't. Either get your phone fixed at a third-party repair shop, or go to an Apple store & they will replace your phone for US $199.

  • Firefox keeps my history for too long. how can i change the setting to 2 weeks

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/903677]]</blockquote>
    firefox keeps my history for too long. how can i change the setting to 2 weeks

    Do you mean you have a Macbook Pro (laptop) versus a Mac Pro (desktop)?
    You can back up the MBP, restart using Command+R to boot into the Mavericks Recovery HD, erase the Mactintosh HD and Reinstall OS X. Then you can go through setup and configure it with your information and Apple ID. Mavericks should not prompt you for an Apple ID when it goes through the install since that OS is free.
    One thing you might want to consider is asking the previous owner to unregister the MBP from his Apple ID if he previously registered it. Then you can register it under your Apple ID.
    The previous owner should have wiped it clean and reinstalled the OS that came pre-installed before selling it.

  • Will the MBP speakers blow if I play it on max. volume for too long?

    Will the MBP speakers blow if I play it on max. volume for too long?

    Depends what you call too long. Leave any electronics running too long it will eventually break. Might take years, but no mechanical system is immortal. No computer has yet been built around superconductors either, so heat alone would cause circuitry to fail if it is always powered. While leaving on the machine all the time (except for bad weather) is a good idea since Mac OS X is able to do that, individual components I would not always leave in use. Use your energy wisely. Not to mention max volume for too long could theoretically make you deaf if you listen to it all the time.
    Use common sense.

  • Can you charge the battery for too long?

    I know that with cell phones if you leave the charger in for too long the battery starts to lose life. Is it the same way with the macbook or did the engineers work out a way that you can keep the charger connected for as long as you want and it won't drain battery life?
    I'd like to charge the battery whenever I go to sleep but I'm afraid that it will have charged too much by the time I wake up. I learned that the hard way with my cell phone, which seems to lose power much quicker than it used to.

    Hi,
    since Apple recommends to never remove the battery while running the MacBook on AC-power, it is the logical conclusion.
    See here: http://docs.info.apple.com/article.html?artnum=305336
    Stefan

  • Error: ORA-16778: redo transport error for one or more databases

    Hi all
    I have 2 database servers"Primary database and physical standby" in test environment( before going to Production)
    Before Dataguard broker configuration , DG setup was running fine , redo was being applied and archived on phy standby.
    but while enabling configuration i got "Warning: ORA-16607: one or more databases have failed" listener.ora & tnsnames.ora are updated with global_name_DGMGRL
    Please help me how can i resolve this issue .Thanks in advance.
    [oracle@PRIM ~]$ dgmgrl
    DGMGRL for Linux: Version 10.2.0.1.0 - Production
    Copyright (c) 2000, 2005, Oracle. All rights reserved.
    Welcome to DGMGRL, type "help" for information.
    DGMGRL> connect sys
    Password:
    Connected.
    DGMGRL> show configuration
    Configuration
    Name: test
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    prim - Primary database
    stan - Physical standby database
    Current status for "test":
    Warning: ORA-16607: one or more databases have failed
    DGMGRL> show database
    show database
    ^
    Syntax error before or at "end-of-line"
    DGMGRL> remove configuration
    Warning: ORA-16620: one or more databases could not be contacted for a delete operation
    Removed configuration
    DGMGRL> exit
    [oracle@PRIM ~]$ connect sys/sys@prim as sysdba
    bash: connect: command not found
    [oracle@PRIM ~]$ lsnrctl stop
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:52:30
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    The command completed successfully
    [oracle@PRIM ~]$ lsnrctl start
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:52:48
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 08-OCT-2006 19:52:48
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PRIM_DGMGRLL" has 1 instance(s).
    Instance "PRIM", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@PRIM ~]$ lsnrctl stop
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:54:46
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    The command completed successfully
    [oracle@PRIM ~]$ lsnrctl start
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:54:59
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    [oracle@PRIM ~]$ dgmgrl
    DGMGRL for Linux: Version 10.2.0.1.0 - Production
    Copyright (c) 2000, 2005, Oracle. All rights reserved.
    Welcome to DGMGRL, type "help" for information.
    DGMGRL> connect /
    Connected.
    DGMGRL> create configuration test as
    primary database is PRIM
    connect identifier is PRIM
    ;Configuration "test" created with primary database "prim"
    DGMGRL> add database STAN as
    connect identifier is STAN
    maintained as physical;Database "stan" added
    DGMGRL> show configuration
    Configuration
    Name: test
    Enabled: NO
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    prim - Primary database
    stan - Physical standby database
    Current status for "test":
    DISABLED
    DGMGRL> enable configuration
    Enabled.
    DGMGRL> show configuration
    Configuration
    Name: test
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    prim - Primary database
    stan - Physical standby database
    Current status for "test":
    Warning: ORA-16607: one or more databases have failed
    DGMGRL> show database verbose prim
    Database
    Name: prim
    Role: PRIMARY
    Enabled: YES
    Intended State: ONLINE
    Instance(s):
    PRIM
    Properties:
    InitialConnectIdentifier = 'prim'
    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 = '/u01/app/oracle/oradata/STAN, /u01/app/oracle/oradata/PRIM'
    LogFileNameConvert = '/u01/app/oracle/oradata/STAN, /u01/app/oracle/oradata/PRIM'
    FastStartFailoverTarget = ''
    StatusReport = '(monitor)'
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    HostName = 'PRIM'
    SidName = 'PRIM'
    LocalListenerAddress = '(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521))'
    StandbyArchiveLocation = '/u01/app/oracle/flash_recovery_area/PRIM/archivelog/'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = '%t_%s_%r.arc'
    LatestLog = '(monitor)'
    TopWaitEvents = '(monitor)'
    Current status for "prim":
    Error: ORA-16778: redo transport error for one or more databases
    DGMGRL> show database verbose stan
    Database
    Name: stan
    Role: PHYSICAL STANDBY
    Enabled: YES
    Intended State: ONLINE
    Instance(s):
    STAN
    Properties:
    InitialConnectIdentifier = 'stan'
    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 = '/u01/app/oracle/oradata/PRIM, /u01/app/oracle/oradata/STAN'
    LogFileNameConvert = '/u01/app/oracle/oradata/PRIM, /u01/app/oracle/oradata/STAN'
    FastStartFailoverTarget = ''
    StatusReport = '(monitor)'
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    HostName = 'STAND'
    SidName = 'STAN'
    LocalListenerAddress = '(ADDRESS=(PROTOCOL=tcp)(HOST=STAND)(PORT=1521))'
    StandbyArchiveLocation = '/u01/app/oracle/flash_recovery_area/STAN/archivelog/'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = '%t_%s_%r.arc'
    LatestLog = '(monitor)'
    TopWaitEvents = '(monitor)'
    Current status for "stan":
    Error: ORA-12545: Connect failed because target host or object does not exist
    DGMGRL>

    This:
    Current status for "stan":
    Error: ORA-12545: Connect failed because target host or object does not exist
    says that your network setup is not correct. You need to resolve that first.
    As for Broker setup steps how about the doc or our Data Guard 11g Handbook?
    It's 3 DGMGRL commands so I am not sure what 'steps' you need?
    Larry

  • Error: ORA-16778: redo transport error for one or more databases.   please help.

    Hello everyone :
    I can't switchover to primary. following is error and information.
    RHEL 6.3 x86-64
    Oracle database 11.2.0.3.0 Enterprise edition
    Primary database = orclprmy
    Standby database = orclstby1
    ##### /etc/hosts on orclstby1
    [root@orclstby1 admin]# cat /etc/hosts
    127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    192.168.50.211    ttprmy
    192.168.50.212    orclstby1
    ### DG broker error
    DGMGRL for Linux: Version 11.2.0.3.0 - 64bit Production
    Copyright (c) 2000, 2009, Oracle. All rights reserved.
    Welcome to DGMGRL, type "help" for information.
    Connected.
    DGMGRL> show configuration;
    Configuration - TTDGConfig1
      Protection Mode: MaxPerformance
      Databases:
        orclstby1 - Primary database
          Error: ORA-16778: redo transport error for one or more databases
        orclprmy  - Physical standby database
    Fast-Start Failover: DISABLED
    Configuration Status:
    ERROR
    DGMGRL>
    ########### listener.ora on orclstby1
    [root@orclstby1 admin]# cat listener.ora
    # listener.ora Network Configuration File: /u2/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = orclstby1)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME=orcl)
          (SID_NAME = orclstby1)
          (ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
        (SID_DESC =
          (GLOBAL_DBNAME=orclstby1)
          (SID_NAME = orclstby1)
          (ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
        (SID_DESC =
          (GLOBAL_DBNAME=orclstby1_DGMGRL)
          (SID_NAME = orclstby1)
          (ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
    ADR_BASE_LISTENER = /u2/oracle
    ############## tnsnames.ora on orclstby1
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
        (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orcl))
    orclprmy =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.211)(PORT = 1521))
        (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclprmy))
    orclprmy_DGMGRL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.211)(PORT = 1521))
        (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclprmy_DGMGRL))
    orclstby1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
        (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclstby1))
    orclstby1_DGMGRL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
        (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclstby1_DGMGRL))
    ##### alert log on orclstby1.
    Fatal NI connect error 12504, connecting to:
    (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=)(CID=(PROGRAM=oracle)(HOST=orclstby1)(USER=oracle)))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.50.211)(PORT=1521)))
      VERSION INFORMATION:
            TNS for Linux: Version 11.2.0.3.0 - Production
            TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
      Time: 06-SEP-2013 13:19:55
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12564
    TNS-12564: TNS:connection refused
        ns secondary err code: 0
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
    There is problem  in alert log.
    In the /etc/hosts file. The standby server (orclstby1) ip is 192.168.50.212. but alert log is 192.168.50.211.
    Is any idea?
    Thanks for help.
    消息编辑者为:user4914135

    #### on primary database
    SQL>  select dest_name,status,target,archiver,schedule, valid_type,valid_role,db_unique_name,error from v$archive_dest;
    DEST_NAME            STATUS    TARGET  ARCHIVER   SCHEDULE VALID_TYPE      VALID_ROLE   DB_UNIQUE_NAME
    ERROR
    LOG_ARCHIVE_DEST_1   VALID     LOCAL   ARCH       ACTIVE   ALL_LOGFILES    ALL_ROLES    orclprmy
    LOG_ARCHIVE_DEST_2   VALID     REMOTE  LGWR       PENDING  ALL_LOGFILES    PRIMARY_ROLE orclstby1
    LOG_ARCHIVE_DEST_3   INACTIVE  LOCAL   ARCH       INACTIVE ALL_LOGFILES    ALL_ROLES    NONE
    #### on standby database
    SQL> select dest_name,status,target,archiver,schedule, valid_type,valid_role,db_unique_name,error from v$archive_dest;
    DEST_NAME            STATUS    TARGET  ARCHIVER   SCHEDULE VALID_TYPE      VALID_ROLE   DB_UNIQUE_NAME
    ERROR
    LOG_ARCHIVE_DEST_1   VALID     PRIMARY ARCH       ACTIVE   ALL_LOGFILES    ALL_ROLES    orclstby1
    LOG_ARCHIVE_DEST_2   ERROR     STANDBY LGWR       PENDING  ONLINE_LOGFILE  PRIMARY_ROLE orclprmy
    ORA-12504: TNS:listener was not given the SERVICE_NAME in
    CONNECT_DATA
    LOG_ARCHIVE_DEST_3   INACTIVE  PRIMARY ARCH       INACTIVE ALL_LOGFILES    ALL_ROLES    NONE 
    ####  log_archive_dest on primary database  
    SQL> show parameter log_archive_dest
    NAME                                 TYPE        VALUE
    log_archive_dest                     string
    log_archive_dest_1                   string      location=/u3/arch/orcl vali
                                                     d_for=(ALL_LOGFILES,ALL_ROLES)
                                                      db_unique_name=orclprmy
    log_archive_dest_10                  string
    log_archive_dest_11                  string
    log_archive_dest_12                  string
    log_archive_dest_13                  string
    log_archive_dest_14                  string
    log_archive_dest_15                  string
    log_archive_dest_16                  string
    log_archive_dest_17                  string
    log_archive_dest_18                  string
    log_archive_dest_19                  string
    log_archive_dest_2                   string      service="orclstby1", LGWR ASYNC
                                                     NOAFFIRM delay=0 optional comp
                                                     ression=disable max_failure=0
                                                     max_connections=1 reopen=300 d
                                                     b_unique_name="orclstby1" net_ti
                                                     meout=30, valid_for=(all_logfi
                                                     les,primary_role)
    log_archive_dest_20                  string
    log_archive_dest_21                  string
    log_archive_dest_22                  string
    ####  log_archive_dest on standby database
    SQL> show parameter log_archive_dest
    NAME                                 TYPE        VALUE
    log_archive_dest                     string
    log_archive_dest_1                   string      location=/u3/arch/orclstby1 vali
                                                     d_for=(ALL_LOGFILES,ALL_ROLES)
                                                      db_unique_name=orclstby1
    log_archive_dest_10                  string
    log_archive_dest_11                  string
    log_archive_dest_12                  string
    log_archive_dest_13                  string
    log_archive_dest_14                  string
    log_archive_dest_15                  string
    log_archive_dest_16                  string
    log_archive_dest_17                  string
    log_archive_dest_18                  string
    log_archive_dest_19                  string
    log_archive_dest_2                   string      service=orclprmy ASYNC valid_for
                                                     =(ONLINE_LOGFILE,PRIMARY_ROLE)
                                                      db_unique_name=orclprmy
    log_archive_dest_20                  string
    log_archive_dest_21                  string
    log_archive_dest_22                  string
    log_archive_dest_23                  string
    log_archive_dest_24                  string
    log_archive_dest_25                  string
    #### spfile on standby database
    </u2/oracle/product/11.2.0/dbhome_1/dbs> strings spfileorclstby1.ora
    orcl.__db_cache_size=1040187392
    orclstby1.__db_cache_size=1090519040
    orcl.__java_pool_size=16777216
    orclstby1.__java_pool_size=16777216
    orcl.__large_pool_size=16777216
    orclstby1.__large_pool_size=16777216
    orcl.__oracle_base='/u2/oracle'#ORACLE_BASE set from environment
    orclstby1.__oracle_base='/u2/oracle'#ORACLE_BASE set from environment
    orcl.__pga_aggregate_target=536870912
    orclstby1.__pga_aggregate_target=536870912
    orcl.__sga_target=1610612736
    orclstby1.__sga_target=161061273
    orcl.__shared_io_pool_size=0
    orclstby1.__shared_io_pool_size=0
    orcl.__shared_pool_size=503316480
    orclstby1.__shared_pool_size=469762048
    orcl.__streams_pool_size=16777216
    orclstby1.__streams_pool_size=0
    *.archive_lag_target=0
    *.audit_file_dest='/u2/oracle/admin/orclstby1/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='/u2/oracle/oradata/orclstby1/control01.ctl','/u2/oracle/fast_recovery_area/orclstby1/control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_nam
    e_convert='orcl','orclstby1'
    *.db_name='orcl'
    *.db_recovery_file_dest='/u2/oracle/fast_recovery_area'
    *.db_recovery_file_dest_size=5218762752
    *.db_unique_name='orclstby1'
    *.deferred_segment_creation=FALSE
    *.dg_broker_start=TRUE
    *.diagnostic_dest='/u2/oracle'
    *.fal_client='orclstby1'
    *.fal_server='orclprmy'
    *.log_archive_config='dg_config=(orclprmy,orclstby1)'
    *.log_archive_dest_1='location=/u3/arch/orclstby1 valid_for=(ALL_LOGFILES,ALL_ROLES) db_unique_name=orclstby1'
    *.log_archive_dest_2='ser
    vice=orclprmy ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=orclprmy'
    *.log_archive_dest_state_2='ENABLE'
    orcl.log_archive_format='orcl_%t_%s_%r.arc'
    *.log_archive_format='orclstby1_%t_%s_%r.arc'
    orclstby1.log_archive_format='orclstby1_%t_%s_%r.arc'
    *.log_archive_max_processes=4
    *.log_archive_min_succeed_dest=1
    orcl.log_archive_trace=0
    orclstby1.log_archive_trace=0
    *.log_file_name_convert='orcl','orclstby1'
    *.open_cursors=300
    *.pga_aggregate_target=536870912
    *.processes=
    1500
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sessions=1655
    *.sga_target=1610612736
    *.standby_file_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    </u2/oracle/product/11.2.0/dbhome_1/dbs>
    Thank you for your help.

  • Lync BToE - USB HeartBeat is not passed from Lync for long duration (more than 20 seconds)

    Lync BToE - USB HeartBeat is not passed from Lync for long duration (more than 20 seconds)

    Hi,
    Did the issue happen only for you or for multiple users?
    Make sure phone update to the latest firmware.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

Maybe you are looking for

  • Is there any way to change the screen resolution in Front Row?

    Hi all, I've got a Mac Mini plugged in to my TV, and I want to be able to change the screen resolution depending on the content I'm watching (as some content is in 4:3 aspect ratio, some is in 16:9, and I'd prefer to have the picture filling the scre

  • Mail on iCloud

    Apple i Cloud is an amateurial service notwithstanding we pay for it. It makes Blackberry looks like a giant! They need a serious cut on their share values!!!

  • Anyone knows Code For Text Background Color

    Hello Everyone. I am making a game Black Jack. I did averything the game is working perfectly but with one BUG!. I put a picture of casino table in the backgground...and when i ask the user to enter if he wants to hit or stay ...my backround color wh

  • Purchasing songs from other countries.

    Is it possible to buy songs from another country, in this case from the japanese itunes site? I'd like to use my own itunes profile. I just think that its lame that you can only purchase songs from your own country. Whats the point of having itunes t

  • Deliveiry complete indicator in scheduling agreement

    Hello Gurus, If i make Goode receipt via migo (good reiept for purchase order document), the delivery complete indicator in the purchase order is set if the quantity is with in the tolerance defined in the material. On the other hand when i am doing