In case of Control File Failure, Create Control File cmd how get scn?

The following lines i picked from the
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:5033895918209
======================================================
1. We can use the 'alter database rename ' at mount stage to rename any datafile. Or is it not possible to rename the system datafile like this? Why?
2. What happens to the SCN information in the controlfile when a controlfile is recreated? How will the database sync the SCN with that of the datafiles?
If I issue a 'backup controlfile to <file>' at 8 am and then restore that controlfile binary backup at 10 am and try to open the database, it will give me a control file old error. I understand that it is because the SCN is not in sync. But if I issue a 'backup controlfile to trace' at 8 am and use that script to recreate a new controlfile at 10 am, why doesn't I get the error? Where does it get the SCN information then?
So what is the use of taking a binary copy of the controlfile. Looks like having a 'backup controlfile to trace' script is better than a binary backup. Do you agree? Why/whynot?
Followup August 16, 2002 - 2pm US/Eastern:
1) you could but I just always did it with the create controlfile statement.
When moving system -- I do it that way
When moving ANY OTHER tablespace -- i just offline it, move the files, rename the files online it.
2) it just happens.
The control file you create will read the files to figure out what is up.
I agree, I've never used a binary controlfile backup myself.
=========================================================
My Question- In the Point2 above "Where does it get the SCN information and how control file do SCN Sync with data files?
"

1. The CREATE CONTROLFILE reads SCNs from the DataFiles. If the
database was last shutdown, all the datafiles are "non-fuzzy" and have the same
SCN (as of the shutdown checkpoint), If the database or some of the files are from
are hot backup, you cannot open the database because the SCN of some files is
older (lower) than others -- that is why a RECOVER (DATABASE or DATAFILE) is
required.
See http://web.singnet.com.sg/~hkchital/Incomplete_Recovery_with_BackupControlfile.doc
2. I'm not sure I agree with Tom Kyte's response
"I agree, I've never used a binary controlfile backup myself. "
to the question
"So what is the use of taking a binary copy of the controlfile. Looks like having a 'backup controlfile to trace' script is better than a binary backup. Do you agree? Why/whynot?"
If you have lost your database (storage/filesystem failure) and all your datafiles are lost,
you cannot simply do a CREATE CONTROLFILE from a Trace -- because the
CREATE CONTROLFILE has to read and verify all the datafiles specified in the
CREATE statement. If you have an RMAN Repository, you can use that to restore
your database files but otherwise, the RMAN information about backups and backupsets
are in the binary controlfile.
That is why it is important to take binary controlfile backups either manually or
using RMAN or using CONFIGURE CONTROLFILE AUTOBACKUP ON.

Similar Messages

  • Cannot open files or create new files in Photoshop cc trial

    Hi,
    after getting no support from your phone support line. I am writing here in hopes that this issue can be resolved. I cannot open files or create new files in Photoshop CC trial. Please help

    You can open Photoshop, you cannot create new documents. If you click file>new, the normal new dialog box opens, if you click "ok" it goes away. If you double click a PSD it focuses the Photoshop window. Nothing else happens.
    For me this is a new issue today. My computer is an i7/780, more than capable of Photoshop, and has run it fine up until now. My keyboard started freaking out last night and doing things I didn't want it to. I suspect it changed a setting or broke something.
    I have uninstalled and re-installed and it did not resolve the issue.
    This is obviously a critical issue that needs immediate attention.

  • Rman tivoli failure:  create sequential file, Authentication Failure

    New db instance, not writing to tape.
    DB is 10.2.0.4
    run {
    allocate channel sbt_backup1 type 'SBT_TAPE' format '%U' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/ora
    cle/bin64/tdpo_mydb.opt)';
    backup tablespace users;
    release channel sbt_backup1;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on sbt_backup1 channel at 10/02/2009 11:17:42
    ORA-19506: failed to create sequential file, name="0tkqpi6l_1_1", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
    ANS1025E (RC137) Session rejected: Authentication failure
    Settings
    /usr/tivoli/tsm/client/oracle/bin64
    dsm_mydb.opt
    SErver_name MYDBPRD
    tdpo_mydb.opt
    DSMI_ORC_CONFIG /usr/tivoli/tsm/client/oracle/bin64/dsm_mydb.opt
    TDPO_NODE MYDBPRD
    /usr/tivoli/tsm/client/api/bin64
    dsm.sys
    NODENAME MYDBPRD
    ERRORLOGNAME /usr/local/tsm/logs/IFSDBS_MYDBPRD_error.log
    SCHEDLOGNAME /usr/local/tsm/logs/IFSDBS_MYDBPRD_sched.log
    Note: Several db/clients are working on this server. This is a new setup and not working.

    This is not an Oracle/RMAN problem,contact your TSM administrator:
    http://www-01.ibm.com/support/docview.wss?uid=swg21216057
    Werner

  • Text Content Conversion - File Adapter - Creates empty file

    I am running XI 7.0.
    Mapping from abap proxy to file - text content conversion.
    The process works, generates and sends file from mySAP, maps through XI, logs onto ftp site and creates file, but doesn't write any data into the file!
    I am really confused as to what is happening!
    This is taken from the communication channel!
    Audit Log for Message: 5ccc2e46-c0f2-5349-e100-00000ddf240f
    Time Stamp Status Description
    2007-04-28 10:37:21 Success Message successfully received by messaging system. Profile: XI URL: http://host.fqdn:55000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
    2007-04-28 10:37:21 Success Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2007-04-28 10:37:21 Success Message successfully put into the queue.
    2007-04-28 10:37:21 Success The message was successfully retrieved from the receive queue.
    2007-04-28 10:37:21 Success The message status set to DLNG.
    2007-04-28 10:37:21 Success Delivering to channel: EPIW_FTP_Receiver_EmployeeRecords
    2007-04-28 10:37:21 Success File adapter receiver: processing started; QoS required: ExactlyOnce
    2007-04-28 10:37:21 Success File adapter receiver channel EPIW_FTP_Receiver_EmployeeRecords: start processing: party " ", service "XE_DEV_3RD_EPIW_001"
    2007-04-28 10:37:21 Success Connect to FTP server "ftp.ftp.ftp.ftp", directory "/ECS/Target"
    2007-04-28 10:37:21 Success Write to FTP server "ftp.ftp.ftp.ftp", directory "/ECS/Target",   file "epiw_output.dat"
    2007-04-28 10:37:21 Success Transfer: "BIN" mode, size 125 bytes, character encoding -
    2007-04-28 10:37:21 Success Start converting XML document content to plain text
    2007-04-28 10:37:21 Success File processing complete
    2007-04-28 10:37:21 Success The message was successfully delivered to the application using connection File_http://sap.com/xi/XI/System.
    2007-04-28 10:37:21 Success The message status set to DLVD.
    I can see the data before and after...  Any ideas?

    hi,
    this is starange:)
    did you refresh FTP (F5) ?
    maybe you're checking wrong ftp server? with the same folders ?
    ups - I thought I doens't create any file...
    as suggested check your mapping as per my blog:
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    just use TCODe for abap mapping tests - SXI_MAPPING_TEST
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Receiver-File-Adatper creates empty files on FTP-Server

    Hi experts,
    I have a problem with my IDOC-to-File-scenario. My Mapping converts IDOCs to XML-files. Then the xml-files should be send to a ftp-server in New York. but only the filename is created on the ftp-server in New York. but without any content.
    At first I tested the scenario with a ftp-server in our company. and it works. the files and the right content were created. so the scenario and the mapping are working correctly.
    Have you any idea what the problem is?
    Thanks and best regrads
    Christopher

    Dont use anonymous login. Please provide user name and password.
    Also go to adapter engine queue. There see the details description of your message. There it will specify which file got created, on which FTP server, in which folder and also how many bytes XI has transferred. If possible let me know these details.
    Also try uploading any other file to FTP.
    For this got to Command prompt.
    1. open (o) IP ADDRESS
    2. User name
    3. Password
    4. go to specified folder
    5. Use PUT command to save the file on FTP server.
    If after all these empty files is getting created then contact your system administrator and tell him to check firewall settings. Because there are few parameters which allows data transfer.
    Because if firewall problem is there then u wont be able to put a file manually on that FTP server.
    Let me know the output.
    Warm Regards,
    Gouri

  • File permission in unix - file is created by File Adapter

    I've created a composite that creates an output file in unix server. Problem that I have is the file permission. When file is created it has a permission like below even though this directory is widely open - chmod 777.
    -rw-r----- 1 oracle dba 1123 May 4 17:30 Item_18.xml
    How can I configure this so that when file is created by SOA composite it can share with others. As you see third group doesn't even have "read" permission.
    Edited by: user613835 on May 5, 2011 9:09 AM

    Hi,
    That means at os level it using umask value of 002 ...where as when you create it from ABAP it is using umask of 022.
    Is the owner for both the files are sidadm only?
    Thanks.

  • File receiver: Create empty file named "start.txt" at end of process

    Hello,
    When my file adapter finish the generation of file at the receiver server I want to create another empty file at the same directory named "start.txt". The use of that file if for a scheduled task of OS that only starts a process if start.txt file have been created (the process delete that file).
    How can I do that? I've tried with OS command after precessing but that's for the XI OS not the receiver system SO...
    Then I've seen that I can use ftp command but there isn't ftp command to create a file... only to transfer files.

    You can achive this using script.Write a script/bat to creat a file using ftp connection as well in the script and place in xi machine. Using OS command to call the script before the process ends.
    Unix OS
    Glimpse at OS Command: Yet Another Scenario
    Microsoft OS
    The specified item was not found.
    Regards
    Prabhakar

  • Checking the existence of a file b4 creating a file by the same name

    Hi All,
    I hav a scenario where I hav to check for the existence of a file by the same name (<b>XXXFile</b> say). If i don't hav any file by the name <b>XXXFile</b>, then i hav to create a file by the name <b>XXXFile</b> at that location. If it already exists, then i hav to wait till it gets deleted (takes hardly 1 min to get deleted).
    Can any one tell me :
    How to do this without using operating system command?
    And using operating system command?
    Any help wud be appreciated.
    Thnx in Adv
    Anil

    Hi Anil,
    You will i guess have a standard format in which you are going to write the file with a counter or something.
    Whenever you are going to write a file, you can:
    1. Check if there is a file already sent by this name?
    2. If no, then you can send the file at the same time update the name.
    You can do this by creating a ztable in SAP and accessing it through JCO/RFC. You can do this in your module or in the mapping.
    eg. /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
    Regards
    Vijaya
    Message was edited by: vijaya kumari

  • JDBC to  File Sender: Create Multiple Files

    Hi All,
    I have a requirement that I have to pick data form a SQL table and then based on the data in it I have to create multiple files using File receiver. Even the file name has to be derived from the data in the SQL table.
    e.g. The SELECT statement is fetchin 30 record and I have to make 3 files out iof it. Please suggest.
    regards,
    Piyush

    Hi,
    You can achieve without BPM, By using Enhance Interface Determination  i,e Multimapping without BPM.
    In additon you would required ASMA and dynamic configuration for this scenario.
    Regards,
    Abid

  • How do I separate pages in a file to create different files?

    I have a two page file and want each page in its own file.

    Hi,
    If your file is PDF file then you can use Adobe Acrobat to extract the pages from the PDF file.
    Adobe Acrobat XI Pro trial version can be downloaded from www.adobe.com.
    1. Open your PDF file in Acrobat
    2. Select "Tools" from top right corner
    3. Select "Pages" tab
    4. Select "Extract" then save the extracted page
    Hisami

  • Receiver file adapter creates empty files, Empty-Message Handling SP19

    Hello,
    We have just upgraded the system to SP19.
    One of the new features is that it should be possible to determine how XI messages with an empty main payload are to be handled in the receiver file adapter.
    If the parameter Empty-Message Handling is set to 'Ignore' no file should be created if the main payload is empty. In our case an empty file (size 0 kb) is still created even though the main payload is empty and the flag is set to 'Ignore'.
    Has anybody experienced the same problem?
    //  Best regards  Hans

    This should work:
    Use your own adapter module that parses incoming message and checks if it has any record sets in the document. If it does not have any record sets, then set the message to empty and then give this modified message to File receiver.
    For example, see the example code below:
    Module imports..
    Audit log import..
    DOM imports/SAX imports..
    public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData) throws ModuleException {
              try {
                   // get the XI message from the environment
                   Message msg = (Message) inputModuleData.getPrincipalData();
                   AuditMessageKey amk = new AuditMessageKey(msg.getMessageId(),AuditDirection.INBOUND);
                   Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"RemoveRootTag: Module called");
                   XMLPayload payLoad = msg.getDocument();
                   Document doc = parseXmlFile(payLoad.getInputStream());
                   if(doc != null){
                        if(!doc.getDocumentElement().hasChildNodes()){
                             Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "Document is empty!!");
                             payLoad.setContent("".getBytes());
                             msg.setDocument(payLoad);
                   // provide the XI message for returning
                   inputModuleData.setPrincipalData(msg);
                   } catch (Exception e) {
                   // raise exception, when an error occurred
                   ModuleException me = new ModuleException(e);
                   throw me;
                   // return XI message
              return inputModuleData;
         private Document parseXmlFile(InputStream xmlpayload) {
              try {
                   DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   factory.setValidating(false);
                   //        Create the builder and parse the file
                   Document doc = factory.newDocumentBuilder().parse(xmlpayload);
                   return doc;
              } catch (SAXException e) {
              } catch (ParserConfigurationException e) {
              } catch(IOException e){
              return null;

  • My photoshop will not open files or create new files, please help?

    Photoshop CS6 on Windows 7 will not work,
    When machine is first started the program works, for about 10 mins, then
    I can not open files, create new ones. When it does work it can not perform functions like transform etc.
    I tried disabling third party plug ins
    I tried creating a new account on my machine
    Nothing seems to work.
    Can any one shed some light on the problem?
    Cheers!

    Hudechrome wrote:
    Sorry! Ignore it.
    There is a script running which Noscript lets me forbid, called akamaihd.net. It runs a script which is the same as in html when you highlight a word then attach a url to it.
    I don't know why I am seeing it but not others. FF and Chrome seem susceptible to it. It's not malware as usually thought of because no virus/malware program finds it here.
    Unfortunately, I have to forbid this script for every site I visit.
    In the other thread where your browser displayed an 'i.trkjmp.com' link which isn't really in the web page, I gave you a Google link for info about the problem. You said that it must be something else. Well, for months now, Chrome and Firefox users have been troubled by extensions which cause the 'i.trkjmp.com' problem. You might want to revisit the link I gave you.

  • Can't open files or create new files in photoshop CS6

    Urgent!
    Since I updated photoshop, when I click New or Open File photoshop behaves like I didn't click anything.
    But otherwise reacts to anything else I click on.
    What is wrong?

    Without system info or other details we can't tell you anything. Most likely this is a permissions issue where PS cannot access the templates for new documents or other configuration data nor may it be able to create its swap files. Look into that and verify your file permission as well as turn off security tools that may block this stuff. also run as admin to test.
    Mylenium

  • Saving tiff or jpg files within a single, existing psd file without creating new files

         Hi, I just bought CS5 and I wonder if it is possible to save multiple images that are created within a single psd file in jpg or other image file formats without creating new psd files, but rather saving them as "embedded" within the single psd file in whih they are created. For example, one could select a portion of an image that one has created, and save just that selection as a jpg without leaving the existing psd file, and after that, one could select another portion of the same image and save it as a tiff, etc. Is this possible?
    Much thanks.

    No and Yes!
    You can do much of what you want, but not exactly as you described it.  You can certainly make multiple selections and have them saved in the psd file. You can also save jpg version of those selections, but you have to do a little extra work.
    Lets say, by way of example, you have an image and you want to make three different selections within that image, save each selection as a jpeg, and save those selections along with the full image as a psd file. You can do the following, which is just one way of several to proceed, with your image opened.
    1. Make selection 1, hit Ctrl+J to jump that selection to a new layer
    2. Make selection 2, hit Ctrl+J to jump that selection to a new layer
    3. Make selection 3, hit Ctrl+J to jump that selection to a new layer
    4. Alt click on the layer with selection 1. This makes only that layer visible.
    5. Click on Layer > Duplicate Layer > destination New > give it a name
    6. This creates a new (temporary document). Open it.
         click Image > Trim > transparent pixels
         click Save for Web & Devces, select your parameters and save your jpeg
         Close and discard this temporary file.
    7. Repeat steps 4,5 & 6 for selection 2 & selection 3
    8. Save your psd file
    You now have three jpegs and a psd file with all the information to create or modify the original selections
    Paulo

  • Visio 2013 Crashes (...has stopped working..) when opening a file or creating new file

    Just installed Visio 2013.  When I try to create a new document or open an existing document, Visio crashes (Visio has stopped working......).  It happens in safe mode too.  Further, I've looked at add ins and there are none that I can "uncheck".
     Not sure what else to try.
    Any help appreciated!

    Here is the event log:
    System
    Provider
    [ Name]
    Application Error
    EventID
    1000
    [ Qualifiers]
    0
    Level
    2
    Task
    100
    Keywords
    0x80000000000000
    TimeCreated
    [ SystemTime]
    2014-07-12T16:05:21.000000000Z
    EventRecordID
    10610
    Channel
    Application
    Computer
    Ativ9
    Security
    EventData
    VISIO.EXE
    15.0.4420.1017
    506742a9
    VISLIB.dll
    15.0.4420.1017
    506741bc
    c0000005
    000000000010a887
    1924
    01cf9deb115a039d
    C:\Program Files\Microsoft Office\Office15\VISIO.EXE
    C:\Program Files\Microsoft Office\Office15\VISLIB.dll
    52d5c490-09de-11e4-8280-7c7a912946d5
    Log Name:      Application
    Source:        Application Error
    Date:          7/12/2014 12:05:21 PM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Ativ9
    Description:
    Faulting application name: VISIO.EXE, version: 15.0.4420.1017, time stamp: 0x506742a9
    Faulting module name: VISLIB.dll, version: 15.0.4420.1017, time stamp: 0x506741bc
    Exception code: 0xc0000005
    Fault offset: 0x000000000010a887
    Faulting process id: 0x1924
    Faulting application start time: 0x01cf9deb115a039d
    Faulting application path: C:\Program Files\Microsoft Office\Office15\VISIO.EXE
    Faulting module path: C:\Program Files\Microsoft Office\Office15\VISLIB.dll
    Report Id: 52d5c490-09de-11e4-8280-7c7a912946d5
    Faulting package full name: 
    Faulting package-relative application ID: 
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-07-12T16:05:21.000000000Z" />
        <EventRecordID>10610</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Ativ9</Computer>
        <Security />
      </System>
      <EventData>
        <Data>VISIO.EXE</Data>
        <Data>15.0.4420.1017</Data>
        <Data>506742a9</Data>
        <Data>VISLIB.dll</Data>
        <Data>15.0.4420.1017</Data>
        <Data>506741bc</Data>
        <Data>c0000005</Data>
        <Data>000000000010a887</Data>
        <Data>1924</Data>
        <Data>01cf9deb115a039d</Data>
        <Data>C:\Program Files\Microsoft Office\Office15\VISIO.EXE</Data>
        <Data>C:\Program Files\Microsoft Office\Office15\VISLIB.dll</Data>
        <Data>52d5c490-09de-11e4-8280-7c7a912946d5</Data>
        <Data>
        </Data>
        <Data>
        </Data>
      </EventData>
    </Event>

Maybe you are looking for

  • Firefox suddenly can't connect to the Internet (Address Not Found)

    OK, so I recently bought a netbook (Asus eeePC) and put Arch on it to dual-boot. I took it with me on a business trip last week, and I was so impressed with Arch I decided to put it on my desktop today (I had used Arch before, but not for a long time

  • Distribution license

    Are there any charges for a distributiorship license for Reader and Flash Player?

  • Tips on wrapping my brain around using compression and expansion

    I have audio of an event where unfortunately some people were standing too far form the mic at points so their audio is low. What i am trying to do is wrap my brain around the Dynamics Processor to raise the low bits up to peak at -3db and then if an

  • Microphone not working: Audigy 2 Platinum, x64,

    I can get the microphone to work only when using a special program VSTHost, but not in Skype or Windows Sound Recorder (I'm using Mic 2 port on Audigy 2 Platinum front panel). I can hear the sound going to speakers but records nothing. Any suggestion

  • Clients cannot connect to WSUS Server

    Hi there, I have a Server 2012 with the WSUS feature installed. I successfully synchronised with Microsoft to download the updates. After that, I managed to add two clients (Win 8 and 8.1 respectively) into WSUS.  The next day, both clients lost conn