problem in the recovery of the database!

Hi all

I created a new database and wanted to restore the backup to a different database in it, I created the required tablespaces and began the restoration of RMAN backup by

Run {}
allocate channel 'dev_0' type 'sbt_tape '.
parms 'ENV = (OB2BARTYPE = Oracle8, OB2APPNAME = orcl OB2BARLIST = DAILY_HISDBS01_ORACLE-DB_ONLINE_5W, OB2BARHOSTNAME = hisdbs01.kfmc.med)';
Restore controlfile from "c-1179279249-20090511-02';
change the editing of the database;
free the channel "dev_0;
}

The obtained controlfile restored successfully, then I tried to restore and recover the database

Run {}
allocate channel 'dev_0' type 'sbt_tape '.
parms 'ENV = (OB2BARTYPE = Oracle8, central = OB2APPNAME, OB2BARLIST = DAILY_HISDBS01_ORACLE-DB_ONLINE_5W, OB2BARHOSTNAME = hisdbs01.kfmc.med)';
restore the database;
recover the database;
free the channel "dev_0;
}

The restoration was successful, but when I tried to open the database with the resetlogs option

SQL > alter database open resetlogs;
ALTER database open resetlogs
*
ERROR on line 1:
ORA-01194: file 1 needs a recovery more match
ORA-01110: data file 1: '+ DATADG/orcl/datafile/system.295.686609187 '.
SQL > restore database using backup controlfile until cancel;

ORA-00279: change 1136286903 September at 2009-05-11 02:08:22 for thread1
ORA-00289: suggestion: */arch/archivelog/1_8493_651861624.dbf*
ORA-00280: change 1136286903 thread 1 is in sequence #8493

Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
Cancel
ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error
ORA-01194: file 1 needs a recovery more match
ORA-01110: data file 1: '+ DATADG/orcl/datafile/system.295.686609187 '.
ORA-01112: media recovery not started

The recovery process is looking for */arch/archivelog/1_8493_651861624.dbf* this archivelog, but this archivelog file is not present at this location, the restore process should have restored all archivelogs as well, in fact any archivelogs didn't get restored, how can I recover the database without newspapers archivelog? It is not possible at all.

Please tell me how can I do the database work?

Have you tried to restore the Archivelogs through RMAN manually, using "RESTORE ARCHIVELOG FROM TIME ="datestring "?

See if RMAN can detect the ArchiveLogs tape.

Tags: Database

Similar Questions

  • Strange problems with the database

    Hello

    I just got my Fuze and am very happy with it; However, I am having a very strange problem with the database. I have a 16 GB sdhc card that I use with the "rocket" and there are about 4 songs on the card that will not play and have no information charge tag. Their tags appear in the tag browser (not the in the track information screen) as just an empty rectangle. Under the track information screen, sizes are listed as ~ 4000 mb. The songs will not play and I can not jump in front of one of these songs once they were loaded.

    At first, I suspected some kind of corruption of tag, so I set out that night to track down the problem. I removed the 16 GB card and reset the player. Then, I loaded one of the corrupt in the internal memory of the player. The track has been scanned and played correctly. Then, I removed the track of the internal memory and it loaded on another SDHC card. Yet once, everything worked correctly, so I knew that the card I was using was a kind of system files or physical problem. I returned the original 16 GB sdhc card in the reader and checked that the file was still unplayable, and then I plugged the "rocket" to my computer. I transferred the unplayable file on my computer and compared (with md5sum) to the original file, thinking that if there was the file system or physical corruption the copy of the map would be damaged. However, the files were equivalent.

    To make things even more interesting, I also have problems with the registration of the kind. I have some files tagged Genres such as 'Classic' and 'Rock '. In the list of the genre, I see this:

    C

    CL

    CLA

    CLAS

    Class

    Classic

    Classic

    Classica

    Classic

    Rock

    So, there is corruption on the kind of 'Classic' but not the kind of "Rock". Each of the substrings of 'Classic' contains only a few titles, with most of the other titles listed where they should be. I checked that the tracks are labeled correctly and in exactly the same way as the other tracks that do not have this problem.

    I am at a total loss about what to do, and I'd really appreciate any advice or suggestions. I use the current firmware, 2.03.31a and the songs in question are in Ogg Vorbis format.

    MM

    Thanks for your replies.

    I managed to find what may be the problem. Tracks that received corrupt tags had the names of total path with more than 256 characters. It seems that the driver internal fat32 the rocket uses vomits all over the place when the path name is too long. Before the "rocket", I got an iPod running rockbox tags with the same directory structure that I have on the "rocket", so I don't think that this restriction on the length of the path name is a limitation or requirement of the fat32 file system. Reduce the path corrected the problem with the files being unreadable.

    However, the problem with foires genres the rest. Looking at the files show that corruption, they all have a little information in tags. Most of the information is contained in the hashes I have files that identify them via musicbrainz. The limit on the total number of characters in the tags of the track includes the "rocket" label is not read or use?

    MM

  • strange problem with the database link

    Hello world

    I have a strange problem with the link of database in Oracle 11 g Express Edition;
    There are two computers: computer-server and the client computer. Tnsnames.ora are the same on both computers IE.

    CT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = XE)
    )
    )

    I created the database link:

    Create database link zdalny
    Connect to < user_id > identified by < password >
    using "CT".

    Customer cannot connect with server when I do not use above the command. But when I change 'use' for using "krzysztof:1521" or by using "krzysztof" or "server IP:1521" - everything is ok.

    Why I ask. Because in all the materials that I read about Oracle command with the help of "CT" should work correct. But there is no. Do you know why?

    Thanks in advance and apologize me for my English.

    Rgds
    Krzysztof

    Here's the tnsnames of your server, but to connect to the oracle server db (any client or to another instance of db oracle), you must install oracle client.
    However, in your condition, you want to connect the DB1 Oracle OracleDB2 using a link db, I'm right? In this case you should always set the entry in the tnsnames.ora
    To verify that you can connect to Oracle DB2 from DB1 Oracle, you can use tnsping in the command line.
    In your case

    c:\tnsping CT
    

    Krzysztof Szymaniak wrote: CT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    )
    )

    Check your tnsnames entry in the machine, you are trying to connect to. And check if the tnsping is successful.
    Sometimes the error message says not everything, which means that you need to troubleshoot yourself and learn from the experience.
    Always in the opposite case, refer to the documentation.

    See you soon.

    Published by: Spongebob December 14, 2011 09:30

  • Problem changing the database of reports of HFM

    Hi, I have currently two applications in HFM, one is for the development and the other for testing

    I have several reports in my application dev., and I'm trying to use them in the test application.

    I followed the manual instructions on how to change the connection of database reports using the tools-> menu change the database connection on the workspace.

    I managed to most of the cases, but 4 reports throw a warning that says ArrayIndexOutOfBounds that blocks the process of "migration."

    Could someone help me with this one?

    Thank you

    I hate to say it, but I have a lot of problems with that too. Sometimes it does not give an error, but it does not work. My solution is to change the connection of database outside the workspace and re-import them manually. In particular, this makes the most sense if you have a quantity in bulk of reports to work with. (i.e., I have a new app and I want to import a group of reports to run against it).

    As I do this is to use a text search and replace tool and replace the existing information in the database with the new information.

    I've posted a text on how to do it here.

    I'll see if I can find it and I will update this post with a link.

    Edit: Link is here: Re: migration of HFM, FDM, SS one env to another

    Look at my notes of the workspace as I speak to you of migration related to a different environment that has the idea of Basic.

    Thank you

    Published by: beyerch2 on August 25, 2011 14:52

  • Connection problem with the database, the closure of Flex Builder

    Hello

    I developed a web page that connects to a database, reads data and it shows on the screen. I use HTTPService to connect to a php server that supports MySQL data. Everything is OK when I run the Flex Builder web page, but when I run the page doing double click on the file released .html the connection fails and the program generates this error:

    [RPC Fault faultString = "" error #2028: file:///Q:/2009-08-05-1330FinalFrontEnd/bin-release/FrontEnd.swf SWF file with Local file system cannot access Internet URL http://localhost/Test2/Test2.php. "faultCode ="InvokeFailed"faultDetail ="null""]
    to mx.rpc::AbstractInvoker / http://www.adobe.com/2006/flex/mx/internal: call ()
    at mx.rpc.http.mxml::HTTPService/ http://www.adobe.com/2006/flex/mx/internal: call ()
    at mx.rpc.http::HTTPService/send()
    at mx.rpc.http.mxml::HTTPService/send()
    in FrontEnd / submitLabelsQuery)
    in FrontEnd / updateLabels)
    in FrontEnd / ___FrontEnd_SetEventHandler5_handler)

    Does anyone know how can I use the web page without using Flex Builder?

    More information:

    I use Flex Builder 3 to the development of the web page and WampServer 2.0 for the connection with the database.

    Thank you

    Onditz

    Hi Onditz,

    Previously, I also faced the same problem when working with Php as the Backend, the problem is that Flex does not call your PHP page

    It is the way I solved it to export your Flex Project at Flex Release Build.

    Right click on the export of project---> Flex project---> Release Build---> copy all the files on your server where all of your PHP files are and then call the application from the browser

    http://localhost/test2/sample.html. »

  • Possible problems with the database in double training?

    Hi all!

    First of all, please forgive my ignorance! I only worked with databases slightly over the past two years and so far only with MySQL and MS SQL.

    Recently, the company I work for bought a new Oracle requiring package. We bought a copy of Oracle 10.2 in the case and the company who resell it to us and set up for us, we have been denied access to the database on our server, dev because it would expose their underlying data schema. I wasn't in the change when the decision was made and we have spent money on a paralyzed copy of Oracle, but it's in the past.

    Because we have not dev access to Oracle, we are unable to create a database of training for this new software in the home. We pay this company to create a test environment for us. I was told that it would cost $500, until technology has said it will install Oracle on the server of our training.

    At this point, I stopped him and said $ 500, they'll be violating their license agreement, or by giving us a free copy! The other possibility is that they were going to install this and then just this law we for Oracle, despite citing the work at $500.

    Technology that was about to proceed with the installation went to check with someone of higher rank and then returned to inform me that install the second copy of Oracle would require license more fresh indeed.

    This verified what I already told him, and I said, we want a database on our existing Oracle server and copies of the new training software can just point to this training base.

    He must now take time with senior technicians while they "analyze the existing database server or the environment. He was trying to tell me to install a database on the existing server and rather buy another copy of Oracle, which seems to me to be a total drain cash. He had no solid reason why it could not do, but refused anyway and said he needs to talk to a senior technician (the same one who said that Yes, we you will need to purchase a second copy of Oracle instead of using a second database on the existing server).

    Thus, these two bases of data, data from phase one and the other a direct duplicate of these data used in a training environment where change will not be being reported should, however, be able to exist peacefully should they not? The same version of the same software to access the same data from the server, just an another database, should not be a problem with my limited knowledge of the Oracle! There are still connections in the environment of training may 5 at the time, and the server must be able to manage currently twice more than the logged in users as is the maximum current (edit: expected) load.

    I know that this would not be a problem with MySQL or MS SQL and Oracle is a superior database package, then someone can think any legitimate reason that can back up the assertion that having this duplicate database will be a problem?

    Thanks in advance for any guidance here!

    It is certainly possible to create a second instance of the database on the same server as your production system. We have several servers with multiple instances. If you follow this path, there are a few things that you should keep in mind.

    Every Oracle instance must have little memory assigned from the RAM server to host the CMS, PGA and other process oracle. Each instance must have sufficient disk space to accommodate files data temporary tablespace, rollback segments etc. Depending on how you plan to implement your training environment, this could potentially be equal to your production environment memory requirements and the disc. If you plan to have a smaller subset of data for purposes of training, then you could probably get with much less than your environment of production.

    Another possibility would be to create another schema in the database of existing production to use for training purposes. While this would need less additional memory and space drive that uttering a completely separate database, it could have an impact on your production system, since the training environment would be sharing resources with the production.

    None of these scenarios would need additional licenses to Oracle (assuming that you have either licensed CPU, or that production and training combined have fewer users you have named user licenses).

    John

  • Problem updating the database

    After the user has entered data, he can click on a link. This link sends in another web site.
    My goal is the following:
    When the user clicks on the link, you must perform two actions:
    -first of all, insert the data in the database,
    -Then, click on the link.
    I have not found a way to make these 2 jobs running after the user clicks on the link.
    Someone has to help me with that?
    Thank you very much.

    I use Dreamweaver.
    The screen give me the possibility to select a string and set the address of the link (in the Panel of decorum).
    So I enter the address of the external web site.
    I don't know how I can then insert my record in the database? Is it possible to associate a php script with onclick on the link action?
    Thanks a lot for your help.

  • problem when the database is started with OEM

    Hello

    I started the database instance in through OEM. But when I try to connect to the database via command prompt then shows me connected to an instance inactive.
    We have the Linux system and I put the SID and ORACLE_HOME environment before you start the command prompt.

    Can you grace to enlighten, why this happens?

    I did steps below.


    Step 1 - set the new database using dbca.

    Step 2 - checking the condition of database using OEM.

    Step 3 - Open terminal unix and after setting the environment (Oracle home & SID) started the sqlplus it shows below the output...



    [oracle@xyzt ~] $ sqlplus "virtue sysdba".

    SQL * more: out of 11.2.0.1.0 sea Nov 11 18:25:57 2009

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

    Connect to an instance is idle.

    SQL >





    Please advice. Thanks in advance.


    Kind regards
    Shree

    Make sure that you have not added a trailing slash to $ORACLE_HOME:

    $ echo $ORACLE_HOME
    /oracle/app/oracle/product/10.2.0/dbhome_1
    $ sqlplus / as sysdba
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Nov 12 09:06:16 2009
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    $ export ORACLE_HOME=$ORACLE_HOME/
    $ echo $ORACLE_HOME
    /oracle/app/oracle/product/10.2.0/dbhome_1/
    $ sqlplus / as sysdba
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Nov 12 09:06:43 2009
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    Connected to an idle instance.
    
    SQL> exit
    Disconnected
    
  • Problems with the database, on delete cascade

    Hello

    I am in a project with the Flahs CS4 with air and as3. I create a database by code, everything is ok. I have 2 tables,
    a main table with a code field as primary key and other details of the table, named e.g. DetailTable, with 3 fields as the primary key. What I want to do, this is a deletion of a row in MainTable, all lines of DetailTable, where the field code is the same as the field in MainTable code should be deleted also.

    Here's the SQL code to create the tables.

    var sql2:String = "CREATE TABLE If NOT EXISTS MainTable ('+ '.
    "code INTEGER PRIMARY KEY AUTOINCREMENT, ' +.
    "quote," +
    'date ' +.
    "  " +
    ")";

    var sql3:String = "CREATE TABLE If NOT EXISTS DetailTable ('+ '.
    "code INTEGER, INTEGER position, type INTEGER, ' +.
    "path of TEXT, TEXT document, ' +.
    'PRIMARY KEY (code, position, type) +.
    'FOREIGN KEY (code) REFERENCES Detallesecuencia (code) ON DELETE CASCADE ' +.
    ")";


    Thus, when the tables are created, insert data. I connect without a problem, remove a line in MainTable (see code), to remove the line with the example code = 4, but in the DetailTable, all with code = 4 lines are NOT deleted, why?

    [CODE]
    Inside of a class

    private var conn: SQLConnection;

    public void constructorClass() {}
    Conn = new SqlConnection ();
    ConexionBD();
    }

    function ConexionBD() {}

    conn.addEventListener (SQLEvent.OPEN, openHandler);
    conn.addEventListener (SQLErrorEvent.ERROR, errorHandler);
    var dbFile:File = File.applicationDirectory.resolvePath ("mydatabase.db");
    conn.openAsync (dbFile, SQLMode.UPDATE);
    }

    function deleteRow() {}
    selectData:SQLStatement = new SQLStatement();
    selectData.sqlConnection = conn;
    selectData.text = "" DELETE FROM MainTable WHERE code =: param1 ";"
    selectData.addEventListener (SQLEvent.RESULT, resultHandler);
    selectData.addEventListener (SQLErrorEvent.ERROR, errorHandler);

    Delete line in MainTable code = 4, but not to delete all the rows in DetailTable with code = 4
    selectData.parameters [": param1"] = 4;

    selectData.execute ();
    }
    [/ CODE]

    Thanks in advance

    Hmmm, well then maybe it's you must go down the road of the old school and delete individual tables as needed, rather than rely on the cascade delete.

  • Problem locate the folder of bookmarks in OSX 10.7.5

    I'm looking for sub library > Application Support and there is no record of Firefox. Is there another place my favorites are?

    Please help, thanks

    You can check for problems with the database places.sqlite file in the Firefox profile folder.

    http://KB.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    Try this link below-
    https://support.Mozilla.org/KB/bookmarks+not+saved#w_fix-the-bookmarks-file

  • Listener (and the database instance) does not start automatically: ORA-12514: TNS:listener does not currently of service requested in connect descriptor

    Hi all... I am a newbie with oracle database.,.

    I have the problem of monitoring:

    I installed Oracle Database 11 g R2 XE on my CentOS 6.5 guest operating system.

    I changed the host name in my CentOS so (where installed oracle 11g R2 XE) after the installation was completed successfully.

    Installation-) before and during the hostname is localhost.

    (-) After the installation, I changed the host name in VMCentOS

    From the moment where I changed the host name, nothing starts automatically. In particular, the listener and the database instance does not start automatically.

    When I start the listener manually and I try to connect to the instance of database with SQLPLUS I get this error:

    ORA-12514: TNS:listener is not currently of service requested in connect descriptor

    I think that the problem is due host name changed because I have to test and debug the object, re-installed a machine virtual operating system CentOS, re-installed oracle database 11 g and I do not have this problem. The database instance and the listener starts automatically!

    Can someone tell me if, maybe, the problem is with the host has changed? ... and why?

    P.S.: After changing the hostname I also modified the listener.ora and the tnsnames.ora by changing the HOST with the correct host name.

    Hello

    It seems that you don't install Oracle Database Express Edition (XE). If you post this question in the wrong forum.

    When you install EA or there is no script that starts the database at startup.

    If you wish, you can create by yourself. For example search for instructions to Google how to create script.

    Kind regards

    Jari

  • AppSpeed sees the database, but does not detect application

    Hello

    We test AppSpeed with an application (Web and database).

    We have no problem with the database server, but the web server is still "not mapped" and the application is not detected.

    We are generating traffic, but nothing for several days.

    No idea why?

    Hello

    If the web application is being not mapped, this means that AppSpeed discovered.

    The traffic that you generated is probably not sufficient. I generate heavier traffic and wait a little longer application be detected.

    Thank you

    Zviad Polak

    AppSpeed Support

  • Backup of the database of the eve

    I backup my primary database (11.2.0.3) every night with RMAN - no problem. I also have a database of pending. Should I be back up the standby database too?

    If I should be back up, it causes a problem, save the database in the RMAN catalog? Even if the db_unique_name is different, it always has the same DBID.

    Thank you

    Hello

    the backup database is an identical copy of the primary database block.
    Therefore, simply to save one of the two (you can choose to only save the day before, however, if you want to load on the primary leigthen). But if you are uncomfortable with the primary backup, it is not necessary for the safeguarding of the day before. (Since you can recreate the primary backup before).

    The only important part, is that you use the RMAN catalog. Then only known RMAN, the two are identical and can use the same backup.

    So:
    a.) primary backup is enough
    (b) If you save both, there will be no problem in the RMAN catalog, because RMAN knows that it is the same database.

    Concerning
    Sebastian

  • Cannot start the database as open, only mount

    We are running Oracle 10 g release 1. We had a power outage on Sunday and since then we have a problem.

    The database starts with the mount, but won't open.

    Anyone have answers?

    After running RECOVER database with the HELP of BACKUP CONTROLFILE until CANCEL then you must apply wheich newspapers online D:\ORACLE\PRODUCT\10.1.0.2\oradata\devoltp\(like D:\ORACLE\PRODUCT\10.1.0.2\oradata\devoltp\redo01.log actually v$ logfile). There can be more than an online journal so apply these and ALTER DATABASE OPEN RESETLOGS

  • ADF business components: persistent negative IDs in the database

    Hello

    We use ADF 11 g with ADF BC as the model layer. All our database tables have a column ID, which is populated by a sequence and never shown to the user. ("IDs techniques".) In British Colombia ADF we have configured our entity objects with the attribute Id set as primary key. The type of the attribute is set to "oracle.jbo.domain.DBSequence". On the tab sequence, we set the name of the sequence in the sequence that corresponds to the table (we have a sequence for each table in the database).

    Our problem is the following. If we create a new record in our ADF Faces UI and a business on the database rule generates an error during validation after which correct us the error and resubmit the registration, a record with a negative identification gets in the base. If there was no error in business rule, we get an ID that corresponds to the 'nextval' in the sequence, as expected.

    Even though I know that ADF BC uses negative ID in the cache of objects entity for new records, I have no idea how and why these negative ID end up in the database. So far, they have been any problem in the database. But since this is unexpected behavior, I'm not entirely sure that the negative ID will not cause problems in the future. My questions:
    < ul > < li > is this design 'by' behavior or is it a bug? < /li >
    < li > if it is "by design": these are negative IDs guaranteed as being unique? < /li >
    < li > could it be caused by a configuration error in our model project? Where should I start looking for such a mistake? < /li >
    < li > could it be caused by a configuration error in our database? Where should we start to look for such a mistake? < /li >
    < li > would it be a bug in the ADF BC? < /li > < /ul >

    Best regards
    Bart kummel

    Bart,

    (1) it's by design
    (2) No.
    (3) No.
    (4) No.
    (5) no

    ;)

    Now for the explanation. Sequence name you set up is just for information purposes only - it is not actually cause ADF fill the value using the sequence. To do this, you must either write database triggers or you can use an extension framework class to have occur in the model layer - in my view, such an extension class is documented in the developer gude (search for DBsequence, I've not worn to hand at the moment). Negative numbers are only temporary placeholders.

    John

Maybe you are looking for