Core + JNI binding cannot re-open database with log in mem option

I am doing some tests with BDB Core using the JNI interface and I have so far found that the speed is much faster with the setLogInMemory(true) option set on the database. I know this puts durability at risk but assuming there is no crash and I successfully close the database I am not able to re-open the database.
I am opening the DB with code like the following:
public void setupEventDB(File envHome)
throws DatabaseException, FileNotFoundException {
EnvironmentConfig myEnvConfig = new EnvironmentConfig();
myEnvConfig.setTransactional(_transactional);
myEnvConfig.setAllowCreate(_allowCreate);
myEnvConfig.setInitializeCache(true);
myEnvConfig.setLogBufferSize(100000000);
myEnvConfig.setLogInMemory(true); //Causes all logging to go to memory
myEnvConfig.setPrivate(true);
// Open the environment
myEnv = new Environment(envHome, myEnvConfig);
DatabaseConfig myDbConfig = new DatabaseConfig();
myDbConfig.setReadOnly(_readOnly);
myDbConfig.setTransactional(_transactional);
myDbConfig.setAllowCreate(_allowCreate);
myDbConfig.setType(DatabaseType.BTREE);
// Now open, or create and open, our databases
// Open the vendors and inventory databases
eventDb = myEnv.openDatabase(null,
"eventDB.db",
"eventDB",
myDbConfig);
My basic test is the following:
1. Open database
2. Insert 10 million records
3. Walk cursor across all records
4. Close database
5. Re open database
6. Walk cursor again
7. Close database
Basically when I get to step 5 I get the following error:
file unknown has LSN 18889/65067, past end of log at 1/28
Commonly caused by moving a database from one database environment
to another without clearing the database LSNs, or by removing all of
the log files from a database environment
/u02/DB/0/eventDB.db: unexpected file type or format
Exception: java.lang.IllegalArgumentException: Invalid argument: the log files from a database environment
/u02/DB/0/eventDB.db: unexpected file type or format
java.lang.IllegalArgumentException: Invalid argument: the log files from a database environment
/u02/DB/0/eventDB.db: unexpected file type or format
at com.sleepycat.db.internal.db_javaJNI.Db_open(Native Method)
at com.sleepycat.db.internal.Db.open(Db.java:404)
at com.sleepycat.db.DatabaseConfig.openDatabase(DatabaseConfig.java:1990)
at com.sleepycat.db.Environment.openDatabase(Environment.java:314)
at db.MyDbEnv.setupEventDB(MyDbEnv.java:139)
at db.InsertTool.run(InsertTool.java:94)
at db.InsertTool.main(InsertTool.java:61)
Exception in thread "main" java.lang.NullPointerException
at db.MyDbEnv.close(MyDbEnv.java:170)
at db.InsertTool.main(InsertTool.java:70)
My cursor code looks like the following:
private void walkCursor() throws DatabaseException {
System.out.println("Walking cursor");
Cursor cursor = myDbEnv.getEventDB().openCursor(null, null);
long count = 0;
long beforeCursor = System.currentTimeMillis();
PnRealTimeObj obj = new PnRealTimeObj();
PnRealTimeObj temp = null;
while(cursor.getNext(theKey, theData, null) == OperationStatus.SUCCESS){
count ++;
temp = (PnRealTimeObj) obj.entryToObject(theData);
if(count != temp.getMsgId()){
System.out.println("Count: "+count+" record: "+temp);
cursor.close();
long afterCursor = System.currentTimeMillis();
System.out.println("End Scan Found : "+count+" records. Time delta: "+(afterCursor - beforeCursor)+ " ms");
Interested in how you can get a DB with log in memory == true to open? I have tried this by starting a different program afterwords to just walk the cursor and that didn't work either. I am assuming it is complaining because there is no log but there isn't supposed to be a log with log in mem == true. I am assuming everything should get flushed to the DB when you close the database so it should still work?
Thanks,
Jared

To answer your questions I was closing the DB and then closing the environment when I ran into this problem.
I however was not using the remove call from the API it isn't clear to me when one should call remove and when one should call close? It appears that both put the environment in a terminal state and seems that remove uses slightly more forceful language and talks about removing environment files on disk.
I did however as an update to this receive an answer from oracle from an email thread I had with them and was told that I should try the resetLogSequenceNumber command. I tried doing this between the DB close and the environment close and this seemed to do the trick. My code looked like the following:
eventDb.close();
                    long logResetStart = System.currentTimeMillis();
                    File[] dbfiles = _envHome.listFiles(new FilenameFilter(){
                         @Override
                         public boolean accept(File arg0, String arg1) {
                              if(arg1.endsWith(".db")){
                                   return true;
                              }else{
                                   return false;
                    for(File dbfile:dbfiles){
                         System.out.println("Resetting log sequence number in: "+dbfile.getAbsolutePath());
                         myEnv.resetLogSequenceNumber(dbfile.getAbsolutePath(), false);
                    long logResetEnd = System.currentTimeMillis();
                    System.out.println("Elapsed time for log reset: "+(logResetEnd-logResetStart));
=============
As a side note it looks like the reset log sequence number call is fairly heavy weight operation it took on the order of 22 seconds to complete on my box.

Similar Messages

  • Tried opening a file in library and it states can't open database with library name? It says Relaunch then will not open? and Blocks me completely from Aperture. I have to go to Finder to Rename it? I need this file how do I get it to open?

    Tried opening a file in library and it states can't open database with library name? It says Relaunch then will not open? and Blocks me completely from Aperture. I have to go to Finder to Rename it? I need this file how do I get it to open?

    Aftershotz,
    You're going to have to give a bit more information.
    What do you mean by "opening a file in library?"  There is no function of Aperture to open files -- you can open (switch) libraries.
    You'll have to be more specific about error messages, too.  Perhaps some screenshots would be useful to diagnose your problem.  "Can't open database with library name" is not enough detail about what Aperture is really telling you.
    nathan

  • Open database with corrupt datafile

    hi.. all
    i'm use oracle10g R2 on RHEL 3 ,because power outage my datafile INDEXES.dbf was corrupted and i can't open my database with this corrupted datafile , i'm try to recover the corrupted block with blockrecover command using RMAN and block recover finished and i'm still cann't open my database .
    SQL> alter database open ;
    alter database open
    ERROR at line 1:
    ORA-01115: IO error reading block from file 6 (block # 98473)
    ORA-01110: data file 6: '/home/oracle/oradata/branch16/INDEXES.dbf'
    ORA-27072: File I/O error
    Linux Error: 5: Input/output error
    Additional information: 4
    Additional information: 98473
    Additional information: -1
    i'm run my db in noarchivelog mode.
    i need to open my database ( i have a dump file for my schema from yesterday)
    please help me

    Hi
    If block level recovery is fin thru RMAN then open the database in mount state then do recover database and then open the database.
    The above procedure is not work then you need to recreate the controlfile with existing datafile except that corrupt file. After recreating do full imp. It will solve the issue.
    Regards
    N.Sirajudeen

  • Cannot connect to database with servlet thru apache http server / vhosts

    Hello,
    I have an application that works perfectly when Tomcat 5.5 is running stand-alone, but when I run Tomcat and Apache HTTP Server together, I get an error when trying to connect to the database. Servlets are working fine otherwise. Connection pooling is setup and working fine for Tomcat stand-alone. With the Apache server, I'm running Virtual Hosts.
    My guess is that I need something in the host block of server.xml about the context.xml where the db resource pool is defined. This is what I have so far in server.xml:
    <Host name="www.mydomain.com" debug="0" appBase="d:/WebApps/mydomain"
    unpackWARs="true" autoDeploy="true">
    <Context path="" docBase="" debug="0"/>
    </Host>
    Or the problem may be caused by something else entirely. Does anybody have any suggestions? Your help is greatly appreciated.
    Thank you,
    Logan

    A little help? Anybody?
    I can connect to the database with Tomcat stand-alone, but not with Tomcat integrated with Apache. I have seen this problem described elsewhere, but no solution has been found.

  • Cannot create SQL database with free trial subscription

    Hello,
    I get the error message 'The operation is not supported for your subscription offer type.' when trying to create a sql database with my free trial subscription.
    Regards
    Julian

    Hi Julian,
    It should be allowed, please provide steps that you used and ran into this issue. alternatively try these details
    step by step instructions to get started.
    Hope this helps
    Please mark as answered if it helped
    Vishal Narayan Saxena http://twitter.com/vishalishere http://www.ogleogle.com/vishal/

  • Cannot connect to database because log file is deleted

    Greetings,
    I just recently cleaned up some junk files from my PC and didn't realize that an oracle log file got deleted. Therefore when I try to connect to the database I got the following error:
    ORA-01033: ORACLE initialization or shutdown in progress
    From sql plus, I try to shutdown and startup the database so that I know what kind of file that got deleted. So, how can I fix the problem?
    regards,
    valerie
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 18 11:46:46 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL> startup
    ORA-01031: insufficient privileges
    SQL> connect firefly
    Enter password:
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    SQL> connect sys/manager as sysdba
    Connected.
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  146800640 bytes
    Fixed Size                  1286220 bytes
    Variable Size              92278708 bytes
    Database Buffers           50331648 bytes
    Redo Buffers                2904064 bytes
    Database mounted.
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1:
    'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    SQL>

    Hi Hermant,
    I'm not sure if it in archivelog mode or not. The following is the content of alert_xe:
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Fri Sep 18 10:53:16 2009
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows XP Version V5.1 Service Pack 3
    CPU                 : 1 - type 586, 1 Physical Cores
    Process Affinity    : 0x00000000
    Memory (Avail/Total): Ph:698M/990M, Ph+PgF:1306M/1621M, VA:1945M/2047M
    Fri Sep 18 10:53:16 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
      sessions                 = 49
      __shared_pool_size       = 79691776
      __large_pool_size        = 8388608
      __java_pool_size         = 4194304
      __streams_pool_size      = 0
      spfile                   = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
      sga_target               = 146800640
      control_files            = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
      __db_cache_size          = 50331648
      compatible               = 10.2.0.1.0
      db_recovery_file_dest    = C:\oraclexe\app\oracle\flash_recovery_area
      db_recovery_file_dest_size= 10737418240
      undo_management          = AUTO
      undo_tablespace          = UNDO
      remote_login_passwordfile= EXCLUSIVE
      dispatchers              = (PROTOCOL=TCP) (SERVICE=XEXDB)
      shared_servers           = 4
      job_queue_processes      = 4
      audit_file_dest          = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
      background_dump_dest     = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
      user_dump_dest           = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
      core_dump_dest           = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
      db_name                  = XE
      open_cursors             = 300
      os_authent_prefix        =
      pga_aggregate_target     = 31457280
    PMON started with pid=2, OS id=4052
    PSP0 started with pid=3, OS id=4048
    MMAN started with pid=4, OS id=3220
    DBW0 started with pid=5, OS id=3568
    LGWR started with pid=6, OS id=3292
    CKPT started with pid=7, OS id=3868
    SMON started with pid=8, OS id=4004
    RECO started with pid=9, OS id=3140
    CJQ0 started with pid=10, OS id=2484
    MMON started with pid=11, OS id=2840
    MMNL started with pid=12, OS id=3348
    Fri Sep 18 10:53:16 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Fri Sep 18 10:53:19 2009
    alter database mount exclusive
    Fri Sep 18 10:53:24 2009
    Setting recovery target incarnation to 2
    Fri Sep 18 10:53:25 2009
    Successful mount of redo thread 1, with mount id 2578987615
    Fri Sep 18 10:53:25 2009
    Database mounted in Exclusive Mode
    Completed: alter database mount exclusive
    Fri Sep 18 10:53:25 2009
    alter database open
    Fri Sep 18 10:53:27 2009
    Beginning crash recovery of 1 threads
    Fri Sep 18 10:53:28 2009
    Started redo scan
    Fri Sep 18 10:53:28 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2876.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Fri Sep 18 10:53:28 2009
    Aborting crash recovery due to error 313
    Fri Sep 18 10:53:28 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2876.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-313 signalled during: alter database open...
    Fri Sep 18 10:53:33 2009
    Starting ORACLE instance (normal)
    Fri Sep 18 11:08:24 2009
    db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Fri Sep 18 11:16:12 2009
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Fri Sep 18 11:20:11 2009
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows XP Version V5.1 Service Pack 3
    CPU                 : 1 - type 586, 1 Physical Cores
    Process Affinity    : 0x00000000
    Memory (Avail/Total): Ph:647M/990M, Ph+PgF:1346M/1621M, VA:1945M/2047M
    Fri Sep 18 11:20:11 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
      sessions                 = 49
      __shared_pool_size       = 79691776
      __large_pool_size        = 8388608
      __java_pool_size         = 4194304
      __streams_pool_size      = 0
      spfile                   = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
      sga_target               = 146800640
      control_files            = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
      __db_cache_size          = 50331648
      compatible               = 10.2.0.1.0
      db_recovery_file_dest    = C:\oraclexe\app\oracle\flash_recovery_area
      db_recovery_file_dest_size= 10737418240
      undo_management          = AUTO
      undo_tablespace          = UNDO
      remote_login_passwordfile= EXCLUSIVE
      dispatchers              = (PROTOCOL=TCP) (SERVICE=XEXDB)
      shared_servers           = 4
      job_queue_processes      = 4
      audit_file_dest          = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
      background_dump_dest     = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
      user_dump_dest           = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
      core_dump_dest           = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
      db_name                  = XE
      open_cursors             = 300
      os_authent_prefix        =
      pga_aggregate_target     = 31457280
    PMON started with pid=2, OS id=2696
    PSP0 started with pid=3, OS id=2700
    MMAN started with pid=4, OS id=2704
    DBW0 started with pid=5, OS id=2708
    LGWR started with pid=6, OS id=2712
    CKPT started with pid=7, OS id=2716
    SMON started with pid=8, OS id=2720
    RECO started with pid=9, OS id=2724
    CJQ0 started with pid=10, OS id=2728
    MMON started with pid=11, OS id=2732
    MMNL started with pid=12, OS id=2736
    Fri Sep 18 11:20:11 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Fri Sep 18 11:20:20 2009
    alter database mount exclusive
    Fri Sep 18 11:20:26 2009
    Setting recovery target incarnation to 2
    Fri Sep 18 11:20:27 2009
    Successful mount of redo thread 1, with mount id 2579045300
    Fri Sep 18 11:20:27 2009
    Database mounted in Exclusive Mode
    Completed: alter database mount exclusive
    Fri Sep 18 11:20:29 2009
    alter database open
    Fri Sep 18 11:20:32 2009
    Beginning crash recovery of 1 threads
    Fri Sep 18 11:20:33 2009
    Started redo scan
    Fri Sep 18 11:20:34 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2772.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Fri Sep 18 11:20:34 2009
    Aborting crash recovery due to error 313
    Fri Sep 18 11:20:34 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2772.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-313 signalled during: alter database open...
    Fri Sep 18 11:20:39 2009
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Fri Sep 18 11:31:16 2009
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows XP Version V5.1 Service Pack 3
    CPU                 : 1 - type 586, 1 Physical Cores
    Process Affinity    : 0x00000000
    Memory (Avail/Total): Ph:673M/990M, Ph+PgF:1371M/1621M, VA:1945M/2047M
    Fri Sep 18 11:31:16 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
      sessions                 = 49
      __shared_pool_size       = 79691776
      __large_pool_size        = 8388608
      __java_pool_size         = 4194304
      __streams_pool_size      = 0
      spfile                   = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
      sga_target               = 146800640
      control_files            = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
      __db_cache_size          = 50331648
      compatible               = 10.2.0.1.0
      db_recovery_file_dest    = C:\oraclexe\app\oracle\flash_recovery_area
      db_recovery_file_dest_size= 10737418240
      undo_management          = AUTO
      undo_tablespace          = UNDO
      remote_login_passwordfile= EXCLUSIVE
      dispatchers              = (PROTOCOL=TCP) (SERVICE=XEXDB)
      shared_servers           = 4
      job_queue_processes      = 4
      audit_file_dest          = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
      background_dump_dest     = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
      user_dump_dest           = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
      core_dump_dest           = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
      db_name                  = XE
      open_cursors             = 300
      os_authent_prefix        =
      pga_aggregate_target     = 31457280
    PMON started with pid=2, OS id=2740
    PSP0 started with pid=3, OS id=2744
    MMAN started with pid=4, OS id=2752
    DBW0 started with pid=5, OS id=2756
    LGWR started with pid=6, OS id=2760
    CKPT started with pid=7, OS id=2764
    SMON started with pid=8, OS id=2768
    RECO started with pid=9, OS id=2772
    CJQ0 started with pid=10, OS id=2776
    MMON started with pid=11, OS id=2780
    MMNL started with pid=12, OS id=2784
    Fri Sep 18 11:31:16 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Fri Sep 18 11:31:21 2009
    alter database mount exclusive
    Fri Sep 18 11:31:26 2009
    Setting recovery target incarnation to 2
    Fri Sep 18 11:31:27 2009
    Successful mount of redo thread 1, with mount id 2579028809
    Fri Sep 18 11:31:27 2009
    Database mounted in Exclusive Mode
    Completed: alter database mount exclusive
    Fri Sep 18 11:31:27 2009
    alter database open
    Fri Sep 18 11:31:28 2009
    Beginning crash recovery of 1 threads
    Fri Sep 18 11:31:28 2009
    Started redo scan
    Fri Sep 18 11:31:29 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2816.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Fri Sep 18 11:31:29 2009
    Aborting crash recovery due to error 313
    Fri Sep 18 11:31:29 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2816.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-313 signalled during: alter database open...
    Fri Sep 18 11:31:34 2009
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Fri Sep 18 11:40:56 2009
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows XP Version V5.1 Service Pack 3
    CPU                 : 1 - type 586, 1 Physical Cores
    Process Affinity    : 0x00000000
    Memory (Avail/Total): Ph:656M/990M, Ph+PgF:1371M/1621M, VA:1945M/2047M
    Fri Sep 18 11:40:56 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
      sessions                 = 49
      __shared_pool_size       = 79691776
      __large_pool_size        = 8388608
      __java_pool_size         = 4194304
      __streams_pool_size      = 0
      spfile                   = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
      sga_target               = 146800640
      control_files            = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
      __db_cache_size          = 50331648
      compatible               = 10.2.0.1.0
      db_recovery_file_dest    = C:\oraclexe\app\oracle\flash_recovery_area
      db_recovery_file_dest_size= 10737418240
      undo_management          = AUTO
      undo_tablespace          = UNDO
      remote_login_passwordfile= EXCLUSIVE
      dispatchers              = (PROTOCOL=TCP) (SERVICE=XEXDB)
      shared_servers           = 4
      job_queue_processes      = 4
      audit_file_dest          = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
      background_dump_dest     = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
      user_dump_dest           = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
      core_dump_dest           = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
      db_name                  = XE
      open_cursors             = 300
      os_authent_prefix        =
      pga_aggregate_target     = 31457280
    PMON started with pid=2, OS id=2612
    PSP0 started with pid=3, OS id=2616
    MMAN started with pid=4, OS id=2624
    DBW0 started with pid=5, OS id=2628
    LGWR started with pid=6, OS id=2632
    CKPT started with pid=7, OS id=2636
    SMON started with pid=8, OS id=2640
    RECO started with pid=9, OS id=2644
    CJQ0 started with pid=10, OS id=2648
    MMON started with pid=11, OS id=2652
    MMNL started with pid=12, OS id=2656
    Fri Sep 18 11:40:57 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Fri Sep 18 11:40:59 2009
    alter database mount exclusive
    Fri Sep 18 11:41:04 2009
    Setting recovery target incarnation to 2
    Fri Sep 18 11:41:05 2009
    Successful mount of redo thread 1, with mount id 2579051403
    Fri Sep 18 11:41:05 2009
    Database mounted in Exclusive Mode
    Completed: alter database mount exclusive
    Fri Sep 18 11:41:05 2009
    alter database open
    Fri Sep 18 11:41:06 2009
    Beginning crash recovery of 1 threads
    Fri Sep 18 11:41:07 2009
    Started redo scan
    Fri Sep 18 11:41:07 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2692.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Fri Sep 18 11:41:07 2009
    Aborting crash recovery due to error 313
    Fri Sep 18 11:41:07 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2692.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-313 signalled during: alter database open...
    Fri Sep 18 11:41:11 2009
    Starting ORACLE instance (normal)
    Shutting down instance: further logons disabled
    Fri Sep 18 11:43:19 2009
    Stopping background process CJQ0
    Fri Sep 18 11:43:19 2009
    Stopping background process MMNL
    Fri Sep 18 11:43:19 2009
    Stopping background process MMON
    Fri Sep 18 11:43:19 2009
    Shutting down instance (immediate)
    License high water mark = 1
    Fri Sep 18 11:43:19 2009
    Stopping Job queue slave processes
    Fri Sep 18 11:43:19 2009
    Job queue slave processes stopped
    Waiting for dispatcher 'D000' to shutdown
    All dispatchers and shared servers shutdown
    Fri Sep 18 11:43:20 2009
    alter database close normal
    ORA-1109 signalled during: alter database close normal...
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Fri Sep 18 11:43:27 2009
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows XP Version V5.1 Service Pack 3
    CPU                 : 1 - type 586, 1 Physical Cores
    Process Affinity    : 0x00000000
    Memory (Avail/Total): Ph:708M/990M, Ph+PgF:1375M/1621M, VA:1945M/2047M
    Fri Sep 18 11:43:27 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
      sessions                 = 49
      __shared_pool_size       = 79691776
      __large_pool_size        = 8388608
      __java_pool_size         = 4194304
      __streams_pool_size      = 0
      spfile                   = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
      sga_target               = 146800640
      control_files            = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
      __db_cache_size          = 50331648
      compatible               = 10.2.0.1.0
      db_recovery_file_dest    = C:\oraclexe\app\oracle\flash_recovery_area
      db_recovery_file_dest_size= 10737418240
      undo_management          = AUTO
      undo_tablespace          = UNDO
      remote_login_passwordfile= EXCLUSIVE
      dispatchers              = (PROTOCOL=TCP) (SERVICE=XEXDB)
      shared_servers           = 4
      job_queue_processes      = 4
      audit_file_dest          = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
      background_dump_dest     = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
      user_dump_dest           = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
      core_dump_dest           = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
      db_name                  = XE
      open_cursors             = 300
      os_authent_prefix        =
      pga_aggregate_target     = 31457280
    PMON started with pid=2, OS id=3168
    PSP0 started with pid=3, OS id=3172
    MMAN started with pid=4, OS id=3176
    DBW0 started with pid=5, OS id=3180
    LGWR started with pid=6, OS id=3184
    CKPT started with pid=7, OS id=3188
    SMON started with pid=8, OS id=3192
    RECO started with pid=9, OS id=3196
    CJQ0 started with pid=10, OS id=3200
    MMON started with pid=11, OS id=3204
    MMNL started with pid=12, OS id=3208
    Fri Sep 18 11:43:28 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Fri Sep 18 11:43:28 2009
    alter database mount exclusive
    Fri Sep 18 11:43:32 2009
    Setting recovery target incarnation to 2
    Fri Sep 18 11:43:32 2009
    Successful mount of redo thread 1, with mount id 2579057184
    Fri Sep 18 11:43:32 2009
    Database mounted in Exclusive Mode
    Completed: alter database mount exclusive
    Fri Sep 18 11:43:33 2009
    alter database open
    Fri Sep 18 11:43:34 2009
    Beginning crash recovery of 1 threads
    Fri Sep 18 11:43:34 2009
    Started redo scan
    Fri Sep 18 11:43:34 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_3240.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Fri Sep 18 11:43:34 2009
    Aborting crash recovery due to error 313
    Fri Sep 18 11:43:34 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_3240.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-313 signalled during: alter database open...
    Fri Sep 18 11:43:38 2009
    Starting ORACLE instance (normal)
    Fri Sep 18 11:47:55 2009
    Shutting down instance: further logons disabled
    Fri Sep 18 11:47:55 2009
    Stopping background process CJQ0
    Fri Sep 18 11:47:55 2009
    Stopping background process MMNL
    Fri Sep 18 11:47:55 2009
    Stopping background process MMON
    Fri Sep 18 11:47:55 2009
    Shutting down instance (immediate)
    License high water mark = 1
    Fri Sep 18 11:47:55 2009
    Stopping Job queue slave processes
    Fri Sep 18 11:47:55 2009
    Job queue slave processes stopped
    Waiting for dispatcher 'D000' to shutdown
    Waiting for shared server 'S001' to die
    All dispatchers and shared servers shutdown
    Fri Sep 18 11:47:56 2009
    ALTER DATABASE CLOSE NORMAL
    ORA-1109 signalled during: ALTER DATABASE CLOSE NORMAL...
    Fri Sep 18 11:47:56 2009
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Fri Sep 18 11:48:23 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
      sessions                 = 49
      __shared_pool_size       = 79691776
      __large_pool_size        = 8388608
      __java_pool_size         = 4194304
      __streams_pool_size      = 0
      spfile                   = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
      sga_target               = 146800640
      control_files            = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
      __db_cache_size          = 50331648
      compatible               = 10.2.0.1.0
      db_recovery_file_dest    = C:\oraclexe\app\oracle\flash_recovery_area
      db_recovery_file_dest_size= 10737418240
      undo_management          = AUTO
      undo_tablespace          = UNDO
      remote_login_passwordfile= EXCLUSIVE
      dispatchers              = (PROTOCOL=TCP) (SERVICE=XEXDB)
      shared_servers           = 4
      job_queue_processes      = 4
      audit_file_dest          = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
      background_dump_dest     = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
      user_dump_dest           = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
      core_dump_dest           = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
      db_name                  = XE
      open_cursors             = 300
      os_authent_prefix        =
      pga_aggregate_target     = 31457280
    PMON started with pid=2, OS id=3628
    PSP0 started with pid=3, OS id=3632
    MMAN started with pid=4, OS id=3636
    DBW0 started with pid=5, OS id=3640
    LGWR started with pid=6, OS id=3644
    CKPT started with pid=7, OS id=3648
    SMON started with pid=8, OS id=3652
    RECO started with pid=9, OS id=3656
    CJQ0 started with pid=10, OS id=3660
    MMON started with pid=11, OS id=3664
    MMNL started with pid=12, OS id=3668
    Fri Sep 18 11:48:24 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Fri Sep 18 11:48:24 2009
    ALTER DATABASE   MOUNT
    Fri Sep 18 11:48:29 2009
    Setting recovery target incarnation to 2
    Fri Sep 18 11:48:29 2009
    Successful mount of redo thread 1, with mount id 2579048520
    Fri Sep 18 11:48:29 2009
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE   MOUNT
    Fri Sep 18 11:48:29 2009
    ALTER DATABASE OPEN
    Fri Sep 18 11:48:29 2009
    Beginning crash recovery of 1 threads
    Fri Sep 18 11:48:29 2009
    Started redo scan
    Fri Sep 18 11:48:29 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_3708.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Fri Sep 18 11:48:29 2009
    Aborting crash recovery due to error 313
    Fri Sep 18 11:48:29 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_3708.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-313 signalled during: ALTER DATABASE OPEN...
    Fri Sep 18 11:53:41 2009
    db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.

  • View to check We Can Open Database with Resetlog Option

    Hi Experts,
    i need to know the view name that can tell us we can open the database in resetlog option during recovery process.
    regards,
    rizwan

    Hi Rizwan;
    i need to know the view name that can tell us we can open the database in resetlog option during recovery process.What is DB version?
    Pelase check below link:
    Troubleshooting Backups - V$ Recovery Views
    http://www.toadworld.com/KNOWLEDGE/KnowledgeXpertforOracle/tabid/648/TopicID/TBT3/Default.aspx
    Regard
    Helios

  • Can't open database with Windows from linux system *URGENT*

    Hi,
    i've two systems. A Linux SuSE 9.3 Pro system with Oracle Database 9.2.0.4
    and a Windows 2000 system with the same version of Oracle.
    Now, i try to connect the Windows system with the Linux system, but i doesn't work. I also, have
    installed the Listener, on the linux system.
    What am i doing wrong? Can someone help me?
    Thanks in advance.
    Greets
    Daniel

    Thanks, but i've already solved the problem.
    I've just switched off the firewall on the linux system.
    And now it works.
    But thanks for ur reply.

  • "This project was saved in a newer version of APP and cannot be opened in this version"  NO convert option with 7.2.2 from 8.0.1

    Our computers are on a network.  Another computer has a project which i need to work on.  Same CC account.  The other computer (8.0.1) saved it and I (7.2.2) tried to open it....to no avail.  I opened straight from the opening screen and tried to import it into an existing project.  Got the error message both times.  Had him save it to my local drive, and still could not open it (same error appeared).
    No converting message present.
    As a side note . . . if I run updates on both machines, why are we not on the same version?

    HI CMN_Virginia,
    Welcome to Adobe forums.
    If you want to open a project of a later version on a previous version Premiere Pro, you can follow the given below workflow:
    -Go to the original project in the current version (say 8.0.1) where it was originally created.
    -Select the Project bin and export an XML File of the same by going to File>Export>Final Cut Pro XML after selecting the entire Project bin. (Please make sure the XML if of the Project Bin and not of the Timeline as in that case you might not get the complete project in the XML)
    -Save this XML Export file to a convenient location. Move this XML to the internal drive of the second machine along with all the media it contains the reference to.
    (A text file will also be created next to it, delineating the details of export and reporting misses, if any)
    -Now go to the other computer with previous version of Premiere  Pro (say 7.2.2) and open a new project.
    -then go to File>Import and Import the XML of the project previously saved. The XML would be imported.
    (Please note that the importing the XML will not load the media of the project by default. You would get the media offline message because it would be trying to find the media in the older location of the previous system. You would need to right click on the clips and choose "Link Media" and then navigate through the folder to find and connect the media).
    Following the above workflow should let you open the project in a previous version of Premiere Pro.
    Thanks and regards
    Tushar Tyagi

  • Cannot start two database with same dbname in a computer

    I have installed oracle and coppied
    D:\oracle\product\10.2.0\admin\orcl to D:\oracle\product\10.2.0\admin\orcl2
    D:\oracle\product\10.2.0\flash_recovery_area\ORCL to D:\oracle\product\10.2.0\flash_recovery_area\ORCL2
    D:\oracle\product\10.2.0\oradata\orcl to D:\oracle\product\10.2.0\oradata\orcl2
    Now I have changed in
    D:\oracle\product\10.2.0\admin\orcl2\pfile\init.ora file following parameters
    instance_name=orcl2
    lock_name_space=orcl2
    control_files=("D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL2\CONTROLFILE\O1_MF_3NZJMBJ3_.CTL", "D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL2\CONTROLFILE\O1_MF_3NZJMBPG_.CTL")
    DB_FILE_NAME_CONVERT oradata\orcl, oradata\orcl2
    And create instance orcl2 using this pfile.
    now I want to start both database but whenever I mound orcl2 instance it gives me following error
    SQL> startup mount pfile=D:\oracle\product\10.2.0\admin\orcl2\pfile\init.ora
    ORA-32006: LOCK_NAME_SPACE initialization parameter has been deprecated
    Ýêçåìïëÿð ORACLE çàïóùåí.
    Total System Global Area 612368384 bytes
    Fixed Size 1250428 bytes
    Variable Size 167775108 bytes
    Database Buffers 436207616 bytes
    Redo Buffers 7135232 bytes
    ORA-00205: ?????? ??? ????????????? ???????????? ?????, ?? ???. ???????????
    ?????????? ? ??????? ??????????????

    You are using a deprecated parameter which is being used in your init.ora.
    This parameter is deprecated. It is retained for backward compatibility only.
    LOCK_NAME_SPACE
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams096.htm#sthref402
    Initialization Parameters Deprecated in Release 10.1
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14238/changes.htm#i638128
    Adith

  • I can no longer access a password protected Numbers file with the correct password. Error message only says the file "cannot be opened."

    I'm using Numbers version 3.2.2.
    Suddenly I cannot access my password protected Numbers file with the correct password. I have the correct password written down so I know I haven't made a mistake.
    The response box that pops up says that the file cannot be opened. There are no other options for me to choose from.

    Also, I tried to open it through an older version of Numbers but it sent this error message.

  • Excel Services 2010 Error - "The workbook cannot be opened."

    I enabled Excel Services and added a Excel Web Access viewer to my page. It's just a simple spreadsheet (which incidentally works fine on my standalone development server) that displays the error "The workbook cannot be opened." when the page loads. The trusted
    file locations are set up appropriately. We are using Kerberos authentication.
    My event viewer showed this "Critical" event (ID: 3760):
    SQL Database 'Prod_WSS_Content' on SQL Server instance 'servername' not found. Additional error information from SQL Server is included below.
    Cannot open database "Prod_WSS_Content" requested by the login. The login failed. Login failed for user 'domain\user'.
    In other words, the service account that ECS was running under did not have permission to the content database. So I granted the user read permission on the database. Then I got the same error and this "Error" level event in the event viewer (ID: 5617):
    There is a compatibility range mismatch between the Web server and database "Prod_WSS_Content", and connections to the data have been blocked to due to this incompatibility. This can happen when a content database has not been upgraded to be within the compatibility
    range of the Web server, or if the database has been upgraded to a higher level than the web server. The Web server and the database must be upgraded to the same version and build level to return to compatibility range.
    This error is typically associated with 2007 to 2010 upgrades apparently, but I did a fresh 2010 installation on a pristine machine. I found a very helpful post on the subject on the MSDN blogs:http://blogs.msdn.com/b/jjameson/archive/2010/05/04/the-workbook-cannot-be-opened-error-with-sharepoint-server-2010-and-tfs-2010.aspx
    I gave the ECS service account db_owner permission on the content database. I'm still getting the error "The workbook cannot be opened." I ran the PowerShell commands listed at the bottom of the post, and no change.
    What's interesting now, is that nothing at all is showing up in the event
    viewer. I wonder if it is because of the statement in the event log that says "connections to the data have been blocked due to this incompatibility." Is there something on the SharePoint server blocking the connection to SQL Server that needs to be reset?
    Rob Wilson - MCT. MCTS, MCITP SharePoint. http://sharepointblog.kellerschroeder.com http://www.therobman.com/blog

    Hi Rob Wilson,
    I suggest you to check the following things at first:
    1.      
    What’s the version of the excel file? Excel 2003, Excel 2007 or Excel 2010? Excel Service doesn’t support Excel 2003 and easier version;
    2.      
    Are there some features the Excel Service do not support?
    More information about the Supported and Unsupported Features
    http://msdn.microsoft.com/en-us/library/ff595319.aspx
    3.      
    If the excel is connected to SQL, did you save the connect file to the Data Connection Library?
    Shared your views.

  • Problem opening database after successfull recovery

    Hi All,
    Can any one please help me with below error.
    I am doing system copy from Source_SID to Target_SID taking online backup and generated offline redo log files during start of backup to end.
    We are on Windows 2003 server, DB is Oracle 10g and system is SRM 5.0. I was trying system copy backup/restore for DB and export/import for java. I have got online consistent backup along with offline redo logs of source system. Also have taken CI export.
    Here the file system directories in TARGET_SID and SOURCE_SID are different. First i have restored the online backup of Source_SID in Target_SID system (RYV). Took the trace file of Source_SID system and modified accordingly the filesystem structure directories of the TARGET SySTEM. Also renamed the TARGET_SID to SOURCE_SID.
    Now started it in nomount state with below command.
    SQL> STARTUP NOMOUNT PFILE=E:\ORACLE\RYV\102\database\initRYV.ora
    ORACLE instance started.
    Total System Global Area 2634022912 bytes
    Fixed Size                  2203184 bytes
    Variable Size            1337811408 bytes
    Database Buffers         1291845632 bytes
    Redo Buffers                2162688 bytes
    Generated the modifiled trace file script (renamed it as controlfile.sql).
    SQL>  @Controlfile.sql
    Control file created.
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1: 'K:\ORACLE\RYV\SAPDATA1\SYSTEM_1\SYSTEM.DATA1'
    Before executing the command i have places all the offline redo log files which were generated in source system during the online backup. During online backup, offline redo logs 04729 to 04732 were generated. Now i have issued below command.
    SQL> alter database recover automatic using backup controlfile until cancel;
    alter database recover automatic using backup controlfile until cancel
    ERROR at line 1:
    ORA-00279: change 112926870 generated at 09/29/2008 17:26:55 needed for thread
    1
    ORA-00289: suggestion : F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001
    ORA-00280: change 112926870 for thread 1 is in sequence #4733
    ORA-00278: log file 'F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001' no
    longer needed for this recovery
    ORA-00308: cannot open archived log
    'F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Offline Redo log files from 04729 to 04732 were applied and it was trying for 04733 which was not there. Now issued below command.
    SQL> recover cancel;
    Media recovery complete.
    Finally tried to open database with resetlogs and here i am getting problem.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    SQL>
    Please suggest whether is there different procedure for system copy using backup/restore if file structure is different for Source_SID and Target_SID.
    Thanking you for your help.
    Regards
    Ravi

    Alert Log Details:
    Sun Oct 12 08:42:37 2008
    Starting ORACLE instance (normal)
    Sun Oct 12 08:42:37 2008
    Specified value of sga_max_size is too small, bumping to 2634022912
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
      processes                = 80
      sessions                 = 96
      event                    = 10191 trace name context forever, level 1
      sga_max_size             = 2634022912
      shared_pool_size         = 1291845632
      shared_pool_reserved_size= 127512084
      filesystemio_options     = setall
      control_files            = G:\ORACLE\RYV\ORIGLOGA\CNTRL\CNTLRRYV.DBF, F:\ORACLE\RYV\ORAARCH\CNTRL\CNTRLRYV.DBF, K:\ORACLE\RYV\SAPDATA1\CNTRL\CNTRLRYV.DBF
      control_file_record_keep_time= 30
      db_block_size            = 8192
      db_cache_size            = 1291845632
      compatible               = 10.2.0
      log_archive_dest         = F:\oracle\RYV\oraarch\RYVarch
      log_buffer               = 2097152
      log_checkpoint_interval  = 0
      db_files                 = 254
      log_checkpoints_to_alert = TRUE
      dml_locks                = 4000
      undo_management          = AUTO
      undo_tablespace          = PSAPUNDO
      undo_retention           = 43200
      recyclebin               = off
      remote_os_authent        = TRUE
      remote_login_passwordfile= EXCLUSIVE
      job_queue_processes      = 1
      background_dump_dest     = K:\ORACLE\RYV\SAPTRACE\BACKGROUND
      user_dump_dest           = K:\ORACLE\RYV\SAPTRACE\USERTRACE
      core_dump_dest           = K:\ORACLE\RYV\SAPTRACE\BACKGROUND
      optimizer_features_enable= 10.2.0.1
      sort_area_size           = 2097152
      sort_area_retained_size  = 0
      db_name                  = RYV
      open_cursors             = 800
      optimpeek_user_binds   = FALSE
      pga_aggregate_target     = 629145600
      workarea_size_policy     = AUTO
      statistics_level         = typical
    PMON started with pid=2, OS id=4600
    PSP0 started with pid=6, OS id=5228
    MMAN started with pid=10, OS id=5664
    DBW0 started with pid=14, OS id=4648
    DBW1 started with pid=18, OS id=5588
    DBW2 started with pid=22, OS id=4280
    DBW3 started with pid=26, OS id=648
    LGWR started with pid=30, OS id=4780
    CKPT started with pid=34, OS id=1348
    SMON started with pid=38, OS id=6024
    RECO started with pid=42, OS id=5208
    CJQ0 started with pid=46, OS id=1332
    MMON started with pid=50, OS id=1304
    MMNL started with pid=54, OS id=2736
    Sun Oct 12 08:42:44 2008
    CREATE CONTROLFILE REUSE SET DATABASE "RYV" RESETLOGS  ARCHIVELOG
        MAXLOGFILES 255
        MAXLOGMEMBERS 5
        MAXDATAFILES 5000
        MAXINSTANCES 50
        MAXLOGHISTORY 2629
    LOGFILE
      GROUP 1 (
        'G:\ORACLE\RYV\ORIGLOGA\LOG_G11M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGA\LOG_G11M2.DBF'
      ) SIZE 90M,
      GROUP 2 (
        'G:\ORACLE\RYV\ORIGLOGB\LOG_G12M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGB\LOG_G12M2.DBF'
      ) SIZE 90M,
      GROUP 3 (
        'G:\ORACLE\RYV\ORIGLOGA\LOG_G13M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGA\LOG_G13M2.DBF'
      ) SIZE 90M,
      GROUP 4 (
        'G:\ORACLE\RYV\ORIGLOGB\LOG_G14M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGB\LOG_G14M2.DBF'
      ) SIZE 90M,
      GROUP 5 (
        'G:\ORACLE\RYV\ORIGLOGA\LOG_G15M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGA\LOG_G15M2.DBF'
      ) SIZE 90M,
      GROUP 6 (
        'G:\ORACLE\RYV\ORIGLOGB\LOG_G16M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGB\LOG_G16M2.DBF'
      ) SIZE 90M,
      GROUP 7 (
        'G:\ORACLE\RYV\ORIGLOGA\LOG_G17M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGA\LOG_G17M2.DBF'
      ) SIZE 90M,
      GROUP 8 (
        'G:\ORACLE\RYV\ORIGLOGB\LOG_G18M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGB\LOG_G18M2.DBF'
      ) SIZE 90M
    -- STANDBY LOGFILE
    DATAFILE
      'K:\ORACLE\RYV\SAPDATA1\SYSTEM_1\SYSTEM.DATA1',
      'J:\ORACLE\RYV\SAPDATA3\UNDO_1\UNDO.DATA1',
      'K:\ORACLE\RYV\SAPDATA4\SYSAUX_1\SYSAUX.DATA1',
      'K:\ORACLE\RYV\SAPDATA1\SR3_1\SR3.DATA1',
      'K:\ORACLE\RYV\SAPDATA1\SR3_2\SR3.DATA2',
      'K:\ORACLE\RYV\SAPDATA1\SR3_3\SR3.DATA3',
      'K:\ORACLE\RYV\SAPDATA1\SR3_4\SR3.DATA4',
      'K:\ORACLE\RYV\SAPDATA1\SR3_5\SR3.DATA5',
      'K:\ORACLE\RYV\SAPDATA1\SR3_6\SR3.DATA6',
      'K:\ORACLE\RYV\SAPDATA1\SR3700_1\SR3700.DATA1',
      'K:\ORACLE\RYV\SAPDATA1\SR3700_2\SR3700.DATA2',
      'K:\ORACLE\RYV\SAPDATA1\SR3700_3\SR3700.DATA3',
      'K:\ORACLE\RYV\SAPDATA1\SR3700_4\SR3700.DATA4',
      'K:\ORACLE\RYV\SAPDATA1\SR3USR_1\SR3USR.DATA1',
      'K:\ORACLE\RYV\SAPDATA1\SR3DB_1\SR3DB.DATA1',
      'K:\ORACLE\RYV\SAPDATA1\SR3DB_2\SR3DB.DATA2',
      'K:\ORACLE\RYV\SAPDATA1\SR3DB_3\SR3DB.DATA3'
    CHARACTER SET UTF8
    Sun Oct 12 08:42:44 2008
    WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
    Default Temporary Tablespace will be necessary for a locally managed database in future release
    Setting recovery target incarnation to 1
    Sun Oct 12 08:42:45 2008
    Successful mount of redo thread 1, with mount id 157697668
    Sun Oct 12 08:42:45 2008
    Completed: CREATE CONTROLFILE REUSE SET DATABASE "RYV" RESETLOGS  ARCHIVELOG
        MAXLOGFILES 255
        MAXLOGMEMBERS 5
        MAXDATAFILES 5000
        MAXINSTANCES 50
        MAXLOGHISTORY 2629
    LOGFILE
      GROUP 1 (
        'G:\ORACLE\RYV\ORIGLOGA\LOG_G11M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGA\LOG_G11M2.DBF'
      ) SIZE 90M,
      GROUP 2 (
        'G:\ORACLE\RYV\ORIGLOGB\LOG_G12M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGB\LOG_G12M2.DBF'
      ) SIZE 90M,
      GROUP 3 (
        'G:\ORACLE\RYV\ORIGLOGA\LOG_G13M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGA\LOG_G13M2.DBF'
      ) SIZE 90M,
      GROUP 4 (
        'G:\ORACLE\RYV\ORIGLOGB\LOG_G14M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGB\LOG_G14M2.DBF'
      ) SIZE 90M,
      GROUP 5 (
        'G:\ORACLE\RYV\ORIGLOGA\LOG_G15M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGA\LOG_G15M2.DBF'
      ) SIZE 90M,
      GROUP 6 (
        'G:\ORACLE\RYV\ORIGLOGB\LOG_G16M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGB\LOG_G16M2.DBF'
      ) SIZE 90M,
      GROUP 7 (
        'G:\ORACLE\RYV\ORIGLOGA\LOG_G17M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGA\LOG_G17M2.DBF'
      ) SIZE 90M,
      GROUP 8 (
        'G:\ORACLE\RYV\ORIGLOGB\LOG_G18M1.DBF',
        'H:\ORACLE\RYV\MIRRLOGB\LOG_G18M2.DBF'
      ) SIZE 90M
    -- STANDBY LOGFILE
    DATAFILE
      'K:\ORACLE\RYV\SAPDATA1\SYSTEM_1\SYSTEM.DATA1',
      'J:\ORACLE\RYV\SAPDATA3\UNDO_1\UNDO.DATA1',
      'K:\ORACLE\RYV\SAPDATA4\SYSAUX_1\SYSAUX.DATA1',
      'K:\ORACLE\RYV\SAPDATA1\SR3_1\SR3.DATA1',
      'K:\ORACLE\RYV\SAPDATA1\SR3_2\SR3.DATA2',
      'K:\ORACLE\RYV\SAPDATA1\SR3_3\SR3.DATA3',
      'K:\ORACLE\RYV\SAPDATA1\SR3_4\SR3.DATA4',
      'K:\ORACLE\RYV\SAPDATA1\SR3_5\SR3.DATA5',
      'K:\ORACLE\RYV\SAPDATA1\SR3_6\SR3.DATA6',
      'K:\ORACLE\RYV\SAPDATA1\SR3700_1\SR3700.DATA1',
      'K:\ORACLE\RYV\SAPDATA1\SR3700_2\SR3700.DATA2',
      'K:\ORACLE\RYV\SAPDATA1\SR3700_3\SR3700.DATA3',
      'K:\ORACLE\RYV\SAPDATA1\SR3700_4\SR3700.DATA4',
      'K:\ORACLE\RYV\SAPDATA1\SR3USR_1\SR3USR.DATA1',
      'K:\ORACLE\RYV\SAPDATA1\SR3DB_1\SR3DB.DATA1',
      'K:\ORACLE\RYV\SAPDATA1\SR3DB_2\SR3DB.DATA2',
      'K:\ORACLE\RYV\SAPDATA1\SR3DB_3\SR3DB.DATA3'
    CHARACTER SET UTF8
    Sun Oct 12 08:43:43 2008
    alter database open
    Sun Oct 12 08:43:43 2008
    ORA-1589 signalled during: alter database open...
    Sun Oct 12 08:44:03 2008
    alter database open resetlogs
    Sun Oct 12 08:44:03 2008
    ORA-1195 signalled during: alter database open resetlogs...
    Sun Oct 12 08:44:42 2008
    alter database recover automatic using backup controlfile until cancel
    Sun Oct 12 08:44:42 2008
    Media Recovery Start
    parallel recovery started with 3 processes
    Sun Oct 12 08:44:43 2008
    Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04729_0649429988.001
    Sun Oct 12 08:44:45 2008
    Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04730_0649429988.001
    Sun Oct 12 08:44:46 2008
    Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04731_0649429988.001
    Sun Oct 12 08:44:46 2008
    Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04732_0649429988.001
    Sun Oct 12 08:44:46 2008
    Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001
    Errors with log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001
    ORA-279 signalled during: alter database recover automatic using backup controlfile until cancel...
    Sun Oct 12 08:45:08 2008
    ALTER DATABASE RECOVER  cancel 
    Sun Oct 12 08:45:11 2008
    Media Recovery Canceled
    Completed: ALTER DATABASE RECOVER  cancel 
    Sun Oct 12 08:45:32 2008
    alter database open resetlogs
    Sun Oct 12 08:45:33 2008
    ARCH: Logfile 8 is wrong incarnation (0:112926871:10/10/2008 14:52:35 vs 0:1:03/15/2008 13:13:08)
    RESETLOGS after incomplete recovery UNTIL CHANGE 112926870
    Resetting resetlogs activation ID 2278245220 (0x87cb4364)
    Online log G:\ORACLE\RYV\ORIGLOGA\LOG_G11M1.DBF: Thread 1 Group 1 was previously cleared
    Online log H:\ORACLE\RYV\MIRRLOGA\LOG_G11M2.DBF: Thread 1 Group 1 was previously cleared
    Online log G:\ORACLE\RYV\ORIGLOGB\LOG_G12M1.DBF: Thread 1 Group 2 was previously cleared
    Online log H:\ORACLE\RYV\MIRRLOGB\LOG_G12M2.DBF: Thread 1 Group 2 was previously cleared
    Online log G:\ORACLE\RYV\ORIGLOGA\LOG_G13M1.DBF: Thread 1 Group 3 was previously cleared
    Online log H:\ORACLE\RYV\MIRRLOGA\LOG_G13M2.DBF: Thread 1 Group 3 was previously cleared
    Online log G:\ORACLE\RYV\ORIGLOGB\LOG_G14M1.DBF: Thread 1 Group 4 was previously cleared
    Online log H:\ORACLE\RYV\MIRRLOGB\LOG_G14M2.DBF: Thread 1 Group 4 was previously cleared
    Online log G:\ORACLE\RYV\ORIGLOGA\LOG_G15M1.DBF: Thread 1 Group 5 was previously cleared
    Online log H:\ORACLE\RYV\MIRRLOGA\LOG_G15M2.DBF: Thread 1 Group 5 was previously cleared
    Online log G:\ORACLE\RYV\ORIGLOGB\LOG_G16M1.DBF: Thread 1 Group 6 was previously cleared
    Online log H:\ORACLE\RYV\MIRRLOGB\LOG_G16M2.DBF: Thread 1 Group 6 was previously cleared
    Online log G:\ORACLE\RYV\ORIGLOGA\LOG_G17M1.DBF: Thread 1 Group 7 was previously cleared
    Online log H:\ORACLE\RYV\MIRRLOGA\LOG_G17M2.DBF: Thread 1 Group 7 was previously cleared
    Sun Oct 12 08:45:34 2008
    Setting recovery target incarnation to 2
    Sun Oct 12 08:45:34 2008
    Assigning activation ID 157697668 (0x9664684)
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=74, OS id=2036
    Sun Oct 12 08:45:35 2008
    ARC0: Archival started
    Sun Oct 12 08:45:35 2008
    ARC1: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    Thread 1 opened at log sequence 1
      Current log# 8 seq# 1 mem# 0: G:\ORACLE\RYV\ORIGLOGB\LOG_G18M1.DBF
      Current log# 8 seq# 1 mem# 1: H:\ORACLE\RYV\MIRRLOGB\LOG_G18M2.DBF
    Sun Oct 12 08:45:35 2008
    Successful open of redo thread 1
    Sun Oct 12 08:45:35 2008
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    ARC1 started with pid=3, OS id=1640
    Sun Oct 12 08:45:36 2008
    ARC0: STARTING ARCH PROCESSES
    Sun Oct 12 08:45:36 2008
    SMON: enabling cache recovery
    Sun Oct 12 08:45:36 2008
    ARC1: Becoming the 'no FAL' ARCH
    ARC1: Becoming the 'no SRL' ARCH
    Sun Oct 12 08:45:36 2008
    ARC2: Archival started
    Sun Oct 12 08:45:36 2008
    ARC0: STARTING ARCH PROCESSES COMPLETE
    ARC0: Becoming the heartbeat ARCH
    Sun Oct 12 08:45:36 2008
    Errors in file k:\oracle\ryv\saptrace\usertrace\ryv_ora_868.trc:
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Sun Oct 12 08:45:36 2008
    Error 704 happened during db open, shutting down database
    USER: terminating instance due to error 704
    Sun Oct 12 08:45:36 2008
    Errors in file k:\oracle\ryv\saptrace\background\ryv_pmon_4600.trc:
    ORA-00704: bootstrap process failure
    ARC2 started with pid=4, OS id=5996
    Sun Oct 12 08:45:37 2008
    Errors in file k:\oracle\ryv\saptrace\background\ryv_reco_5208.trc:
    ORA-00704: bootstrap process failure
    Sun Oct 12 08:45:37 2008
    Errors in file k:\oracle\ryv\saptrace\background\ryv_ckpt_1348.trc:
    ORA-00704: bootstrap process failure
    Sun Oct 12 08:45:37 2008
    Errors in file k:\oracle\ryv\saptrace\background\ryv_lgwr_4780.trc:
    ORA-00704: bootstrap process failure
    Sun Oct 12 08:45:40 2008
    Errors in file k:\oracle\ryv\saptrace\background\ryv_dbw2_4280.trc:
    ORA-00704: bootstrap process failure
    Sun Oct 12 08:45:40 2008
    Errors in file k:\oracle\ryv\saptrace\background\ryv_dbw3_648.trc:
    ORA-00704: bootstrap process failure
    Sun Oct 12 08:45:40 2008
    Errors in file k:\oracle\ryv\saptrace\background\ryv_dbw0_4648.trc:
    ORA-00704: bootstrap process failure
    Sun Oct 12 08:45:40 2008
    Errors in file k:\oracle\ryv\saptrace\background\ryv_dbw1_5588.trc:
    ORA-00704: bootstrap process failure
    Sun Oct 12 08:45:40 2008
    Errors in file k:\oracle\ryv\saptrace\background\ryv_psp0_5228.trc:
    ORA-00704: bootstrap process failure
    Sun Oct 12 08:45:41 2008
    Errors in file k:\oracle\ryv\saptrace\background\ryv_mman_5664.trc:
    ORA-00704: bootstrap process failure
    Instance terminated by USER, pid = 868
    ORA-1092 signalled during: alter database open resetlogs...

  • 10g: Clone database with DBCA silent option

    Hello community,
    I have tried now for several times to make a clone of my existing database with DBCA and "-silent" option. I could improve my progress in cloning but now I always stick in the following error:
    But first, what I have done so far:
    1. Created a clone template of my Database with command:
    dbca -silent -createCloneTemplate -sourceSID DBORIGIN -templateName myTest.dbc -datafileJarLocation /tmp/oratest
    2. Create the clone-database by using the template from (1.) with command:
    dbca -silent -createDatabase -templateName myTest.dbc -cloneTemplate -gdbname DBCLONE -sid DBCLONE -datafileJarLocation /tmp/oratest -datafileDestination /oradata -responseFile NO_VALUE -characterset AL32UTF8
    Then the progress of execution is shown, it ends with a link to a log file. In this log file I can see the following contents:
    ==============================
    Copying database files
    DBCA_PROGRESS : 1%
    DBCA_PROGRESS : 3%
    DBCA_PROGRESS : 11%
    DBCA_PROGRESS : 18%
    DBCA_PROGRESS : 26%
    DBCA_PROGRESS : 33%
    DBCA_PROGRESS : 37%
    Creating and starting Oracle instance
    ORA-01503: CREATE CONTROLFILE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '/oradata/DBCLONE/<OMF_CONTROL_0>'
    ORA-27040: file create error, unable to create file
    DBCA_PROGRESS : 38%
    ORA-00210: cannot open the specified control file
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4168
    ORA-06512: at line 1
    ORA-01507: database not mounted
    DBCA_PROGRESS : 40%
    DBCA_PROGRESS : 41%
    ORA-01503: CREATE CONTROLFILE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '/oradata/DBCLONE/<OMF_CONTROL_0>'
    ORA-27040: file create error, unable to create file
    ORA-01507: database not mounted
    DBCA_PROGRESS : 46%
    DBCA_PROGRESS : 47%
    ORA-01219: database not open: queries allowed on fixed tables/views only
    ORA-01507: database not mounted
    DBCA_PROGRESS : 52%
    ORA-01219: database not open: queries allowed on fixed tables/views only
    ORA-01507: database not mounted
    DBCA_PROGRESS : 53%
    DBCA_PROGRESS : 58%
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'DBMS_DATAPUMP_UTL.REPLACE_DEFAULT_DIR' must be declared
    and so on
    =====================================================
    I have no idea where the "<OMF_CONTROL_0>" comes from. It is nowhere included in my myTest.dbc-file. In my eyes, it looks like that DBCA tries to create the file exactly with this filename - and this fails on Solaris, sure...
    Here is, what I have in my template file "myTest.dbc" regarding the control files:
    =======================
    <ControlfileAttributes id="Controlfile">
    <maxDatafiles>100</maxDatafiles>
    <maxLogfiles>16</maxLogfiles>
    <maxLogMembers>3</maxLogMembers>
    <maxLogHistory>1</maxLogHistory>
    <maxInstances>8</maxInstances>
    <image name="o1_mf_2k1zmdmp_.ctl" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    <image name="o1_mf_2k1zmdvo_.ctl" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    </ControlfileAttributes>
    ====================================
    To be honest, it is the first time that i try to use the DBCA with all these "special" options, especially the silent mode.
    Does anyone have an idea what is going wrong in my case described here? What do I or could I change to come to a success clone?
    Maybe, you can tell me where I can find some kind of "how to" for creating a clone using the silent-option.
    Thanks a lot in advance for helping a newbie! ;-)
    Regards
    FireFighter

    Hello,
    finally I was successful in installing the clone of my DB. :-)
    You remember that I had problems with the control files and these looked very strange:
    control_files=("/oradata/DBCLONE/<OMF_CONTROL_0>","/oradata/DBCLONE/<OMF_CONTROL_1>")
    The hint to check the permission in "/oradata" was a good one. The permissions were right all the time, but Oracle's DBCA was not able to create the sub-directory "DBCLONE". When I created it manually before installing the clone, the installation worked fine!
    I'm still wondering about this because all other subdirectories were created automatically during running "dbca" (e.g. all subdirectories "DBCLONE" needed below the $ORACLE_BASE/admin/-directory like adump,bdump and so on...).
    And i'm wondering about the names of the control files:
    I expected that these strange OMF-names would be replaced by a "normal" file name. But "dbca" was able to create the files exactly with the names "<OMF_CONTROL_0>" and "<OMF_CONTROL_0>"...
    As I had understood so far from OMF-concept, isn't the idea that Oracle takes care of file-naming instead of myself? I mean it can't be that I have to enter the template for DBCA and manually enter the control files names...
    I'm still close to the thought that it be a bug that isn't documented until now. Maybe, when I have some time left I will open a service request at metalink.
    If you are interested in this I will keep you informed on this topic. The other way round I stay interested in your opions and hints for using "dbca" to make and install a DB-clone.
    Thanks again for you effort to help me as a rookie in Oracle. :-)
    Regards
    FireFighter

  • Clicking a link to a Word doc and it tries to open it with Adobe Acrobat

    I recently upgraded to Firefox 4 on my Windows XP Pro SP3 machine. I have Microsoft Office 2007 and Adobe Acrobat 9.4.3 and Adobe Reader X (10.0.1) installed. I clicked on a link to a MS Word doc and I got a dialog box asking what I wanted to open it with. The default option is Adobe Acrobat 9.4.3, which, of course fails with an error message saying it is not a supported file type. I looked at the other options and Microsoft Word is not among them.

    Save the Word document. Create your email in your normal mail application (Mail?), click on the add attachment icon (the paperclip if you are using Mail). Navigate to where you saved the Word file and select it. It should now appear as an attachment in your email. If you are sending it to a PC user and you are using Mail make sure 'Send Windows-friendly attachments' is selected in the edit menu. And if you don't want the attachment to display inline within the body of the email Control+Click on it and select 'view as icon'.

Maybe you are looking for