ORA-01103: name of database 'Soqs2' in the control file is not ' tests1...

Hello, please help me on this... im using 10.2.0.4.0, DB created by ex-colleague

When the db connection has ora error 1103 and tried to create controlfile using track, but I could not

Here are the details:

Tests1 > bootable media.
ORACLE instance started.

Total System Global Area 734003200 bytes
Bytes of size 2141536 fixed
328159904 variable size bytes
369098752 of database buffers bytes
Redo buffers 34603008 bytes
ORA-01103: "Used2" database name in the control file is not "Tests1.

you want save ctl file and changing the dbname, get error below...

Tests1 > alter database backup controlfile to trace;
ALTER database backup controlfile to trace
*
ERROR on line 1:
ORA-01507: database not mounted

TESTING1:/app/Oracle/TESTING1/product/10.2.0.4/DBS > grep db_name initTESTING1.ora
* .db_name = "Gel1.

I found used2 entered into the alert log file...

Tests1: / app/oracle/tests1/admin/bdump > grep used2 alert_TESTING1.log
DBNAME will change to the new DBNAME of used2 tests1
Name of database used2.
ID of the database for the database used2 changed in 1933958893.

I tried to create new controlfile and tried to start... got under error so I hv mentioned even path of the data files...
ORA-01161: name of database used2 in the file header does not match name tests1

This is the first law of holes.

When you are in a hole, the first thing you can do is STOP digging.

Did you take a full backup, the cold since the event started?

DBNAME will change to the new DBNAME of used2 tests1

When & why this has happened?

You have a valid & recent backup?

I tried to create new controlfile

Why did you do this?

Edited by: sb92075 may 7, 2010 20:36

Tags: Database

Similar Questions

  • Why the control file does not work?

    Hello

    This is the first time that I will use SQL Loader with position.

    I started with a very simple file.

    The SAMPLE file. TXT contains:

    11111

    22222

    33333

    My table is:

    CREATE TABLE MY_TABLE

    (my_field varchar2 (5));

    And my control file is:

    DOWNLOAD THE DATA

    INFILE ' D:\USER\SAMPLE. TXT' "fix 5.

    BADFILE ' D:\USER\SAMPLE. BAD'

    DISCARDFILE ' D\USER\SAMPLE. DSC"

    IN THE TABLE "MY_TABLE".

    ADD

    (MY_FIELD POSITION (1:5) TANK)

    After launching the SQL Loader, that's what I have in my picture:

    MY_FIELD

    11111

    222

    223

    3333

    And if I try to open the fron TOAD table, for example, I see that for the second, I have a carriage return and 222 and the third, I have 22 a carriage return and 3

    Thanks in advance!

    This is because you use a fixed record format.

    In this case, the CR/LF characters are not separators Records and are included in the data.

    So first record is: 1 1 1 1 1

    2nd is: 2 2 2 \r \n

    3rd is: 2 2 \r \n 3

    etc.

    Just remove the clause of "fix." SQL * Loader will use \n or \r\n as the record terminator by default, depending on your platform (Windows apparently?)

    http://docs.Oracle.com/CD/E11882_01/server.112/e22490/ldr_concepts.htm#SUTIL981

  • ORA-01103 - restoration of database for the new name.

    Hi, I am looking to restore a database from a backup to cold. RMAN is not, it is just a backup of operating system level.

    The technical details are
    Windows 2003
    Oracle 11.1



    What has happened is - I upgraded our database of development of 11.1, 11.2 and we discovered a bug, so I want to restore the database in the instance of 11.1. Version 11.2 of the database is running, people use, we have a work around, so I can't delete this database. What I want to do is create a new instance to 11.1 restore all files/etc/files of control data, the file of configuration settings and start the database, of course I had to use another name.


    However, the problem I see is
    ORA-01103: name of the 'ALPHA' database in the control file is not "ALPHADB". ALPHADB is the new database. I thought to do the backup to retrace and recreate control files, but I can't mount the database. I did "backup to trace" on the OLD database.

    Advice please?

    Re-create the control file using the set database_name database

  • How can I specify location of the control file when the manual creation of DB?

    DB version: 11.2.0.4

    OS: Oracle Linux 6.6

    The CREATE DATABASE command creates the control file.

    CREATE DATABASE command is executed once you start the instance in NOMOUNT State as shown below.

    SQL > startup nomount pfile=$ORACLE_HOME/dbs/initBRCPRD.ora

    SQL > create database 'BRCPRD '.

    MaxInstances 32

    MAXLOGHISTORY 1

    maxLogFiles 192

    maxlogmembers 3

    ..

    .

    .

    < snipped >

    When you create the database manually, we can define the control_files parameter in the init.ora as below and control file will be created at this location. Right?

    control_files = ("" / u01/oradata/BRCPRD/BRCPRD_control01.ctl","/u01/oradata/BRCPRD/BRCPRD_control02.ctl "")

    When I was generating the DB using DBCA GUI creation scripts, it asks to enter the location of the Online redo logs and control files.

    I entered my desired location. But, I couldn't find CONTROL_FILES parameter in the init.ora file generated the DBCA. This is why I got confused. I think that DBCA is internally somehow. So thought I'd post it here.

    Hi John, OP

    Just checked the init.ora file created by DBCA. Although the parameter CONTROL_FILES is undefined, db_create_file_dest = '+ DATA_DG1' was created. OMF default location is defined by the db_create_file_dest parameter.

    So, I could safely use this script for the manual creation of DB, and during the CREATE DATABASE command execution, oracle will place CONTROL_FILES + DATA_DG1 using the format;

    +DiskGroup/dbname/filetype/filetypetag.file.incarnation

  • Corrupt block is detected in the control file

    Hi all

    I have a scenario where I have set up regional advisory councils active / standby and I managed archive redo logs applied to sleep - everything was ok

    Versions - Oracle 11g R2, RHEL 5

    Scenario 1:
    Perfectly redo application log on the work of sleep when I don't create our software application tables using sql on the primary scripts until AFTER the stages of CAR/Dataguard completed successfully.



    Scenario 2:
    Redo log application does not work when I'm not running our sql scripts until I take a RMAN backup of the primary to be duplicated in the Standby

    Everything comes in the day before after the rman duplicate, archive logs is transferred, but now they are not applied.

    I see the ORA-00227: Corrupt block is detected in the control file: (block 1, block # 1) in the journal alerts when I put on standby in Recovery Mode

    My theory is that somehow our sql scripts are breaking my rman backups when I run them before creating a primary RMAN backup to load on Standby - I just need someone to indicate whether there is a possibility of their experience, if so I will contact the support of Oracle to continue the investigation. It's my first time working on CARS DG etc.

    Thank you

    Hello
    If not solved with 11.2.0.2 I opened a SR.
    I don't think that this should be the case...
    Sebastian

  • ORA-01103: the 'RAC' name in the database control file is not "STB".

    HIII..,.

    Im doing my dataguard, my primary side installation is a RAC 2node and Eve is a single node. IM using Database 11 GR 2.

    when im using the RMan command for duplication of data im getting the following error.



    SQL statement: alter database mount rescue
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 03/10/2011 18:33:58
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-03009: failure of the sql command on the channel clone_default at 03/10/2011 18:33:58
    RMAN-11003: failure during parsing / execution of the SQL statement: alter database mount rescue
    ORA-01103: the 'RAC' name in the database control file is not "STB".


    Please can someone help me to solve the issue. ??

    Thanks in advance...

    Hello

    (1) If you use "DORECOVER" while cloning, please remove it.
    (2) its still not, simply set the FRA and IE

    ALTER system set DB_RECOVERY_FILE_DEST = '+ DATA ';
    ALTER system set db_recovery_file_dest_size = 2GB;

    Note: Set it to primary and standby

    Clone of the DB.

    It works perfectly now, and once Reset original value if you do not want it.

    Happy cloning :)

    Kind regards
    Rakesh

  • The ORA-00200 control file could not be created in oracle under redhat linux

    with the creation of the database by using script under redhat linux I got following error. Anyone know not so please guide me.

    ORA-01501: CREATE DATABASE failed


    ORA-00200: control file could not be created


    ORA-00202: control file: ' / home/core/Databases/ControlFile/ctl2.dat'


    ORA-27040: create file error, cannot create the file


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

    Please check if the directories are present or not.

    CD/home/core/databases / ControlFile.

    If the directories are present, check for the permissions on the mountpoint.

    LS - ltr/home/core/Databases

    LS - ltr/home/core/Databases/ControlFile

    The permissions should be user and group name through which you create the controlfile.

    I hope that this information is sufficient. If the problem solved with this brand then kindly as correct answer later for others

  • ORA-00221: error on write in the control file

    Experts,

    Recently, I have been unable to connect to the console em12c and after reviewing the State of who, I got to know that my instance of database crashed.

    Status of the WHO

    . / emctl status SGD

    Oracle Enterprise Manager Cloud control 12 c Release 2

    Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.

    WebTier is in place

    Oracle Management Server does not work for the following reason:

    Unable to connect to the repository database. SGD will be automatically restarted once he identifies database and the listener are on the rise.

    I connected and checked the alert log which was below error e/s on the controlfile. I'm afraid to say that my control files are multiplexed not and I don't have a valid backup of controlfile.

    alert_log

    Errors in the /u01/app/oracle/diag/rdbms/trcoem/TRCOEM/trace/TRCOEM_lgwr_25655.trc file:

    ORA-00345: redo log write error block 39818 County 15

    ORA-00312: thread 1 1 online journal: ' / u01/app/oracle/oradata/TRCOEM/redo01.log'

    ORA-27072: IO file error

    Linux-x86_64 error: 5: input/output error

    Additional information: 4

    Additional information: 39818

    Additional information:-1

    Kill Jan 28 11:34:57 2014

    Errors in the /u01/app/oracle/diag/rdbms/trcoem/TRCOEM/trace/TRCOEM_ckpt_25659.trc file:

    ORA-00206: error in writing (block 3, block # 1) of the control file

    ORA-00202: control file: ' / u01/app/oracle/oradata/TRCOEM/control01.ctl'

    ORA-27072: IO file error

    Linux-x86_64 error: 5: input/output error

    Additional information: 4

    Additional information: 3

    Additional information:-1

    Errors in the /u01/app/oracle/diag/rdbms/trcoem/TRCOEM/trace/TRCOEM_ckpt_25659.trc file:

    ORA-00221: error about writing about a control file

    ORA-00206: error in writing (block 3, block # 1) of the control file

    ORA-00202: control file: ' / u01/app/oracle/oradata/TRCOEM/control01.ctl'

    ORA-27072: IO file error

    Linux-x86_64 error: 5: input/output error

    Additional information: 4

    Additional information: 3

    Additional information:-1

    Kill Jan 28 11:34:57 2014

    CKPT (ospid: 25659): put an end to litigation because of the error 221

    Please help me what should be the solution to fix this error. Is this just a mistake of e/s on the controlfile, or do I have a disk failure?

    var http://www.filedropper.com/messages

    Version of the OS: RHEL 5 (64-bit)

    Database Version: 11.2.0.3 (64-bit)

    Thank you

    Fran,

    Syslog does not display the IO error.

    I followed the steps below to solve the problem.

    1] stop the database

    [2] restore control01.dbf to the backup location.

    [3] mount the database
    [4] recover database until cancel

    [5] Alter database open resetlogs.

    Also, takes a full cold of RMAN backup of the database, the multiplex control files and recovery logs.

  • ORA-00338: 3 log thread 1 is more recent than the control file

    Hello

    I met the error ORA-00338 while performing the recovery of incomplete data:

    ORA-00283: cool cancelled due to errors
    ORA-00338: 3 log thread 1 is more recent than the control file
    ORA-00312: wire 3 1 online journal: "+ DG_REDO/dbase/onlinelog/group_3.267.814820795".
    Complete recovery manager.

    I made this recovery on oracle 10g, database of ASM.

    1. What are the possible causes of this error ORA-00338?

    2. This error occurs at the beginning of the media recovery, RMAN is applying logs archived. If RMAN does newspapers "Online REDO" after applying "archived" logs required for recovery or in front of them?

    3 rman is how this journal in line 3 is more recent than the control file? How can I me SNA of the journal online & file control in my environment?

    Here are some details related to checkpoint scn / change # info. I found in my environment:
    Before recovery:
    view
    v$ datafile: 642935
    v$ datafile_header: 642935
    v database $: 642935
    Journal of v$: 640956

    After the recovery fails (ORA 338 :()
    v$ datafile: 640917
    v$ datafile_header: 640056
    v$ database: 640906
    Journal of v$: 640906

    You could try the incomplete recovery has to do only the RESTORE DATABASE with RMAN.
    Then, using the SQLPLUS command line, issue a RECOVER database with the HELP of BACKUP CONTROLFILE until CANCEL. See which he records guests for and monitor messages in the alert.log

    Hemant K Collette

  • ORA-07391: sftopn: fopen error, cannot open the text file.

    Hello

    The last 3 days, we get the error in the alert below log.

    [ORA-00600: internal error code, arguments: [kmgs_parameter_update_timeout_1], [27091] [] [] [], [], []]
    ORA-27091: unable to queue I/O
    ORA-27072: IO file error

    I check as the same partners to it in metalink I found permission to check the directory solution. (DOC ID367619.1)
    I got permission from ORACLE_HOME\dbs $ to 777, but still m making the same mistake.

    also I try to recreate spfile so that I try to create pfile first

    create pfile from spfile

    I get the error below.

    ORA-07391: sftopn: fopen error, cannot open the text file.

    ls - lrt sp * in the below output shows $ORACLE_HOME

    -rwxrwxrwx 1 ora10g 3584 20 September dba10 05:42 < SID > spfile .ora

    Help, please.

    Thanks in advance

    user8757749 wrote:
    The output of ls - lrt is in the path $ORACLE_HOME\dbs only

    We also have the database version 10.2.0.4 that the spfile even uses everyday cold backup of the database.

    also, I put the 777 permission to the file.

    OK, I guess there will be corruption of the SPFILE as if edited manually or in any other cases too.

    You have a backup of SPFILE? backup of the file PFILE or?

    then starting using this SPFILE, if any backup then start with PFILE and then create SPFILE from PFILE.

    Otherwise, you can copy the contnets of the parameters of the alert log file initialization and paste in the editor and the instance of starutp.

    These are the options.

  • Cannot delete the file and the error is "the specified file is not valid or too long." Specify a different file name.

    Hello

    I have filenames with weird values inside (created by Application software).
    Here is an example:
    GIBtmpphoto0_11:27:16.145.png

    When I try to delete it, I have the following error:
    The specified file is not valid or too long. Specify a different file name.

    And it takes a lot of space in my hard drive.

    How is it possible to remove it?

    Thank you.
    Best regards
    Marc

    Original title: delete files with weird names

    Hello

    My corrupt files are found on a disk of material on my computer.
    I have re-formatted the full disk to remove these files.

    Best regards
    Marc

  • dBV error on ASM DBV-00008: USER name must be specified for the OSM files

    Hello everyone,

    I'm trying to run the dbv command, but it displays error. In fact, I have the ASM diskgroup.

    [*[Oracle@portalnode01 ~] $ dbv file=+DGRP/orcl/datafile/example.258.806694223*

    DBVERIFY: Release 10.2.0.1.0 - Production on sea Mar 20 10:47:05 2013

    Copyright (c) 1982, 2005, Oracle. All rights reserved.


    DBV-00008: USER name must be specified for the OSM files

    Is where I'm wrong?

    Published by: 993776 on March 19, 2013 22:33

    993776 wrote:
    Hello everyone,

    I'm trying to run the dbv command, but it displays error. In fact, I have the ASM diskgroup.

    [*[Oracle@portalnode01 ~] $ dbv file=+DGRP/orcl/datafile/example.258.806694223*

    DBVERIFY: Release 10.2.0.1.0 - Production on sea Mar 20 10:47:05 2013

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    DBV-00008: USER name must be specified for the OSM files

    Is where I'm wrong?

    try to add the attribute userid to the statement.

    $dbv username = name of user/pwd file=+DGRP/orcl/datafile/example.258.806694223*

  • recover the database unitl cancel using the control file

    I refreshed with db1 db2, copied all the newspapers dbfile and archive to the db2 server and setup/adjusted spfile, controlfile etc on the new db2 server and has
    recover the database unitl cancel using the control file.
    ALTER database open resetlogs.

    Now the customer want to refresh it after 2 days, I wonder of I need only archive newspapers or both? to do the same again?

    Published by: DBA2008 on November 11, 2009 09:49

    Yes, you can 'restore to cancel' several times.

  • Impossible to copy the control file.

    Hi everyone, I am trying to clone my database and get this error when you try to copy the control file.  I apologize if it's very beginner to here but I'm really stuck and need a hand!  Thank you.

    SQL > @D:\oracle\product\test\cloneinfo\test_ctl.sql

    ORA-01081: cannot start already running ORACLE - he stop first

    CREATE CONTROLFILE SET DATABASE "mediated" RESETLOGS ARCHIVELOG

    *

    ERROR on line 1:

    ORA-01503: CREATE CONTROLFILE failed

    ORA-00200: control file could not be created

    ORA-00202: control file: ' D:\ORACLE\PRODUCT\ORADATA\TEST\TEST_CONTROL01. CTL'

    ORA-27038: created file already exists

    OSD-04010: < create > option specified, the file already exists

    START: RECNO: = SYS. DBMS_BACKUP_RESTORE. SETCONFIG ("CONTROLFILE AUTOBACKUP', 'ON'")

    ; END;

    *

    ERROR on line 1:

    ORA-01507: database not mounted

    ORA-06512: at "SYS." "X$ DBMS_BACKUP_RESTORE ', line 4400

    ORA-06512: at line 1

    ALTER DATABASE OPEN RESETLOGS

    *

    ERROR on line 1:

    ORA-01507: database not mounted

    SQL > select name from v$ datafile

    2;

    Select name from v$ datafile

    *

    ERROR on line 1:

    ORA-01507: database not mounted

    Each of us has started early, don't worry.

    (1) analyze the errors:

    ORA-01081: cannot start already running ORACLE - he stop first

    your database are open? Check it with--> sqlplus > select status from v$ instance;

    (2) following error:

    ORA-00202: control file: ' D:\ORACLE\PRODUCT\ORADATA\TEST\TEST_CONTROL01. CTL'

    ORA-27038: created file already exists

    OSD-04010: option specified, file already exists

    Explain to: https://forums.oracle.com/message/9629124

    (3) to create controlfile your database should be in status "Nomount". So:

    SQL > shutdown immediate;

    SQL > startup nomount;

    4) more info on: CREATE CONTROLFILE

    If you have more problems, let us know.

  • installation quick error when creating the control file

    Hai all,

    I have faced the problem when im installing fresh ebs R12

    my environment:

    Sun sparc 64-bit

    Solaris 11

    This happens when I try to install R12 charge

    rapidwiz, the error ORA-00821 say: sga_target 1024M value is too small, must be at least 2100 m

    and when you create it control file does not,

    no idea is that with this problem?


    all prior references to doc:

    R12.1.1: Oracle eBusiness Suite Installation and Notes version upgrade 12 (12.1.1) for Oracle Solaris on SPARC (64-bit) (Doc ID 761568.1()


    the journal of details below

    Logfile located at /oracle/PROD/db/tech_st/11.1.0/appsutil/log/PROD_SMJKT-PRFND01/ApplyDatabase_11071358.log

    ^ M

    |      0% complete ^ M

    / 0% completed ^ M

    -0% complete ^ M

    ------0% complete RC-50004: Fatal: error in ApplyDatabase:

    Creating control files is not

    Cannot run configuration database using RapidClone

    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.

    Install the driver database for the PROD instance running

    Connect to an instance is idle.

    ORACLE instance stops.

    Connect to an instance is idle.

    ORA-00821: sga_target 1024M value is too small, must be at least 2100 m

    ORA-01078: failure in the treatment of system settings

    CREATE CONTROLFILE REUSE SET DATABASE "PROD".

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    ALTER database open resetlogs

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    Hello

    Please consult the following notes, because it deals with workarounds:

    R12.1.1: Oracle eBusiness Suite Installation and upgrade version Notes 12 (12.1.1) for Oracle Solaris on SPARC (64-bit) (Doc ID 761568.1)

    See article: known issues

    and

    ORA-00821 during create Controlfile in the ApplyDatabase Phase of the R12.1.1 Installation on Solaris (Doc ID 1116525.1)

    HTH!

    Thank you &

    Best regards

Maybe you are looking for

  • After the 12.0 13.0.1 update the URL dropdown menu sparkles - I can't select anything. Also a few other menus sparkle. Impossible to use.

    Most of the menus flicker - also those basic (file, edit, help,...).URL drop glitters.I have to guess when I want to select something because

  • Satellite P200D-139 - screen remains black

    Hello, Ive had my laptop for a few years and after leaving in my freezer for a few weeks on vacation, I went to turn it on and the laptop turned on and the lights came, but the screen remained black. The screen was not completely black she lights up

  • Window 7

    I have two computers using Vista a 32 and 64-bit; the 32-bit use Vista Buisness and the other a Vista Home PremiunCan I install Window 7 64 bit in my 32-bit computer or do I have to buy (32 and 64-bit Windows 7)

  • By script asks to build host and RT and Installer

    Looking to make a script that allows me to create the application host from a project template. But I need to change some of the values of the project such as the paths of the files included in the installation program and the version exe and rtexe n

  • Validity sensors

    Until a few days before, I was able to log on to my desktop computer using my fingerprints, but for some reason that I can't do. How can I reset my Validity Sensor so I can use my fingerprint again on my laptop? Maria Adams