Confusion of creation for the log file

SQL*Plus: Release 10.2.0.3.0 - Production on Mon Mar 11 11:42:45 2013
Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.
There is some initialization parameters that decide the location of the log online redo generally files. These initialization parameters are

-DB_CREATE_ONLINE_LOG_DEST_n
-DB_RECOVERY_FILE_DEST
-DB_CREATE_FILE_DEST

I did not understand the level of priority of these settings if you assign each of them to create the online journal file, if I put all these setting then by creating online log file always va-the path that define in the DB_CREATE_ONLINE_LOG_DEST_n parameter and ignores the other parameters (DB_RECOVERY_FILE_DEST DB_CREATE_FILE_DEST).

If I just set the last two (DB_RECOVERY_FILE_DEST, DB_CREATE_FILE_DEST) and do not set the DB_CREATE_ONLINE_LOG_DEST_n created in the two location DB_RECOVERY_FILE_DEST, DB_CREATE_FILE_DEST log file) with mirrored mechanisim.
SQL> select name,value
  2    from v$parameter
  3   where upper(name) in ('DB_CREATE_ONLINE_LOG_DEST_1','DB_RECOVERY_FILE_DEST','DB_CREATE_FILE_DEST')
  4  /

NAME                                                                             VALUE
-------------------------------------------------------------------------------- -------------------
db_create_file_dest                                                              D:\ORACLE\PRODUCT\10.2.0\DB_1\dbfile
db_create_online_log_dest_1
db_recovery_file_dest                                                            D:\oracle\product\10.2.0\db_1\flash_recovery_area


SQL> select * from v$logfile
  2  /

    GROUP# STATUS  TYPE    MEMBER                                                                               
---------- ------- ------- -------------------------------------------------------------------------
         3         ONLINE  D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG                                     
         2         ONLINE  D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG                                     
         1 STALE   ONLINE  D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG                                     


SQL> alter database add logfile
  2  /

Database altered.

SQL> select * from v$logfile
  2  /

    GROUP# STATUS  TYPE    MEMBER                                                                                       
---------- ------- ------- -------------------------------------------------------------------------
         3         ONLINE  D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG                                             
         2         ONLINE  D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG                                             
         1 STALE   ONLINE  D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG                                             
         4         ONLINE  D:\ORACLE\PRODUCT\10.2.0\DB_1\DBFILE\ORCL\ONLINELOG\O1_MF_4_8MTHLWTJ_.LOG                    
         4         ONLINE  D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\ONLINELOG\O1_MF_4_8MTHLZB8_.LOG
As you can see above the result, create a log file share setting the parameters DB_RECOVERY_FILE_DEST, DB_CREATE_FILE_DEST), when I set the DB_CREATE_ONLINE_LOG_DEST_1 parameter, the log file creation is going to set in the DB_CREATE_ONLINE_LOG_DEST_1 parameter only, no matter what you set for DB_RECOVERY_FILE_DEST DB_CREATE_FILE_DEST). You can go there.
SQL> alter database drop logfile group 4
  2  /

Database altered.

SQL> select * from v$logfile
  2  /

    GROUP# STATUS  TYPE    MEMBER                                                                       
---------- ------- ------- -------------------------------------------------------------------------
         3         ONLINE  D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG                             
         2         ONLINE  D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG                             
         1 STALE   ONLINE  D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG                             


SQL> alter system set db_create_online_log_dest_1='D:\oracle' scope=both
  2  /

System altered.

SQL> select name,value
  2    from v$parameter
  3   where upper(name) in ('DB_CREATE_ONLINE_LOG_DEST_1','DB_RECOVERY_FILE_DEST','DB_CREATE_FILE_DEST')
  4  /

NAME                                                                             VALUE
-------------------------------------------------------------------------------- -------------------
db_create_file_dest                                                              D:\ORACLE\PRODUCT\10.2.0\DB_1\dbfile
db_create_online_log_dest_1                                                      D:\oracle
db_recovery_file_dest                                                            D:\oracle\product\10.2.0\db_1\flash_recovery_area

SQL> alter database add logfile
  2  /

Database altered.

SQL> select * from v$logfile
  2  /

    GROUP# STATUS  TYPE    MEMBER                                                                               
---------- ------- ------- -------------------------------------------------------------------------
         3         ONLINE  D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG                                     
         2         ONLINE  D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG                                     
         1 STALE   ONLINE  D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG                                     
         4         ONLINE  D:\ORACLE\ORCL\ONLINELOG\O1_MF_4_8MTJ10B8_.LOG                                       
My confusion here is why the mechanisim of (DB_RECOVERY_FILE_DEST, DB_CREATE_FILE_DEST) is him even while the same with both of them becomes differ when you set
'DB_CREATE_ONLINE_LOG_DEST_n '?

DB_CREATE_FILE_DEST is used if DB_CREATE_ONLINE_LOG_DEST_n is not defined.

Db_recovery_file_dest is used to multiplex logs files.
For example, if Oracle uses DB_CREATE_FILE_DEST (because DB_CREATE_ONLINE_LOG_DEST_n is not defined), it multiplexes the logfile to DB_RECOVERY_FILE_DEST if DB_RECOVERY_FILE_DEST is also defined.
If, however, DB_CREATE_ONLINE_LOG_DEST_1 is used, Oracle wait allows you to set the DB_CREATE_ONLINE_LOG_DEST_2 as well for the multiplexing of the file journal; Otherwise, it assumes that you do not want the multiplexed log file. The fact that the parameter ends with an n means that Oracle uses the n = 2 f or the multiplex if defined location.

Hemant K Collette

Tags: Database

Similar Questions

  • Identification of the WSA + CDA only (for the log files)

    Hi all

    I'm trying to configure a WSA so that my client can search the logs based on a user name Active Directory.  We use the transparent proxy and apply policies based on subnets - users are NOT authenticate the user to the proxy.

    I have install ADC and seems to be interacting with everything properly on the side of the AD and is currently matching user names and IP addresses.

    Now everything I read in the docs of the WSA and online wants that I set up the authentication of the user on this basis.  However, we do not want to use information from CDA to authenticate users, we just make sure he can we search the logs for "jdoe" instead of its IP address.  Is this possible?

    Thank you

    Brian

    ADC for ASO cannot be used for authentication of the proxy and is not possible to report only.

  • Error: Could not open the log file...

    I'm running Fusion 2.0 on an iMac intel with Leopard, and my guest is Vista. Fusion is shared by two users, so I put the package VM in users/shared/Virtual Machines / Vista. The two Admin using Fusion have read/write privileges. When I run Fusion I get this error window:

    Cannot open the log file "/ users/shared/Virtual Machines.localized / Windows Vista.vmwarevm/vmware.log» Check your configuration to ensure that the path specified for the log file is valid and that you have write privileges in this directory. The current log file is always ' /var/folders/R/rIUqaD5FrKi4RkZAfUtGE+++TM/-Tmp-//vmware-name/vmware-name-1414.log'.

    As I am new to VMware Fusion, I'm not sure what this means exactly, maybe that the log file is no longer in its original location? I don't know what is the log file for exactly or how to solve this problem. If someone could point me in the right direction to solve this problem, it would be much appreciated. I tried to search for this topic, but I can't find an account of a similar problem.

    Anyone know what the log file and the importance, in operations? I don't want to something important happening in the future.

    OK, so you use user "tligmohamed", and the record is the property of ' tligmohamed user, then give it the permissions read and write in the same window.

    Also note that things like snapshots and Suspend will NOT work when the sharing between users.  So, whenever you use Windows and plan on using it with another user the next time, you have to make a full "shutdown".

    And again, because the snapshot may not work properly (because the new files are named without the same permissions, you will need to manually adjust all), AutoProtect does not either, so don't forget that AutoProtect is disabled and you are not snapshots.

    This question also can be easily resolved by the start of the user giving the error and then a complete stop the virtual machine, open a session for that user and the other (which gave the error) and try to start it upward.

  • Where the log file is located (Win Vista) for the actions of OTHER USERS have taken to using the boxes in user account control?

    Where the log file is located (Win Vista) for the actions of OTHER USERS have taken to using the boxes in user account control?

    I use the version of Vista Home Premium.

    While I don't really like how the UAC area enters the information that tells it when to display the box tell me about your work of things on the UAC (I know an article exist on the web), is not how to answer this question.

    There is no log of UAC elevation file.

  • R12.2.5 Installation on OL 7.1 ERROR: RW-50010: error:-script returned an error: 1 RW-50004: error code when you run the external process.  Check the log file for more details

    I tried to install EBS 12.2.5 on OL 7.1 with rapidwiz and got this error when applying the unique patches in second File System

    "Second system logfile file - /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/logs/12021641.log.

    LOG FILE:

    _____________________________________________________________________________________________________________________________

    Step 0-8

    Command: /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/adrunfmw.sh

    Step 4 of 8: UNIX making pretreatment

    Running: chmod 777/db/oracle/OraInventory r

    chmod-r 777/db/oracle/OraInventory succeeded

    Step 4 of 8

    Performance: known appltest - c "/ app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/adrunfmw.sh".

    PHASE of INSTALLATION has BEGUN: APPS TECH STACK: Wed Dec 2 17:27:07 IST 2015

    runProcess_1

    StatusString installation of Applications Technology Stack

    Copy the temp area models

    Inventory name is: app_oracle_TEST_fs2_Oracle_EBS_app

    One-time fixes copy to temp area

    Remove JDK_TOP: / app/oracle/TEST/fs2/EBSapps/comn/util/jdk32 if there is

    / App/oracle/TEST/fs2/EBSapps/comn/util/jdk32 deleted directory

    Installation of WebLogic Server.

    With the help of /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instWLS.xml

    L'exécution de commande : /stageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/bin/java -cp /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd /... /j11067592_fnd.zip:/app/Oracle/test/FS2/inst/Apps/TEST_ebs122/Temp/ASInstallHome/FND/Java/3rdparty/stdalone/xmlparserv2.zip-Doracle.apps.fnd.txk.env_home=/app/oracle/TEST/fs2/EBSapps/appl/admin/TEST_ebs122/-Doracle.apps.fnd.txk.runtime.config=/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instWLS.xml oracle.apps.fnd.txk.config.InstallService

    WebLogic Server successfully installed

    Web Tier utility installation.

    With the help of /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instWeb.xml

    L'exécution de commande : /stageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/bin/java -cp /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd /... /j11067592_fnd.zip:/app/Oracle/test/FS2/inst/Apps/TEST_ebs122/Temp/ASInstallHome/FND/Java/3rdparty/stdalone/xmlparserv2.zip-Doracle.apps.fnd.txk.env_home=/app/oracle/TEST/fs2/EBSapps/appl/admin/TEST_ebs122/-Doracle.apps.fnd.txk.runtime.config=/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instWeb.xml oracle.apps.fnd.txk.config.InstallService

    Level successfully installed Web utilities

    Registration EBSUsing /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instEBS.xml

    L'exécution de commande : /stageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/bin/java -cp /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd /... /j11067592_fnd.zip:/app/Oracle/test/FS2/inst/Apps/TEST_ebs122/Temp/ASInstallHome/FND/Java/3rdparty/stdalone/xmlparserv2.zip-Doracle.apps.fnd.txk.env_home=/app/oracle/TEST/fs2/EBSapps/appl/admin/TEST_ebs122/-Doracle.apps.fnd.txk.runtime.config=/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instEBS.xml oracle.apps.fnd.txk.config.InstallService

    EBS registered successfully

    Rename/home/appltest/bea/beahomelist in /home/appltest/bea/beahomelist.29266 to avoid problems during WLS

    patching

    / Home/appltest/Bea/beahomelist renamed successfully.

    Application of ad hoc patches

    With the help of /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instASpatches.xml

    L'exécution de commande : /stageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/bin/java -cp /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd /... /j11067592_fnd.zip:/app/Oracle/test/FS2/inst/Apps/TEST_ebs122/Temp/ASInstallHome/FND/Java/3rdparty/stdalone/xmlparserv2.zip-Doracle.apps.fnd.txk.env_home=/app/oracle/TEST/fs2/EBSapps/appl/admin/TEST_ebs122/-Doracle.apps.fnd.txk.runtime.config=/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instASpatches.xml oracle.apps.fnd.txk.config.InstallService

    Fatal error: T2K install Service

    oracle.apps.fnd.txk.config.ProcessStateException: OPatch process failed: Output = 1 see log for more details. CMD = perl /app/oracle/TEST/fs2/FMW_Home/webtier/OPatch/opatch.pl apply - verbose - silent - ocmrf /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd/admin/template/txkForms_ocm.rsp jdk - / app/oracle/TEST/fs2/FMW_Home/webtier/jdk/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/patches/7695070/7695070

    at oracle.apps.fnd.txk.config.OPatchActionNode.processState(OPatchActionNode.java:312)

    at oracle.apps.fnd.txk.config.PatchActionNode.processState(PatchActionNode.java:187)

    at oracle.apps.fnd.txk.config.PatchNode.processState(PatchNode.java:338)

    at oracle.apps.fnd.txk.config.PatchesNode.processState(PatchesNode.java:79)

    at oracle.apps.fnd.txk.config.InstallNode.processState(InstallNode.java:68)

    at oracle.apps.fnd.txk.config.TXKTopology.traverse(TXKTopology.java:594)

    at oracle.apps.fnd.txk.config.InstallService.doInvoke(InstallService.java:224)

    at oracle.apps.fnd.txk.config.InstallService.invoke(InstallService.java:237)

    at oracle.apps.fnd.txk.config.InstallService.main(InstallService.java:291)

    Can not install the unique patches

    RW-50010: error:-script returned an error: 1

    RW-50004: Error Code when you run the external process.  Check the log file for more details.


    It was recorded in /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/logs/12021641.log and I don't know how to find another newspaper for such details as mentioned in this journal. Please help me with that.


    Concerning

    KasunA

    Found a workaround.  The problem is that, before the 7695070 patch is applied, the installation program backup directory/apps/fs2/FMW_Home/webtier/jdk in /apps/fs2/FMW_Home/webtier/jdk_backup_existing_version, but then it clears. / jdk - the patch fails because it can't find it.  I had to rename the directory of the jdk for jdk2, and as soon as it gets deleted quickly and rename jdk2 jdk.  Then he applies the patches without problem.  A symbolic link would do the same thing.

  • Waiting for redo log file missing when restore main database using RMAN backup that was taken on the database physical standby

    Here's my question after tons of research and test without have the right solutions.

    Target:

    (1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".

    (2) I created physical standby database "stbydb" on the server "node2".

    (3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.

    (4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)

    (5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)

    (6) I do RMAN backup (database and archivelog) on the site of relief only.

    (7) I want to use this backup for full restore of the database on the primary database.

    He is a DR test to simulate the scenario that has lost every primary & Eve total servers.

    Here is how to save, on the database pending:

    (1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files

    (2) RMAN > backup database;

    (3) RMAN > backup archivelog all;

    I got elements of backup and copied to primary db Server something like:

    /Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)

    /Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)

    /Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)

    So here's how to restore, on the main site:

    I clean all the files (data files, controlfiles oder all gone).

    (1) restore spfile from pfile

    RMAN > startup nomount

    RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    (2) modify pfile to convert to db primary content. pFile shows below

    *.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '

    * .audit_trail = "db".

    * full = '12.1.0.2.0'

    *.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'

    * .db_block_size = 8192

    * .db_domain = "

    *.db_file_name_convert='/testdb/','/testdb /'

    * .db_name = "testdb".

    * .db_recovery_file_dest ='/ orafra'

    * .db_recovery_file_dest_size = 10737418240

    * .db_unique_name = "testdb".

    *.diagnostic_dest='/opt/Oracle/DB '

    * .fal_server = "stbydb".

    * .log_archive_config = 'dg_config = (testdb, stbydb)'

    * .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"

    * .log_archive_dest_state_2 = 'ENABLE '.

    *.log_file_name_convert='/testdb/','/testdb /'

    * .memory_target = 1800 m

    * .open_cursors = 300

    * runoff = 300

    * .remote_login_passwordfile = "EXCLUSIVE."

    * .standby_file_management = "AUTO".

    * .undo_tablespace = "UNDOTBS1.

    (3) restart db with updated file pfile

    SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'

    SQLPLUS > the judgment

    SQLPLUS > startup nomount

    (4) restore controlfile

    RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    RMAN > change the editing of the database

    (5) all elements of backup catalog

    RMAN > catalog starts by ' / home/oracle/backupset / '.

    (6) restore and recover the database

    RMAN > restore database;

    RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)

    (7) open resetlogs

    RMAN > alter database open resetlogs;

    Everything seems perfect, except one of the file log roll forward pending is not generated

    SQL > select * from v$ standby_log;

    ERROR:

    ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'

    ORA-27037: unable to get file status

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    no selected line

    I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.

    So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.

    And I got the same missing log file.

    The problem is:

    (1) complete alert.log filled with this error, not the concern here

    (2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."

    (3) I can't delete and re-create this log file

    Then I tried several and found:

    The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.

    For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

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

    4 19 ACTIVE 133632

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    So until I take the backup, I tried on the primary database:

    SQL > alter system set log_archive_dest_state_2 = delay;

    This was the Group of standby_log side Eve #4 was released:

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

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

    4 0 0 UNASSIGNED

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    Then, the backup has been restored correctly without missing standby logfile.

    However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.

    Finally, my real questions come:

    (1) what I do may not do on parameter change?

    (2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?

    I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...

    And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.

    I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.

    Your idea is very much appreciated.

    Thank you!

    Hello

    1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.

    2nd--> when we opened the ORL database should be deleted and created

    3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.

    DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;

    THREAD # SEQUENCE # GROUP # STATUS

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

    1 233 4 ACTIVE

    1 238 5 ACTIVE

    DR sys@cdb01 SQL > select * from v$ logfile;

    GROUP # STATUS TYPE MEMBER IS_ CON_ID

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

    3 /u03/cdb01/cdb01/redo03.log no. 0 online

    /U03/cdb01/cdb01/redo02.log no. 0 2 online

    1 /u03/cdb01/cdb01/redo01.log no. 0 online

    4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0

    /U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory

    DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log

    DR sys@cdb01 SQL > alter database force claire logfile 4;

    change the database group claire logfile 4

    *

    ERROR on line 1:

    ORA-01156: recovery or current flashback may need access to files

    DR sys@cdb01 SQL > alter database recover managed standby database cancel;

    Database altered.

    DR sys@cdb01 SQL > change the database group claire logfile 4;

    Database altered.

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log

    DR sys@cdb01 SQL >

    If you do, you can recreate the controlfile without waiting for redo log entry...

    If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".

    Thank you

  • I have to create the new group for waiting for redo log files?

    I have 10 group of files redo log with 2 members of each group for my primary database, I need to create new group for redo log files for the database of relief pending

    Group # members

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

    1              2

    2              2

    3             2

    4             2

    5             2

    6             2

    7             2

    8             2

    9             2

    2 of 10

    If so, the following statement is correct? or nto

    ALTER DATABASE ADD STANDBY LOGFILE GROUP 1 ('D:\Databases\epprod\StandbyRedoLog\REDO01.) LOG',D:\Databases\epprod\StandbyRedoLog\REDO01_1.log');

    Please correct me if am doin wrong

    because when I run the statement I have error message saying: the group is already created.

    Thanks John

    I just found the answer

    Yes, it of recomeded to add the new group, for instnace if I have 10 group of 1 to 10, then the wait should be from 11 to 20

    Thanks I found the answer.

  • Generate the log file for the dialog box

    Hi all


    I'm generating information for the dialog box as a .txt log file format. That means that if the box is checked, the log file will be give ' checkbox1 - 01.»   Check the report, sizes against the information on tickets and slug jobs"is checked


    If the checkbox is not checked, the log file will be give ' checkbox1 - 01.»   Check the report, sizes against ticket and slug information on employment"is not checked


    and also the entry "myText2" also needs to generate the log file


    Can someone help on this... Help would be appreciated!



    var l is new window ('dialogue');.

    myGroup1 var = w.add ("panel", undefined, ' P & & G check the list ');

    myGroup1.alignChildren = 'left ';

    CheckBox1 var = myGroup1.add ("checkbox", not defined, '01.   (Check the ratio, size against the information on tickets and slug jobs");

    CheckBox2 var = myGroup1.add ("checkbox", not defined, '02.   "" "Check images are linked");

    var checkbox3 = myGroup1.add ("checkbox", not defined, '03.   Visually check the progress of KV/model/CP images");

    var checkbox4 = myGroup1.add ("checkbox", not defined, '04.   Visually check the progress of other elements such as Logo and bottle");

    var checkbox5 = myGroup1.add ("checkbox", not defined, '05.   Check the positioning of the markup language");

    var checkbox6 = myGroup1.add ("checkbox", not defined, '06.   Ensure that all measures are calculated Live based area");

    var checkbox7 = myGroup1.add ("checkbox", not defined, '07.   After that the resizing of the picture KV frame open to cut and bleed");

    var checkbox8 = myGroup1.add ("checkbox", not defined, '08.   Complete Magenta if there is insufficient image');

    var checkbox9 = myGroup1.add ("checkbox", not defined, '09.   ("To ensure that the document's bleed, crop gutter and slug information brands ');

    var checkbox10 = myGroup1.add ("checkbox", not defined, '10.   Make sure that the final work is updated on the server");

    var checkbox11 = myGroup1.add ("checkbox", not defined, '11.   ("Enter time cmd");

    var myGroup2 = w.add ('panel', undefined, 'The operator name');

    var myText2 = myGroup2.add ("edittext", undefined, "");

    myText2.characters = 25;

    myGroup2.orientation = 'left ';

    var buttons = w.add ("group");

    Buttons.Add ('button', undefined, 'Export to PDF', {name: 'ok'});

    Buttons.Add ('button', undefined, 'Cancel');

    w.Show ();

    ~ group();

    ~ If (myGroup1.alignChildren.value! = true) {}

    ~ alert ('yes')

    //~ }


    myDoc = app.activeDocument;

    w = [];


    DESCRIPTION: Make a TXT file

    myDoc = app.activeDocument;

    Log1 = makeLogFile (app.activeDocument.name.split('.') ([0], myDoc, true);

    log (log1, app.activeDocument.name);

    ~ log2 = makeLogFile ("test", myDoc, false);

    ~ Journal (log2, "Text file log base 2");

    Log1. Execute();

    ~ log2.execute ();

    function makeLogFile (aName, aDoc, deleteIt) {}

    var logLoc; path to the folder that will contain the log file

    try {}

    logLoc = aDoc.filePath;

    } catch (e) {}

    logLoc = getmyDoc (). parent.fsName

    }

    var queue = aFile (logLoc + "/" + name + ".txt");

    If {(deleteIt)

    aFile.remove ();

    return aFile;

    }

    var n = 1;

    so that {(aFile.exists)

    aFile = File (logLoc + "/" + String (n) + ".txt" aName);

    n ++

    }

    return aFile

    }

    function getScriptPath() {}

    try {}

    Return app.activeScript;

    } catch (e) {}

    Return File (e.fileName);

    }

    }

    function log (aFile, message) {}

    var today = new Date();

    If (! aFile.exists) {}

    do the new log file

    aFile.open ("w");

    aFile.write (String (today) + "\n");

    aFile.close ();

    }

    }

    function log (aFile, message) {}

    var text = o;

    If (! aFile.exists) {}

    do the new log file

    aFile.open ("w");

    aFile.write (message + "\n" + "\n" + String (w) + "\n");

    aFile.close ();

    }

    ~ aFile.open ("e");

    ~ aFile.seek (0.2);

    ~ aFile.write ("\n" + message);

    ~ aFile.close ();

    }

    myDoc.close (SaveOptions.no);

    Thanks in advance

    Steve

    Hi Steve,.

    There are some errors in your code.

    1. function 'getmyDoc' is used, but not created.
    2. fucntion 'getScriptPath' is created but not used. (In any case, this will not give you error)
    3. function 'journal' has defined two times with the same length of the parameter.

    etc...

    Here, I have modified your code. Try this.

    var w = new Window ("dialog");
    var myGroup1 = w.add('panel', undefined, 'P&&G Check List');
    myGroup1.alignChildren = "left";
    var checkbox1 = myGroup1.add ("checkbox", undefined, "  01.  Check the ratio, sizes against job ticket and slug information");
    var checkbox2 = myGroup1.add ("checkbox", undefined, "  02.  Check images are linked");
    var checkbox3 = myGroup1.add ("checkbox", undefined, "  03.  Visually check the progression of KV/Model/CP images");
    var checkbox4 = myGroup1.add ("checkbox", undefined, "  04.  Visually check the progression of other elements like Logo and Bottle");
    var checkbox5 = myGroup1.add ("checkbox", undefined, "  05.  Check the placement of Language Tagging");
    var checkbox6 = myGroup1.add ("checkbox", undefined, "  06.  Ensure that all measurements are calculated based on Live area");
    var checkbox7 = myGroup1.add ("checkbox", undefined, "  07.  After resizing the KV image frame opened up to trim and bleed");
    var checkbox8 = myGroup1.add ("checkbox", undefined, "  08.  Fill Magenta if there is inadequate image");
    var checkbox9 = myGroup1.add ("checkbox", undefined, "  09.  Ensure the document has bleed, crop marks, gutter marks and slug information");
    var checkbox10 = myGroup1.add ("checkbox", undefined, "  10.  Ensure the final artwork is updated in the Server");
    var checkbox11 = myGroup1.add ("checkbox", undefined, "  11.  Enter time in CMD");
    var myGroup2 = w.add('panel', undefined, ' Operator Name');
    var myText2 = myGroup2.add("edittext", undefined, "");
    myText2.characters = 25;
    myGroup2.orientation = "left";
    var buttons = w.add ("group");
    buttons.add ("button", undefined, "Export PDF", {name: "ok"});
    buttons.add ("button", undefined, "Cancel");
    w.show ();
    myDoc = app.activeDocument;
    log1 = makeLogFile(app.activeDocument.name.split('.')[0], myDoc, true);
    log(log1, app.activeDocument.name);
    log1.execute();
    function makeLogFile(aName, aDoc, deleteIt)
    {
        var logLoc = "";
        try
        {
            logLoc = aDoc.filePath;
            } catch (e) {}
        var aFile = File(logLoc + "/" + aName + ".txt");
        var n = 1;
        while (aFile.exists)
        {
            aFile = File(logLoc + "/" + aName + String(n) + ".txt");
            n++;
            }
        return aFile
        }
    function log(aFile, message)
    {
        var text = w;
        var rep = "";
        if (!aFile.exists)
        {
            aFile.open("w");
            var today = new Date();
            rep += String(today) + "\n";
            rep += message + "\n" + "\n\n";
            for(var i =0;i
    

    Kind regards

    Cognet

  • What is the purpose of waiting for redo log files

    Hello

    What is the purpose of the log files waiting for redo in the Dr?

    What happens if the standby redo log files are created? or else is not created?

    Please explain

    Thank you

    Re: what is the difference between onlinelog and standbylog

    I mentioned the goal of the eve of the redo log in RD files in above thread.

    Concerning
    Girish Sharma

  • How to change the location of the log file in File Appender for log4j when used with the logic of the Web?

    I use log4j with weblogic

    I want to change the location of the log file in File Appender.

    I have tried providing another place but it will create the file in the same place in mydomain

    even if it has been changed in the log4j.xml.

    No idea why it's happening or what I can do to change the location of my log File? Thank you!

    Everything is perfect just replace '-' with "/" in the given file path.

  • Where is the log file for adworker?

    Hello world
    In eBS under unix, where each adworker logs?
    Any idea?
    Thank you very much
    Concerning

    Hello

    It's under $APPL_TOP/admin //log directory, search for adwork*.log files.

    Kind regards
    Hussein

  • imageFORMULA CR-180 check the log file to scan

    Hello

    I work with an imageFORMULA CR-180 check Scanner and when executing a good amount (longer than 100) of the controls, I noticed that the scan control stops and a pop-up window appears on the Analysis ToolPak asked if I would like to replace my log file and start over.

    The software that I use is called "Utility scan for CR-180II" and the log file contains the information of MICR line controls scanned, as well as the date of the analysis, and the location of the file to the images captured from the parser.

    Log file options under "Options-> MICR data parameters.

    What I do, it is by clicking on ' no, I want to overwirte the file ", stop the scan, moving the log of the 'old' file, restart the scanning and backup to a new log file.

    Is there anyway to work around this problem and record continuously in the same log file?

    Is there a memory limit on the scanner?

    This is the Web page of the scanner that I use:

    http://www.USA.Canon.com/Cusa/support/Office/imageformula_scanners/imageformula_cr_180_cr_180ii/imag...

    Hi lendjones!

    Thanks for posting in the Forum! Canon does not provide direct support for imageFORMULA product series, but your dealer will be able to help you! If you do not have a reseller, please call us at 1-800-OKCANON (652-2666) and we will be happy to provide you with dealers who are in your area.

  • KB2686509 fails to install, said lack of prerequisite useful and check the log file.

    I am running Windows XP on a Toshiba Satellite computer laptop, Intel PIII, 847 Mhz processor.  I installed SP3.

    Here are the contents of the log file:

    3,695: 17:49:52.498 27/01/2013 (local)
    3,695: c:\fb66e1fe6323f2b745bfc5d1\update\update.exe (version 6.3.13.0)
    3.755: DoInstallation: GetProcAddress (InitializeCustomizationDLL) returned: 0x7f
    3,775: hotfix started with following command line:
    3,775: in function GetReleaseSet, line 1211, RegOpenKeyEx failed with error 0x2
    3,775: in function GetReleaseSet, line 1240, RegOpenKeyEx failed with error 0x2
    3,805: CreateUserInterface: GetProcAddress for DefineInstallCustomUI failed: 0x7f
    3.946: return the value of IsMachineSafe = 0
    3.946: IsMachineSafe return 441092
    3.946: condition in Prereq.IsMachineSafe.Section failed with the fist
    3.946: Check condition for 1 line of prerequisite returned FALSE
    3.956: ReadStringFromInf: UpdSpGetLineText failed: 0xe0000102
    3.966: KB2686509 Setup has encountered an error: Setup cannot continue because one or more prerequisites required for the installation of KB2686509 failed. For more details, check the c:\windows\KB2686509.log log file
    3.996: ReadStringFromInf: UpdSpGetLineText failed: 0xe0000102
    3.996: Setup cannot continue because one or more prerequisites required for the installation of KB2686509 failed. For more details, check the c:\windows\KB2686509.log log file
    13.830: message displayed to the user: Setup cannot continue because one or more prerequisites required for the installation of KB2686509 failed. For more details, check the c:\windows\KB2686509.log log file
    13.830: user input: OK
    13.830: Update.exe extended error code = 0xf0f4
    13.830: Update.exe return code was masked to 0 x 643 for MSI custom action compliance.

    Here is the content of the faultykeyboard log file:

    kbdsp.kbd
    kbdsp.kbd
    kbdno.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    Kbdus.kbd
    kbdla.kbd
    Kbdus.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdycl.kbd

    Thanks for your help!

    I've seen this before. Check this.

    http://social.technet.Microsoft.com/wiki/contents/articles/10876.kb2686509-failure-due-to-upgrade-from-Windows-Me-or-98-to-Windows-XP.aspx

  • Is this OK to remove most or all the *.log files?

    Windows XP Media Center Edition SP3 on Gateway Intel system double heart Hz 6300, 1.86, 3.24 GB/ram, 320 GB hard drive.

    He is allowed to delete most or all the *.log files, or would be a serious mistake?

    I never used for anything else than to troubleshooting, then very rarely.  So I would delete them to your heart's content.  However, I must point out that they do not have enough disk space amount to something meaningful, so there is really no need to worry about them.

    I hope this helps.  Good luck.

  • Send the log file only works on Simulator

    Hello together,

    I added the ability for our users to send a log file of the application for me (author). Its a business application. We have now deployed version and now the log file is NOT attached to the email.

    The code I am using:

    void ApplicationUI::sendLogfile()
    {
        InvokeRequest request;
        request.setAction("bb.action.COMPOSE");
        request.setMimeType("message/rfc822");
        QVariantMap data;
        data["to"] = (QVariantList() << "[email protected]" << "[email protected]");
        data["subject"] = "ceAuToApp Logdatei";
        QString fileName = QString("log.txt.%1").arg(QDate::currentDate().toString("yyyy-MM-dd"));
        QString filePath = QString("logs/%1").arg(fileName);
        QString logpath = QString("shared/misc/%1").arg(fileName);
        QFile::remove(logpath);
        QFile::copy(filePath,logpath);
        QString logpathEncoded = QString(QUrl(logpath).toEncoded());
        data["attachment"] = (QVariantList() << logpathEncoded);
        QVariantMap moreData;
        moreData["data"] = data;
        bool ok;
        request.setData(bb::PpsObject::encode(moreData, &ok));
        InvokeManager manager;
        manager.invoke(request);
    }
    

    QML:

    Button {
                text: qsTr("Logdatei an Entwickler senden")
                onClicked: {
                    _ApplicationUI.sendLogfile()
                }
                horizontalAlignment: HorizontalAlignment.Center
            }
    

    Any ideas why it works on Simulator as well as on the device (running in developer mode) but not within the company? Thanks for your help.

    Sven

    He got together with the following code:

    void ApplicationUI::sendLogfile()
    {
        InvokeRequest request;
        request.setAction("bb.action.COMPOSE");
        request.setMimeType("message/rfc822");
        QVariantMap data;
        data["to"] = (QVariantList() << "[email protected]" << "[email protected]");
        data["subject"] = "ceAuToApp Logdatei";
        QString fileName = QString("log.txt.%1").arg(QDate::currentDate().toString("yyyy-MM-dd"));
        QString filePath = QDir::currentPath() + QDir::separator() + QString("logs/%1").arg(fileName);
        QString logpath = QDir::currentPath() + QDir::separator() + QString("shared/misc/%1").arg(fileName);
        QFile::remove(logpath);
        QFile::copy(filePath,logpath);
        QString logpathEncoded = QString(QUrl(logpath).toEncoded());
        data["attachment"] = (QVariantList() << logpathEncoded);
        QVariantMap moreData;
        moreData["data"] = data;
        bool ok;
        request.setData(bb::PpsObject::encode(moreData, &ok));
        InvokeManager manager;
        manager.invoke(request);
    }
    

Maybe you are looking for

  • Bookmark button is blank grey bar action

    When I double click on the star hollow to insert a bookmark, the bookmark "Button of Action" dialog box is a grey bar empty, somewhat truncated. He said: "Delete bookmark", etc. This happened a few versions of FF there is.

  • stripping of the channels

    I have a hexadecimal value of 3D and want to get rid of the 3 I tried to convert it into a U8 which did not work, anyone had any ideas on how I can do this. ??? Thanks in advance Thomas

  • How can I connect my Windows Media Center to my DVR Verizon Wireless?

    Every source I checked (so far) says that I have to buy a TV Tuner card, but they seem to cost a lot (for just a single-use item) so I would like to know if I can do wireleslley.

  • Windows 7 Professional 32 bit. Printer Spooler problem. Cannot print.

    I have Windows 7 Professional 32 bit. I did a clean install of Vista. Basically I'm not able to add a printer, because of the many errors I get. If I go to the printers-> add printer. I got the error: "Windows can't open add printer." The local print

  • Impossible to get Google Recaptcha to work

    I have a form using Google Recaptcha, but when I submit him and empty the form on the page of success I can see the value of G-RECAPTCHA-RESPONSE, but if I try to do something with it I get a message error "Variable G is undefined".Is not the right w