problem to the primary database

Jin

a little on my system

Windows xp SP2, oracle 10.2.1.0

I'm trying to create datbase Eve for my relative DB (main site)

When I start the DB by pfile

IAM fetting this error

SQL > startup pfile=C:\oracle\product\10.2.0\db_1\database\initparent.ora
ORA-16187: LOG_ARCHIVE_CONFIG contains duplicate, conflicting or invalid attributes

the pfile file content

parent.__db_cache_size = 100663296
parent.__java_pool_size = 4194304
parent.__large_pool_size = 4194304
parent.__shared_pool_size = 54525952
parent.__streams_pool_size = 0
*.audit_file_dest='C:\oracle\product\10.2.0/admin/parent/adump'
*.background_dump_dest='C:\oracle\product\10.2.0/admin/parent/bdump'
* full = '10.2.0.1.0'
*.control_files='C:\oracle\product\10.2.0/oradata/parent/\control01.ctl','C:\oracle\product\10.2.0/oradata/parent/\control02.ctl','C:\oracle\product\10.2.0/oradata/parent/\control03.CTL '
*.core_dump_dest='C:\oracle\product\10.2.0/admin/parent/cdump'
* .db_block_size = 8192
* .db_domain = "
* .db_file_multiblock_read_count = 16
* .db_name = "parent".
*. Dispatchers ='(Protocol=TCP) (SERVICE = parentXDB)"
* .job_queue_processes = 10
* .open_cursors = 300
* .pga_aggregate_target = 16777216
* runoff = 150
* .remote_login_passwordfile = "EXCLUSIVE."
* .sga_target = 167772160
* .undo_management = "AUTO".
* .undo_tablespace = "UNDOTBS1.
*.user_dump_dest='C:\oracle\product\10.2.0/admin/parent/udump'
* .db_unique_name = "parent".
*. LOG_ARCHIVE_CONFIG = 'DG_CONFIG (parent, STBY)'
*. LOG_ARCHIVE_DEST_1='LOCATION=C:\oracle\product\10.2.0\db_1\database\archive\
VALID_FOR (ALL_LOGFILES, ALL_ROLES)
DB_UNIQUE_NAME = parent"
*. LOG_ARCHIVE_DEST_2 = "SERVICE = stby LGWR ASYNC
VALID_FOR (ONLINE_LOGFILES, parent_ROLE)
DB_UNIQUE_NAME = stby'
*. LOG_ARCHIVE_DEST_STATE_1 = ENABLE
*. LOG_ARCHIVE_DEST_STATE_2 = ENABLE
*. LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
* .fal_server = stby
* .fal_client = parent


I've seen the format of the parameter log_archive_format

There is nothing wrong with it and I can't move on

any suggestions?

Hello

There is a typo in your file pfile.

use

LOG_ARCHIVE_CONFIG = "DG_CONFIG = (parent, stby)"

you have foreggeten to use '=' sighn

Anil Malkai

Tags: Database

Similar Questions

  • No index on the primary database. Need help with "COUNT OFF"; option

    11 GR 2 11.2.0.3 under linux

    Hi everyone,.

    It's an honor to be with you guys.

    I have a big question here and I am unable to decide on a permanent solution.

    We have a primary database that is configured to have a logical expectation.

    The logic of the day before was not built by me. But I'm now support...

    So as the title suggests, there is NO primary index / unique + not null on a large number of tables in the database of emergency primary/logic. But the application logic guarantees uniqueness values rather than null.

    Here is where the problem starts.

    Guys request DO NOT want us to create an index on the primary database.

    According to my understanding, because the database lack of clues, the apply SQL must do a full table scan whenever it changes / remove data. It is a very expensive process and consumes a lot of time. This takes hours together to apply a minute with a value of newspapers on the logic of the eve... A huge lag is created during the hours and is not acceptable.

    So as I told you earlier, the guys request do not want an index on the tables not supported.

    They use the database pending logic exclusively for information purposes and it's like production for them...


    Let me give an overview...

    According to the document on the creation of the logic of the day before for 11.2 as below

    http://docs.Oracle.com/CD/E11882_01/server.112/e41134/create_ls.htm#SBYDB4730

    Step 1 to find tables without identifying unique logic in the primary database.

    Query the DBA_LOGSTDBY_NOT_UNIQUE view to display a list of tables SQL may not apply be able to uniquely identify. For example:

    SQL> SELECT OWNER, TABLE_NAME FROM DBA_LOGSTDBY_NOT_UNIQUE
     2> WHERE (OWNER, TABLE_NAME) NOT IN 
    3> (SELECT DISTINCT OWNER, TABLE_NAME FROM DBA_LOGSTDBY_UNSUPPORTED) 
    4> AND BAD_COLUMN = 'Y'; 

    The above query has 1040 tables in a particular schema. All the these have no index is not null primary / unique.


    Now according to the step 2 as below, we have an option to add a disabled RELY primary key constraint.

    Step 2 Add a disabled RELY primary key constraint.

    If your application provides the rows in a table are unique, you can create a primary key disabled RELY constraint on the table. This avoids the overhead of maintaining a primary key on the primary database.

    Can someone explain what this RELY constraint is disabled and how to function and help please?


    I have a few questions about the constraint to RELY.

    (1) change current plans of optimizer on primary for the execution price?

    (2) can help to boost the performance of SQL apply without creating index on the logical standby database?

    (3) it will change current plans of optimizer logical pending for the SQLs running?

    What are the options that I need to increase the performance and table scan complete engine AVOID SQL apply on the logic of the day before?

    Thanks a ton for reading my post.


    Kind regards

    Abhishek

    In fact, I've implemented a key primary rely disabled on primary and unique index on the logic of the previous day.

    The logic of Eve runs lightning fast now

  • Retrieve the primary database before database

    Hi all
    I'm trying to understand how to use databases of physical sleep in order to have a backup from a primary database.

    The first part is very clear. I guess I have a loan of the physics of the standby database and primary database archiving, but the second part is the problem.

    1. now, I guess my primary database went... not only a logical corruption but a physical disaster such an o fire something worse.
    How to recover the main site of the physical database ensures?

    2. just logical changes in the primary database. How to synchronize with the database on hold that he is one who has the right data?


    Thanks in advance.

    Published by: jsfelix on November 18, 2009 04:48

    Published by: jsfelix on November 18, 2009 04:51

    If you lose the database, then you normally would failover to the standby mode it becomes the main new.

    So you take a backup of the first news and use it to create a watch on the former primary server. When it is updated, you can then pass to the original configuration.

  • logfile missing watch on the primary database

    In a 11.2.0.4 database, we have configured Data Guard, so they created pending log files, but it has been deleted in ASM + accidentally.

    Thus, research in the database primary, the newspaper observed log pending files, but is not in ASM +.

    In the alert log has not been recorded event.

    I can do the recreation of the eve logfiles?

    What role can have on the primary database?

    Our configuration:

    BECAUSE with 4 cases

    --

    logonline 5 groups for example

    each group of logonline with 2 members

    --

    6 standby of the group e.g.

    each group watches with 2 members

    Total 48 asm file missing

    Select *-Group #, Member

    v $ logfile where type = "STANDBY".

    order by group #.

    GROUP # STATUS TYPE MEMBER IS_RECOVERY_DEST_FILE

    No. 51 +DATA_EXA/prep/onlinelog/group_51.1613.804140169 EVE

    No. 51 +RECO_EXA/prep/onlinelog/group_51.2918.804140175 EVE

    No. 52 +DATA_EXA/prep/onlinelog/group_52.1614.804140479 EVE

    No. 52 +RECO_EXA/prep/onlinelog/group_52.4182.804140485 EVE

    ....

    .....

    74No. +DATA_EXA/prep/onlinelog/group_74.972.875418965 day BEFORE
    74No. +RECO_EXA/prep/onlinelog/group_74.14330.875418971 day BEFORE

    ASMCMD >

    ASMCMD > ls-l +DATA_EXA/prep/onlinelog/group_74.972.875418965

    ASMCMD-8002: entry 'group_74.972.875418965' does not exist in the directory ' + prep/DATA_EXA/onlinelog /'

    ASMCMD >

    ASMCMD >

    Redologs Eve will be active when the database is in the role of Eve, so you can drop the watch group redologfile missing for the thread and add it again.

    You have lost all the groups newspaper waiting for redo for all threads?

    On primary, you can drop all odds redolog groups because they will be unassigned State on the standby database make sure the group is unassigned status before falling

    Select Group #, THREAD #, STATUS from v$ standby_log;

  • RMAN-06820: WARNING: unable to archive the current log on the primary database

    I got the following exception when I try to backup the data files and the archivelogs on the physical by uisng RMAN standby database.

    RMAN-06820: WARNING: unable to archive the current log on the primary database

    Target ORACLE database error:

    ORA-17629: unable to connect to the remote database server

    ORA-17627: ORA-00942: table or view does not exist

    It's the backup script

    "

    connection target sys/oracle

    Configure controlfile autobackup on;

    Run {}

    nocfau together;

    allocate channel ch01 device type disc format ' / test/%U';

    allocate channel ch02 device type disc format ' / test/%U';

    backup database copy archivelog;

    backup copy current controlfile;

    }

    "

    And there is no error ora in the primary alert log.

    I was able to tnsping two server (primary/secondary) properly and could also primary of the remote login on standby db server and switch logfile. I read there is a very similar thread, but it has failed so I post again and hope I could get a few clues. Thank you.

    Hello again;

    Try to change this:

    connection target sys/oracle

    to something like this:

    RMAN target sys/password@PRIMARY auxiliary.

    Complete example:

    http://www.Visi.com/~mseberg/data_guard/duprman2.html

    Best regards

    mseberg

  • How the standy database reflects the primary database?

    in the primary database create a tablespace or datafile adding / resizing then what happens to the standy database

    [url http://docs.oracle.com/cd/B14117_01/server.101/b10755/initparams206.htm] STANDBY_FILE_MANAGEMENT

  • Data file not shipped from the primary database to the standby database

    Hello

    (1) create a new user
    (2) created a new table space and add datafile on the primary database
    (3) the value tablespace default user

    But so far, this new data file is not delivered on the standby database.

    Version of database - 10.2.0.3
    OS - Windows

    Setting of primary and Standby: -.

    SQL > show parameter standby_file_management;

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    standby_file_management string AUTO

    Both have the same file system, but the difference is case sensitive.

    Primary data file location - D:\testdata

    Location of file data at rest - D:\TESTDATA

    Help, please.

    MRP process is running on the standby database?

    If it is then try to pass, log on the primary database and share your result.

  • LOG_ARCHIVE_DEST_2 parameter error and cannot start the primary database

    Hello
    I was getting errors in my RMAN backup script. I took a glance on the database settings. Looks like I made a mistake when I was in the LOG_ARCHIVE_DEST_2 setting in the standby database. Instead of putting on the eve I put it in the name of the primary instance. I also noticed that the LOG_ARCHIVE_DEST_2 setting has been changed in the primary database where I put it first. I guess he's changed when I changed the sleep setting. I have two questions:

    (1) can the parameter LOG_ARCHIVE_DEST_2 be changes for the correct setting now that I set it wrong. The reason why I ask is because when I tried to change by using the following ALTER SYSTEM command I got an error saying something about conflicting attributes. I guess it's because the name of the primary instance has been upgraded with the DB_UNIQUE_NAME instead of the name of the standby instance. If I could change the LOG_ARCHIVE_DEST_2 setting to sleep first then maybe I can change the primary to the correct setting? Please provide markets.

    ALTER SYSTEM SET LOG_ARCHIVE_DEST_2 ='SERVICE = < DB PRIMARY > ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = < PRIMARY_INSTANCE > '

    (2) the second question is you can start a database using a spfile? (I use ASM and Data Guard) I ask because while I was connected to the primary database I executed the following command:

    ALTER SYSTEM SET LOG_ARCHIVE_DEST_2 = 'SERVICE = < PRIMARY_INSTANCE > ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = < PRIMARY_INSTANCE >' scope = spfile;

    I then stop the database and try to start but it won't start because it says to conflicting attributes. I don't create a pfile from spfile file before you shut down the database. (I'm bad). How can I change the setting for the primary database to start over. (The PFILE file is different in ASM. There are sub + DATA but has only a single line indicating where is the location of the SPFILE) I need to run the following RMAN RESTORE CONTROLFILE FROM backup AUTOMATIC;

    Please help as it is a production environment that was supposed to be delivered only yesterday.

    Any help will be greatly appreciated!

    Thanks in advance.

    J

    I always use it. So my answer is Yes.

    Please consider several of the responses of CKPT marking "useful".

    He works very hard in the forum and didn't work great!

    I call it "SuperStar."

    Best regards

    mseberg

  • move the primary database files to another location

    Hi all

    I move the files of my primary database to another location on the same server, but on a different drive (from f: to G :) with rename comand but file name will be the same, after you have moved the files what step I need to perfom on standby DB will have on my database pending?)

    This doc is everything after you rename the primary file, I'm not rename all the files I need to just move file from one place to another without changing the file name.

    I hope you know how to move files from one place to the other on the primary database. It's not just copying the files from one disk to another and then to go to the top of your database.

    You rename your data files or copy it to another location, how the controlfile to know you have copied/renamed to a different location?

    I guess you 1 to ask the question of how to move files to a different location in primary education and then move on standby.

    Steps to follow:
    1 Hope you brought your primary database.
    2 copy the datafiels to one disk to another.
    3. attach the primary database.
    4 rename all data files that you moved to this control file would know the changes.
    SQL > alter rename file 'G:\oracle\user01.dbf' to 'F:\oracle\user01.dbf ';
    5. subsequently open the database.
    Refer this to move data files from one place to another http://www.orafaq.com/wiki/Move_datafile_to_different_location, http://www.adp-gmbh.ch/ora/admin/move_datafiles.html

    on autonomy in standby:
    1 cancel the MRP
    2. change the db_file_name_convert to point to «F:\»... »
    3. Mount the backup database
    4. start the MRP

    Hope that these steps are clear.

  • Pending passage of the primary database to database

    Hi Experts,

    There is a database of oracle 10 g on a windows server and the database pending 1 * 0 g on another windows server *. The archivelogs in the primary database are generated on a network drive and they are applied on a regular basis of the primary database to the standby database, but now the primary database server broke down. If someone can tell me how to failover the database ensures the primary. I followed these steps but still Iam unable to move forward

    on the standby server:

    1 rman target sys/oracle@standby catalog rman/rman@catalog
    2 recover database;
    3 output
    4 sqlplus sys/oracle@standby as sysdba
    5 change the recovery of database managed standby database disconnect from the session;
    6 alter database recover managed standby database finish;
    7 change the database for validation at the grade crossing;

    All records of the primary database in the backup catalog are applied with success, until no 6 but not 7 would give me an error indicating that the required media recovery. Can someone help me?

    Thanks in advance...

    HI srp.

    As u mentioned above you are primary database server crashed.

    Now, you want to switch to mode ensures primary school.

    Use the following commands to go to primary school

    1 startup nomount
    2. change the mounting base pending;
    3. recover standby database managed disconnect from the session.
    4 recover managed standby database finish skip standby logfile;
    5 change the database for validation at the grade crossing;
    6. immediate cessation
    7. starting

    Otherwise, you need to activate the standby database using the command sequence

    SQL > recover managed database finish pending;
    SQL > alter database activate standby database;
    SQL > stop & start.

    Kind regards
    Praful K

  • Can we create database of watch on the same server as the primary database

    I have Oracle 10 g Rel2, Windows server 2003 operating system. Can I create backup of database on the same server on which we have our primary database?

    Yes, you can
    You must configure the settings DB_FILE_NAME_CONVERT file
    If the standby database is on the same system as the primary database or if the structure of the directory where data files are located on the standby site is different from the primary site, this parameter is required.
    Please refer to the documentation:
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14237/initparams048.htm#REFRN10038

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com

  • Problems with the primary key of the query string

    Moving from asp to php, to work with David Power's book: The Essential Guide to Dreamweaver CS4 with CSS, AJAX, and PHP.  Recycling of my brain, so starting from scratch in the learning process.

    Everything was going perfectly until I tried to add the primary key of a record in a query string.  I compared my code with the example code for the book, and everything matches.  When previewing the page in my browser and hover over the link which must pass the main code on the next page, the query string does not appear correctly.  It shows user_id = but no figure shows, as it is supposed to.  www.webpage.com/update_user.php?user_id=

    Here is my code: (Please note, <>have been removed, as I was unable to find a way view the code in the correct way here (copy/paste was doesn't work do not, nor insert syntax))

    ? PHP {?}

    ? PHP echo $row_listUser ['family_name'];? PHP echo $row_listUser ["FirstName"];?

    ? PHP echo $row_listUser ['username'];?       ? PHP echo $row_listUser ["admin_priv"];?

    a href = "update_user.php? user_id =? php echo $row_listUser ['user_id'];?" "Edit / has

    a href = "delete_user.php? user_id =? php echo $row_listUser ['user_id'];?" ' Delete / has

    ? PHP} while ($row_listUser = mysql_fetch_assoc ($listUser));?

    Any ideas that could help me understand why this part does not in particular would be greatly appreciated.  Writing to the database worked perfectly, I see that there are numbers in the database as user_id, and it is defined as my primary key in the configuration database.  Such a simple process that is causing me headaches!

    Thank you

    You have the code to request a copy in your folder:

    $query_listUser = 'SELECT user_id, username, first_name, family_name, admin_priv from users ORDER BY family_name ASC';

    $listUser = mysql_query ($query_listUser, $connSCFDIR) or die (mysql_error ());

    $row_listUser = mysql_fetch_assoc ($listUser);

    $totalRows_listUser = mysql_num_rows ($listUser);

    $query_listUser = 'SELECT username, first_name, family_name, admin_priv from users ORDER BY family_name ASC';

    $listUser = mysql_query ($query_listUser, $connSCFDIR) or die (mysql_error ());

    $row_listUser = mysql_fetch_assoc ($listUser);

    The $listUser table will contain the results of the second query, which does not include the field user_id. delete the redundant code.

  • create a user in the primary database, but has not spread to sleep

    I created a user scott/tiger on primary and I hope to do a few tests.

    However I don't see it at all in waiting for the database. It was 30 minutes.

    I ran archive_log $ v and v$ archive_gap, nothing is pending.

    Why does this happen?

    Do you have archives of 8826 sequences are transported in standby mode or not?

    the primary message & eve

    Select sequence #, name from v$ archived_log where sequence # > 8825 and the name is not null;

    MRP run in standby mode?

    Eve post

    $ps - ef | grep mrp

    Do you have set all the parameters in sqlnet.ora standby server? If Yes please do it after.
    also a few primary alert information & standby log file too.

    Published by: CKPT on December 12, 2011 21:39

  • Problem with the primary key and indexes

    Hi all

    I'm looking a mess on one of our main tables.
    One of the developers here added an index on 3 columns in the table, thinking that it would speed up (not noticing that it had not a PK).

    Subsequently another developer has noticed there do not have a primary on key. So they added a touch of primry on the single column.

    The problem is that now the index created on 3 columns is bein used as the primary key index. As when the primary key is created a new index was not created.

    Is there anyway to get rid of this index/change it correct?

    This table is related to many many other tables, so when we tried to remove the index we could not due to the primary key and foreign key violations with other tables.

    Thanks in advance

    Oracle, as you found, is quite capable to use a column enformce multi index a single column primary key, as long as the pk column is the leader in the index. This should not cause performance issues for a search of PK and if the three indexed columns are often selected only may benefit from these types of queries.

    The only way to change that now, would be to drop all CF, drop and add the PK constraint and then add all the FK constraints. A long time and potentially dangerous (if you miss to add back of the FKs) endeavour. Certainly not worth the risk in my opinion.

    John

  • Problem with the primary dns server, get the error "There could be a problem with one or more network adapters on this computer."

    Hello

    I was all of a sudden having problems connecting to my wifi at home. When I was diagnosed, he says cannot communicate with primary dns server. I tried all methods in similar positions, but nothing works. I am also unable to connect to internet with my iphone and the itouch. It's really frustrating, because I've already tried all of your suggestions. I just ran another ' diagnose connection problems and it says the following:
    "There could be a problem with one or more network adapters on this computer." Help, please!
    Thank you!

    Thanks for your help, but I have tried this before. In the end I just unplugged my modem and plugged in again and it worked? I feel a bit silly not to try first.

Maybe you are looking for

  • If the third party amendment by the authorized service center which is then liable to a client in good faith?

    Dear Sir/Madam, I'm an avid user of your iphone device 6 more, I bought my iphone 6 more 64 GB on aug-2015 but I just use this device only for a month and the rest of the time machine is with the service center or a lot of problem. I bought the iphon

  • update of iOS 9.3 problem

    Hello all help big problem ios 9.3. Gustomer problem icloud update aktivaet icloud idi password error. (ios 9.3  problem) (ios 9.3  problem).

  • Application on phones Droid Chase

    Does anyone use the Chase app on their Droid phone? I'm having some trouble and am looking for others with the same problems so I can get Chase to solve. He has the ability to deposit checks by taking pictures of the front and back. The audit has not

  • lost audio for music or video

    I write in the name of the customer. The customer lost the audio for music or video.

  • W7 clean OEM install queation

    I want to install an OEM W7 on a new generation of PCs personal, but it is planned for a Dell or intel, etc... The installation will work even in commercial version?