RECOVER THE STRUTURES OF A DATABASE

I have a database that doesn't work , but i have all the files where the structures are into , is any way to put this structures in another database ??

Hi,
Well, read the error description, and fix :
Cause
If you enable automatic SGA Management by setting SGA_Target >0 and
if you are using db_block_buffers(Obsolete parameter) in your init.ora.
Startup of Database fails with ORA-00824 Error
Fix
Either you need to disable the Automatic SGA Mangement by setting SGA_Target=0
or Replace the db_block_buffers parameter with db_cache_size parameter
By the way, you didn't say your Oracle version...
I don't understand at all why you do not want restore the old parameters (before change)...
Nicolas.

Similar Messages

  • Recover the standby database

    Hi, I have both primary and standby database in ASM and I need to recover the standby database as it's falling behind for too long. The steps I did are:
    1. backup full database on primary
    2. create a standby controlfile and copy to /tmp on the standby
    3. on the standby, RMAN>restore standby controlfile from '/tmp/std.ctl';
    4. RMAN>restore database;
    5. SQL>recover managed standby database disconnect;
    However, the recovery always shuts down and I get the error:
    ORA-01110: data file 1: '+W08_DATA_DG/w08p/datafile/system.295.662256331'
    What's wrong with my steps?
    Your suggestion is greatly appreciated!

    the directory structures are the same. The standby was working before. It's just falling behind so I want to restore it from the new backup. Here is the init.ora
    *.audit_file_dest='/opt/app/oracle/admin/W08P/adump'
    *.background_dump_dest='/opt/app/oracle/admin/W08P/bdump'
    *.cluster_database_instances=2
    *.cluster_database=false
    *.compatible='10.2.0.3.0'
    *.control_files='+W08_DATA_DG/w08p/control01.ctl','+W08_RECOVERY_DG/w08p/control02.ctl','+W08_DATA_DG/w08p/control03.ctl'
    *.core_dump_dest='/opt/app/oracle/admin/W08P/cdump'
    *.db_block_size=8192
    *.db_create_file_dest='+W08_DATA_DG'
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='W08P'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=W08PXDB)'
    *.event='10298 trace name context forever, level 32'
    *.job_queue_processes=10
    *.log_archive_dest_1='LOCATION=+W08_RECOVERY_DG/W08P/'
    *.log_archive_format='%t_%s_%r.arc'
    *.log_archive_max_processes=6
    *.open_cursors=1000
    *.optimizer_index_caching=70
    *.optimizer_index_cost_adj=30
    *.pga_aggregate_target=1459617792
    *.processes=300
    *.remote_login_passwordfile='exclusive'
    *.sessions=1000
    *.sga_target=1610612736
    *.undo_management='AUTO'
    *.undo_retention=26000
    W08P.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='/opt/app/oracle/admin/W08P/udump'
    standby_archive_dest='LOCATION=+W08_RECOVERY_DG/W08P'
    CONTROL_FILE_RECORD_KEEP_TIME=0
    standby_file_management=auto
    fal_server=w08p
    fal_client=w08p_stby
    control_file_record_keep_time=90
    ~

  • How to recover the database when some of the archive log file get deleted.

    I am facing a problem with Oracle database, which is related to archivelogs.
    Our development database is running in archivelog mode, but we don't have backups scheduled and have no recovery catalog.
    When the database was in running condition, disk got full, so some archivelogs were deleted manually.
    After this they restarted the DB, and now DB is not coming up. Errors are as follows:
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1444383504 bytes
    Fixed Size 731920 bytes
    Variable Size 486539264 bytes
    Database Buffers 956301312 bytes
    Redo Buffers 811008 bytes
    Database mounted.
    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-01113: file 1 needs media recovery
    ORA-01110: data file 1: '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
    SQL> recover datafile '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
    ORA-00283: recovery session canceled due to errors
    ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
    SQL> recover database using backup controlfile;
    ORA-00279: change 215548705 generated at 09/02/2008 17:06:10 needed for thread
    1
    ORA-00289: suggestion :
    /export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
    ORA-00280: change 215548705 for thread 1 is in sequence #1107
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
    ORA-00308: cannot open archived log
    '/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    Media recovery cancelled.
    SQL>
    1. How to recover the database and bring it online
    Any help will be highly appreciated.
    With Regards
    Hemant Joshi
    Edited by: hem_Kec on Sep 7, 2008 9:07 AM

    Hi,
    Archive log files are the copies of redolog files.As redo log files are circularly overwritten,oracle generates archive log file of the corresponding redo logfiles being overwritten.So if you have a backup that dates back to 10 am in the morning and if your database creashed at 3 pm,you cannot use the redo log files alone as they have incomplete information.To completely recover the database upto 3 pm,you need archive log files generated between 10 am to 3 pm. In your case since you are missing one archive log file,you cannot perform complete recovery and hence would suffer data loss.

  • Redo log files are deleted, how to recover the database

    Hi All,
    I removed the redo01.log, redo02.log and redo03.log files of our Oracle database. And it caused the db to fail. Is there any way I can recover the database and startup database in normal mode? I do not need it to have all the latest data restored, I will be happy to just start the db and get going.
    database is in arcive log mode.
    Thanks

    Hello,
    You may try this if the database is mounted:
    recover database until cancel;
    cancel
    alter database open resetlogs;Hope it can help.
    Best regards,
    Jean-Valentin

  • What should be done to recover the database?

    Hi all,
    While backing up the database, the computer running Oracle loses power. After restarting the
    computer what should be done to recover the database?
    Please help me..
    Thank you all for your cooperate.

    Thanks mr. Eduardo Rezende.
    I'm an Arab  student and now I study database administrator course. This question asked by my teacher. So, if anyone can answer this question and some other questions please help me.

  • Problem in recovering the database!!!

    Hi All,
    I created a new database and wanted to restore the backup of another database into it, I created the required tablespaces and started restore of backup from RMAN using
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=orcl,OB2BARLIST=DAILY_HISDBS01_ORACLE-DB_ONLINE_5W,OB2BARHOSTNAME=hisdbs01.kfmc.med)';
    restore controlfile from 'c-1179279249-20090511-02';
    alter database mount;
    release channel 'dev_0';
    The controlfile got restored successfully, then I tried to restore & recover the database
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=central,OB2BARLIST=DAILY_HISDBS01_ORACLE-DB_ONLINE_5W,OB2BARHOSTNAME=hisdbs01.kfmc.med)';
    restore database;
    recover database;
    release channel 'dev_0';
    The restore was successful, but when I tried to open the database with resetlogs option
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '+DATADG/orcl/datafile/system.295.686609187'
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 1136286903 generated at 05/11/2009 02:08:22 needed for thread1
    ORA-00289: suggestion : */arch/archivelog/1_8493_651861624.dbf*
    ORA-00280: change 1136286903 for thread 1 is in sequence #8493
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '+DATADG/orcl/datafile/system.295.686609187'
    ORA-01112: media recovery not started
    The recovery process is looking for */arch/archivelog/1_8493_651861624.dbf* this archivelog, but this archivelog file is not present at that location, the restore process should have restored all the archivelogs as well, actually no archivelogs got restored, how can I recover the database without archivelog logs? it is not possible at all.
    PLEASE tell me how can I make the database work?

    Thanks Hemant !!!
    I restored the archivelogs using the script below
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=central,OB2BARLIST=DAILY_HISDBS01_ORACLE-DB_ONLINE_5W,OB2BARHOSTNAME=hisdbs01.kfmc.med)';
    restore ARCHIVELOG FROM TIME 'SYSDATE-5' UNTIL TIME 'SYSDATE';
    release channel 'dev_0';
    then recoverd the database and applied the requested archivelog file and opened the database with resetlogs, it is now successfully recovered upto the point I wanted it to be.

  • Can I recover the database to the current time using a backup control file?

    Can I recover the database to the current time using a backup control file? How far can I recover this database?
    I have an Oracle 10g(10.2.3) database on RHEL4.3 system.
    I have lost all the current control files and all the online redo logs, archived redo logs and all other files are OK.
    Now I have to recovery this database using a backup control file.
    Can I recover the database without any data lost?

    If
    a) it was a Shutdown Abort or an Instance Crash (i.e. backgrounds died on detecting loss of redo logs),
    b) redo logs are lost
    c) data files are intact
    You'd have to
    a) Restore datafiles
    b) Do an Incomplete Recovery to the last available ArchiveLog
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • EnvironmentFailureException thrown while recovering the database!

    While recovering the database, an EnvironmentFailureException with LOG_FILE_NOT_FOUND was thrown. The exception was thrown after some data was recovered, and the left data can not be recovered because of the EnvironmentFailureException.
    I upgraded the je to 4.1.7, but the data still can not be recovered!
    Caused by: com.sleepycat.je.EnvironmentFailureException: Environment invalid because of previous exception: (JE 4.0.92) /home/admin/shopcenter/cdncleaner fetchTarget of 0x64/0x3b8f73 parent IN=8811763 IN class=com.sleepycat.je.tree.IN lastFullVersion=0xffffffff/0xffffffff parent.getDirty()=true state=0 LOG_FILE_NOT_FOUND: Log file missing, log is likely invalid. Environment is invalid and must be closed.
         at com.sleepycat.je.tree.IN.fetchTarget(IN.java:1241)
         at com.sleepycat.je.tree.Tree.searchSubTreeInternal(Tree.java:1858)
         at com.sleepycat.je.tree.Tree.searchSubTree(Tree.java:1682)
         at com.sleepycat.je.tree.Tree.search(Tree.java:1548)
         at com.sleepycat.je.dbi.CursorImpl.searchAndPosition(CursorImpl.java:2054)
         at com.sleepycat.je.Cursor.searchInternal(Cursor.java:2088)
         at com.sleepycat.je.Cursor.searchAllowPhantoms(Cursor.java:2058)
         at com.sleepycat.je.Cursor.search(Cursor.java:1926)
         at com.sleepycat.je.Cursor.getSearchKey(Cursor.java:1351)
         at com.sleepycat.util.keyrange.RangeCursor.doGetSearchKey(RangeCursor.java:966)
         at com.sleepycat.util.keyrange.RangeCursor.getSearchKey(RangeCursor.java:593)
         at com.sleepycat.collections.DataCursor.doGetSearchKey(DataCursor.java:571)
         at com.sleepycat.collections.DataCursor.initForPut(DataCursor.java:812)
         at com.sleepycat.collections.DataCursor.put(DataCursor.java:752)
         at com.sleepycat.collections.StoredContainer.putKeyValue(StoredContainer.java:322)
         at com.sleepycat.collections.StoredMap.put(StoredMap.java:280)
         at com.taobao.shopservice.picture.core.util.BdbStoredQueueImpl.offer(BdbStoredQueueImpl.java:118)
         at com.taobao.shopservice.picture.core.service.CdnClearServiceImpl.clearCdnCache(CdnClearServiceImpl.java:45)
         at sun.reflect.GeneratedMethodAccessor484.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.taobao.shopservice.common.monitor.ProfileInterceptor.invoke(ProfileInterceptor.java:26)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy74.clearCdnCache(Unknown Source)
         at com.taobao.shopservice.picture.core.service.PictureWriteServiceImpl.movePicturesToRecycleBin(PictureWriteServiceImpl.java:302)
         at com.taobao.shopservice.picture.core.service.PictureWriteServiceImpl.deletePictures(PictureWriteServiceImpl.java:207)
         at sun.reflect.GeneratedMethodAccessor483.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.taobao.shopservice.common.monitor.ProfileInterceptor.invoke(ProfileInterceptor.java:26)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy77.deletePictures(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.taobao.hsf.rpc.tbremoting.provider.ProviderProcessor.handleRequest0(ProviderProcessor.java:222)
         at com.taobao.hsf.rpc.tbremoting.provider.ProviderProcessor.handleRequest(ProviderProcessor.java:174)
         at com.taobao.hsf.rpc.tbremoting.provider.ProviderProcessor.handleRequest(ProviderProcessor.java:41)
         at com.taobao.remoting.impl.DefaultMsgListener$1ProcessorExecuteTask.run(DefaultMsgListener.java:131)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.io.FileNotFoundException: /home/admin/shopcenter/cdncleaner/00000064.jdb (No such file or directory)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
         at com.sleepycat.je.log.FileManager$1.<init>(FileManager.java:993)
         at com.sleepycat.je.log.FileManager.openFileHandle(FileManager.java:992)
         at com.sleepycat.je.log.FileManager.getFileHandle(FileManager.java:888)
         at com.sleepycat.je.log.LogManager.getLogSource(LogManager.java:1073)
         at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:779)
         at com.sleepycat.je.log.LogManager.getLogEntryAllowInvisibleAtRecovery(LogManager.java:743)
         at com.sleepycat.je.tree.IN.fetchTarget(IN.java:1225)
         ... 49 more
    2011-03-24 00:00:27,967 INFO [org.quartz.core.JobRunShell] Job DEFAULT.cdnCleanerJobDetail threw a JobExecutionException:
    org.quartz.JobExecutionException: Invocation of method 'clearCdn' on target class [class com.taobao.shopservice.picture.core.job.clearcdn.CdnCleaner] failed [See nested exception: com.sleepycat.je.EnvironmentFailureException: (JE 4.0.92) Environment must be closed, caused by: com.sleepycat.je.EnvironmentFailureException: Environment invalid because of previous exception: (JE 4.0.92) /home/admin/shopcenter/cdncleaner fetchTarget of 0x64/0x3b8f73 parent IN=8811763 IN class=com.sleepycat.je.tree.IN lastFullVersion=0xffffffff/0xffffffff parent.getDirty()=true state=0 LOG_FILE_NOT_FOUND: Log file missing, log is likely invalid. Environment is invalid and must be closed.]
         at sun.reflect.GeneratedConstructorAccessor102.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
         at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:283)
         at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    * Nested Exception (Underlying Cause) ---------------
    com.sleepycat.je.EnvironmentFailureException: (JE 4.0.92) Environment must be closed, caused by: com.sleepycat.je.EnvironmentFailureException: Environment invalid because of previous exception: (JE 4.0.92) /home/admin/shopcenter/cdncleaner fetchTarget of 0x64/0x3b8f73 parent IN=8811763 IN class=com.sleepycat.je.tree.IN lastFullVersion=0xffffffff/0xffffffff parent.getDirty()=true state=0 LOG_FILE_NOT_FOUND: Log file missing, log is likely invalid. Environment is invalid and must be closed.
         at com.sleepycat.je.EnvironmentFailureException.wrapSelf(EnvironmentFailureException.java:197)
         at com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid(EnvironmentImpl.java:1403)
         at com.sleepycat.je.Database.checkEnv(Database.java:1772)
         at com.sleepycat.je.Database.openCursor(Database.java:619)
         at com.sleepycat.collections.CurrentTransaction.openCursor(CurrentTransaction.java:416)
         at com.sleepycat.collections.MyRangeCursor.openCursor(MyRangeCursor.java:54)
         at com.sleepycat.collections.MyRangeCursor.<init>(MyRangeCursor.java:30)
         at com.sleepycat.collections.DataCursor.init(DataCursor.java:171)
         at com.sleepycat.collections.DataCursor.<init>(DataCursor.java:59)
         at com.sleepycat.collections.StoredContainer.getValue(StoredContainer.java:301)
         at com.sleepycat.collections.StoredMap.get(StoredMap.java:241)
         at com.taobao.shopservice.picture.core.util.BdbStoredQueueImpl.peek(BdbStoredQueueImpl.java:131)
         at com.taobao.shopservice.picture.core.util.BdbStoredQueueImpl.poll(BdbStoredQueueImpl.java:169)
         at com.taobao.shopservice.picture.core.job.clearcdn.CdnCleaner.clearCdn(CdnCleaner.java:194)
         at sun.reflect.GeneratedMethodAccessor641.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:283)
         at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:272)
         at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by: com.sleepycat.je.EnvironmentFailureException: Environment invalid because of previous exception: (JE 4.0.92) /home/admin/shopcenter/cdncleaner fetchTarget of 0x64/0x3b8f73 parent IN=8811763 IN class=com.sleepycat.je.tree.IN lastFullVersion=0xffffffff/0xffffffff parent.getDirty()=true state=0 LOG_FILE_NOT_FOUND: Log file missing, log is likely invalid. Environment is invalid and must be closed.
         at com.sleepycat.je.tree.IN.fetchTarget(IN.java:1241)
         at com.sleepycat.je.tree.Tree.searchSubTreeInternal(Tree.java:1858)
         at com.sleepycat.je.tree.Tree.searchSubTree(Tree.java:1682)
         at com.sleepycat.je.tree.Tree.search(Tree.java:1548)
         at com.sleepycat.je.dbi.CursorImpl.searchAndPosition(CursorImpl.java:2054)
         at com.sleepycat.je.Cursor.searchInternal(Cursor.java:2088)
         at com.sleepycat.je.Cursor.searchAllowPhantoms(Cursor.java:2058)
         at com.sleepycat.je.Cursor.search(Cursor.java:1926)
         at com.sleepycat.je.Cursor.getSearchKey(Cursor.java:1351)
         at com.sleepycat.util.keyrange.RangeCursor.doGetSearchKey(RangeCursor.java:966)
         at com.sleepycat.util.keyrange.RangeCursor.getSearchKey(RangeCursor.java:593)
         at com.sleepycat.collections.DataCursor.doGetSearchKey(DataCursor.java:571)
         at com.sleepycat.collections.DataCursor.initForPut(DataCursor.java:812)
         at com.sleepycat.collections.DataCursor.put(DataCursor.java:752)
         at com.sleepycat.collections.StoredContainer.putKeyValue(StoredContainer.java:322)
         at com.sleepycat.collections.StoredMap.put(StoredMap.java:280)
         at com.taobao.shopservice.picture.core.util.BdbStoredQueueImpl.offer(BdbStoredQueueImpl.java:118)
         at com.taobao.shopservice.picture.core.service.CdnClearServiceImpl.clearCdnCache(CdnClearServiceImpl.java:45)
         at sun.reflect.GeneratedMethodAccessor484.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.taobao.shopservice.common.monitor.ProfileInterceptor.invoke(ProfileInterceptor.java:26)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy74.clearCdnCache(Unknown Source)
         at com.taobao.shopservice.picture.core.service.PictureWriteServiceImpl.movePicturesToRecycleBin(PictureWriteServiceImpl.java:302)
         at com.taobao.shopservice.picture.core.service.PictureWriteServiceImpl.deletePictures(PictureWriteServiceImpl.java:207)
         at sun.reflect.GeneratedMethodAccessor483.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.taobao.shopservice.common.monitor.ProfileInterceptor.invoke(ProfileInterceptor.java:26)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy77.deletePictures(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.taobao.hsf.rpc.tbremoting.provider.ProviderProcessor.handleRequest0(ProviderProcessor.java:222)
         at com.taobao.hsf.rpc.tbremoting.provider.ProviderProcessor.handleRequest(ProviderProcessor.java:174)
         at com.taobao.hsf.rpc.tbremoting.provider.ProviderProcessor.handleRequest(ProviderProcessor.java:41)
         at com.taobao.remoting.impl.DefaultMsgListener$1ProcessorExecuteTask.run(DefaultMsgListener.java:131)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.io.FileNotFoundException: /home/admin/shopcenter/cdncleaner/00000064.jdb (No such file or directory)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
         at com.sleepycat.je.log.FileManager$1.<init>(FileManager.java:993)
         at com.sleepycat.je.log.FileManager.openFileHandle(FileManager.java:992)
         at com.sleepycat.je.log.FileManager.getFileHandle(FileManager.java:888)
         at com.sleepycat.je.log.LogManager.getLogSource(LogManager.java:1073)
         at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:779)
         at com.sleepycat.je.log.LogManager.getLogEntryAllowInvisibleAtRecovery(LogManager.java:743)
         at com.sleepycat.je.tree.IN.fetchTarget(IN.java:1225)
         ... 49 more

    I mean that i can open the database and read some data from it, which was stored before the database was closed, and than the exception was thrown.
    here is exception stack with JE 4.1.7:
    com.sleepycat.je.EnvironmentFailureException: (JE 4.1.7) F:\job fetchTarget of 0x64/0x4735f7 parent IN=7847269 IN class=com.sleepycat.je.tree.IN lastFullVersion=0x66/0x927f09 parent.getDirty()=false state=0 LOG_FILE_NOT_FOUND: Log file missing, log is likely invalid. Environment is invalid and must be closed.
         at com.sleepycat.je.tree.IN.fetchTarget(IN.java:1337)
         at com.sleepycat.je.tree.IN.fetchTargetWithExclusiveLatch(IN.java:1278)
         at com.sleepycat.je.tree.Tree.getNextBinInternal(Tree.java:1358)
         at com.sleepycat.je.tree.Tree.getPrevBin(Tree.java:1240)
         at com.sleepycat.je.dbi.CursorImpl.getNextWithKeyChangeStatus(CursorImpl.java:1754)
         at com.sleepycat.je.dbi.CursorImpl.getNext(CursorImpl.java:1617)
         at com.sleepycat.je.Cursor.retrieveNextAllowPhantoms(Cursor.java:2488)
         at com.sleepycat.je.Cursor.retrieveNext(Cursor.java:2304)
         at com.sleepycat.je.Cursor.getPrev(Cursor.java:1190)
         at com.ppsoft.bdb.test.Main.main(Main.java:52)
    Caused by: java.io.FileNotFoundException: F:\job\00000064.jdb (No such file or directory)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
         at com.sleepycat.je.log.FileManager$1.<init>(FileManager.java:995)
         at com.sleepycat.je.log.FileManager.openFileHandle(FileManager.java:994)
         at com.sleepycat.je.log.FileManager.getFileHandle(FileManager.java:890)
         at com.sleepycat.je.log.LogManager.getLogSource(LogManager.java:1074)
         at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:778)
         at com.sleepycat.je.log.LogManager.getLogEntryAllowInvisibleAtRecovery(LogManager.java:742)
         at com.sleepycat.je.tree.IN.fetchTarget(IN.java:1320)
         ... 9 more

  • I want to recover the Deleted Database

    We have an accidentally deleted the database, there is no recent backup file for past 5 months. I want to recover the deleted database. Please give an idea/Suggestions to recover the database. And also we tried some third party tools like kernal,SQL Recovery,Steller
    Phenix and those tools are repairing the corrupted database,but it could not find the deleted ".mdf" file for the database. Please give a best steps/suggestions to recover the database.

    Is there any option to recover the ".mdf" and ".ldf" files  of deleted database by using file recovery softwares
    You can try some of the Windows "undelete" tools, but there is no guarantee it will work or that the database files will be in a valid state afterwards.
    The only reliable way is to restore a backup ... which you don't have.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • DR in deferred state-methods to recover the standby database.

    Hi all,
    i am new to Data guard.
    1.yesterday only i came to know the Log-ship from live to DR in deferred state before 6 months.
    2.Now i am in the situation to resolve the problem.
    3.only 5days log sequence only we have before that it will purge(shell script)
    4.so there is no log collecting folder on DR server also.
    5.so kindly provide me what are the methods to recover the standby database.
    Its urgent.
    thank you in advance,
    regards,
    Jumbo.

    Hi SRP,
    DB status:
    1.*No ASM storage.*
    2.*oracle 9i.*
    3.*Archive logs deleted on both Primary and Standby.*
    my question:
    1.without recreate standby.*is their any method to recover the standby database?*
    Regards,
    Jumbo.

  • Recover the database to a point

    hi experts,
    In my database one important table has been uppdated with wrong data. I need to recover the old data.
    How can I do this. ????
    Pls can somebody explain ???

    Hi,
    Just a comment ....
    One option, but in your case the worse option will perform an incomplete recovery based on time.
    Example:
    It is 12:00 AM and the EMP table was wrong updated at 11:45 AM
    Then you can:
    1) shutdown the database and make a backup
    2) restore all datafiles from most recent backup
    3) mount the database
    4) recover the database like below:
    SQL> recover database until time '2007-02-13:11:44:00'
    5) synchronize the datafile with control files and redo log files like below:
    SQL> alter database open resetlogs
    6) Make a backup of your database
    Disadvantage of this method
    After the recovery process, all information after 11:44 AM will must be informed again ...
    Cheers

  • To Recover The Database Using a New Version of Datafile

    Please give me the solution immediately
    My one of the datafile is new and it is very important. It contains many data. I have a backup. I copy all the old files exept the new one. How i attatch the new datafile to the old database files. Now it sees the new file does not match with the old datafile and controlfile. It shows the message
    THE CONTROLFILE VERSION IS OLDER THAN THE NEW DATAFILE VERSION.
    our database version is 8.0
    How i recover

    Hi;
    Please Give a Solution for the following problem.
    First I shutdown the databae.
    Copy all the redolog,control file and Datafile except one.
    One datafile i miss at the time of copy.
    Then I start the database and do some transactions.
    At that time my system tablespace has been corrupted.
    So i copy the old backup and overwrite with the actul file.
    So one file backup is not there, that i forgot to take.
    At the time of opening the database it shows that datafile version is higher than the controlfile.
    Now what i did is came to mount stage and type the following command.
    ALTER DATABASE DATAFILE <FILENAME> OFFLINE DROP;
    After that i open the database.
    Now the problem is that missing file contain very important data.
    Is it possible to recover the data?
    Please give me an immediate solution.

  • How to recover the data from a  dropped table in production/archive mode

    How to recover the data/change on a table that was dropped by accident.
    The database is on archive mode.

    Oracle Version. ? If 10g.
    Try this Way
    SQL> create table taj as select * from all_objects where rownum <= 100;
    Table created.
    SQL> drop table taj ;
    Table dropped.
    SQL> show recyclebin
    ORIGINAL NAME    RECYCLEBIN NAME                OBJECT TYPE  DROP TIME
    TAJ              BIN$b3MmS7kYS9ClMvKm0bu8Vw==$0 TABLE        2006-09-10:16:02:58
    SQL> flashback table taj to before drop;
    Flashback complete.
    SQL> show recyclebin;
    SQL> desc taj;
    Name                                      Null?    Type
    OWNER                                              VARCHAR2(30)
    OBJECT_NAME                                        VARCHAR2(30)
    SUBOBJECT_NAME                                     VARCHAR2(30)
    OBJECT_ID                                          NUMBER
    DATA_OBJECT_ID                                     NUMBER
    OBJECT_TYPE                                        VARCHAR2(19)
    CREATED                                            DATE
    LAST_DDL_TIME                                      DATE
    TIMESTAMP                                          VARCHAR2(19)
    STATUS                                             VARCHAR2(7)
    TEMPORARY                                          VARCHAR2(1)
    GENERATED                                          VARCHAR2(1)
    SECONDARY                                          VARCHAR2(1)
    SQL>M.S.Taj

  • The transaction log for database 'SharePoint_Config' is full

    Hi all ,
    I am very new to sharepoint. when i tried to remove a wsp file from central administration i got the message like
    The transaction log for database 'SharePoint_Config' is full. To find out why space in the log cannot
    be reused, see the log_reuse_wait_desc column in sys.databases.
    Can anybody help me to solve this please. I saw one solution in net like this but i don't know how to do this. Can anybody help me how to do these steps please.
    1.       
    Take the configuration database offline and detach it
    2.       
    Copy the current MDF to a new location (to be used as a way of recovering the database if needed)
    3.       
    Put the database back on-line, reattach it and then put it within simple mode (from full), with an aim of this stopping the database from
    increasing in size
    4.       
    Shrink the database and recover log space
    5.       
    Should the shrinking fail, we'd look at detaching the database, making a sideways copy of the log file to another database
    6.       
    We would then reattach the database, which should generate a new log file
    Thank you 

    Hi Soumya,
    I don't have any dba resource. And it is not a lab environment. It's Corporate environment.
    Thanks alot for ur quick reply.
    I normally don't just come onto the threads and tell people that they need a consultant, but you might want to look at getting a consultant to help make sure that your SharePoint environment is health and can be restored in the event of a server failure. 
    Based on the problem that you have described it might not be recoverable, or at least it might not be as recoverable as you want it to be.
    At the very least you'll want to watch this video of my session at TechEd 2014 which talks about backups and how to set them up.
    http://channel9.msdn.com/events/TechEd/NorthAmerica/2014/DBI-B214#fbid=
    Thank You,
    Denny Cherry

  • How to recover the deleted job in sql server 2005

    Hi
    one of the user accidently deleted the job.and i want to recover the job.i have msdb backup,can i restore the database backup?
    please advice the prosess for recovering the deleted job
    koteswarrao

    You can but be careful.
    Restore the database as MSDB_Restored and then query sysjobs, sysjobsteps and sysjobschedules to get the details of your job and then use the detail to recreate the Job.
    Tony C

Maybe you are looking for