Need to open database
I've been given a supposed Oracle database with an extension of .DB
Additional files provided to me had extensions of .bi .lg and .lic
I don't work in an Oracle database environment, but need to extract the data for import to SQL tables.
Are these Oracle extensions and if so, any thoughts on how I can access the tables within?
Thanks in advance.
An Oracle database consists of dozens of files. People, over the years, have associated them with different extensions. Since Oracle really does not care what the extension is, some people have arbitrarily created their own associations.
At this time, I do not recognize any of those extensions as typical in an Oracle environment.
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?
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 -
Need clarification on OPEN DATABASE options
Hello all:
After a smooth restore/recover of a closed, consistent backup (NOARCHIVELOG mode),
what are the options and ramifications for (NO)RESETLOGS?
RMAN reports ORA-01589 if only OPEN DATABASE cmd used, and it appears that NORESETLOGS is not valid.
Since the backup is consistent, what does RESETLOGS actually do in this case?
Here is my outline:
* Scenario: lost all files including CONTROLFILE, SPFILE, datafiles
* Backups created by RMAN available, including AUTOBACKUP
* Backups of Network and Database files
* (Re-)Install Oracle Database Software and re-establish services
* Connect to RMAN
* Ensure Instance is shutdown
* Set Database ID
* Start but do not mount the instance
* Recover SPFILE from AUTOBACKUP
* Create PFILE from SPFILE, examine it and verify initialization parameters, locations
* Restore Password file via COPY command
* Bounce database instance to ensure use of restored SPFILE initialization parameters
* Mount database
* Recover datafiles
RMAN> RUN {
RESTORE DATABASE;
RECOVER DATABASE NOREDO;
* Open Database ???
Thanks in advance for any help,
Bobgreat Paul - thanks for the prompt reply, filling in those pesky gaps in my grey matter!
now let´s see: as I restored the control file from an RMAN autobackup of a database in NOARCHIVELOG mode, any backups registered in that control file (RMAN in NOCATALOG mode) should be unusable after RESETLOGS, true?
if so, then an immediate new closed, consistent backup and we´re off to the races again, yes? -
The system boots without any problem, applications without a problem when I'm on the desktop and I need to open folders taking forever to open and for a moment I open and blocks other thing that the colored circle appears, use ten folders on the desktop where I'm keeping this information and take process and lock the desktop makes my job a little slow, and does anyone know anything about all of this as repairing system error?
Have then select one of the photos and type Command+i. In the Info window that comes up check to see which application is set as the default application. If it's iPhoto therein lies the problem. Regardless of what is set for the default select Preview and click on the Apply to All... button. See if that will fix the problem.
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard. -
Dear experts,
I have a problem to open my database. ORA-01033: ORACLE initialization or shutdown in progress. I have restarted server many times. I tried several ways but no joy. Please see the steps I did to solve this -
SQL> connect dmadmin /mypwdx89 as sysdba
Connected.
SQL> STARTUP MOUNT
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> ALTER DATABASE OPEN;
ALTER DATABASE OPEN
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\SYSTEM01.DBF'
SQL> RECOVER DATABASE;
ORA-00279: change 149935494 generated at 06/10/2009 17:05:33 needed for thread 1
ORA-00289: suggestion :
C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ZUMA\ARCHIVELOG\2009_06_23\O1_MF_1_
673_%U_.ARC
ORA-00280: change 149935494 for thread 1 is in sequence #673
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log
'C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ZUMA\ARCHIVELOG\2009_06_10\O1_MF_1
_673_530WXF9P_.ARC'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
SQL> select * from v$controlfile;
STATUS
NAME
IS_
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL01.CTL
NO
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL02.CTL
NO
STATUS
NAME
IS_
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL03.CTL
NO
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145750508 bytes
Database Buffers 25165824 bytes
Redo Buffers 262144 bytes
SQL> select name from v$controlfile;
no rows selected
SQL>
SQL> alter database mount;
Database altered.
SQL> select name from v$controlfile;
NAME
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL01.CTL
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL02.CTL
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL03.CTL
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\SYSTEM01.DBF'
SQL>
The I tried to recover datafile
SQL> Recover datafile '<datafile-name>';
again error - even can not open data file ...i restarted server .. no use..same error.
Please help to resolve this issue.
Regards,
Ranjith JohnHi All,
Please see the alert log file ..file size is already few GBs now. There are errors in the file.
It says - ORA-19815: WARNING: db_recovery_file_dest_size of 10048576000 bytes is 100.00% used, and has 0 remaining bytes available.
so, i guess the back up was not done .please help to resovle this issue.
ARC1: Error 19809 Creating archive log file to 'C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ZUMA\ARCHIVELOG\2009_04_14\O1_MF_1_37_U_.ARC'
ARC1: All standby destinations failed; successful archival assumed
ARC1: Failed to archive log 1 thread 1 sequence 37 (19809)
Tue Apr 14 11:46:51 2009
Errors in file c:\oracle\product\10.1.0\admin\zuma\bdump\zuma_arc1_1352.trc:
ORA-16038: log 1 sequence# 37 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 1 thread 1: 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\REDO01.LOG'
Tue Apr 14 11:46:51 2009
ARC0: Evaluating archive log 1 thread 1 sequence 37
Tue Apr 14 11:46:51 2009
Errors in file c:\oracle\product\10.1.0\admin\zuma\bdump\zuma_arc0_3828.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 10048576000 bytes is 100.00% used, and has 0 remaining bytes available.
You have the following choices to free up space from
flash recovery area:
1. Consider changing your RMAN retention policy.
If you are using dataguard, then consider changing your
RMAN archivelog deletion policy.
2. Backup files to tertiary device such as tape using the
RMAN command BACKUP RECOVERY AREA.
3. Add disk space and increase the db_recovery_file_dest_size
parameter to reflect the new space.
4. Delete unncessary files using the RMAN DELETE command.
If an OS command was used to delete files, then use
RMAN CROSSCHECK and DELETE EXPIRED commands.
Tue Apr 14 11:46:51 2009
Errors in file c:\oracle\product\10.1.0\admin\zuma\bdump\zuma_arc0_3828.trc:
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 10017792 bytes disk space from 10048576000 limit
ARC0: Error 19809 Creating archive log file to 'C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ZUMA\ARCHIVELOG\2009_04_14\O1_MF_1_37_U_.ARC'
ARC0: All standby destinations failed; successful archival assumed
ARC0: Failed to archive log 1 thread 1 sequence 37 (19809)
Regards,
Ranjith John -
My Catalog - "Can't open Database" error
After being able to open Photoshop Album Starter Edition successfully and without incident several months ago, one day I received this error:
"Problem opening the Catalog named "My Catalog". Another user or application may have the catalog open, or one or more files may be missing, out of date, or damaged. [Microsoft] [ODBC Microsoft Access 97 Driver] can't open database 'unknown'. It may not be a database that your application recognizes or the file may be corrupt. Attempt to compact and recover this catalog then try again? - OK or Cancel"
If I choose OK, then I get another error:
"Catalog Recovery Incomplete - A problem was encountered during catalog recovery. Your catalog may be ok, but if you experience problems with it that can't be resolved through the Reover Catalog option or restarting your computer system you may need to restore this catalog from a backup. - OK"
That goes to a 3rd error message:
"Unable to open "My Catalog because it is damaged. Please choose: Open existing or Create a new catalog named My Catalog-1.psa"
If I choose existing, it goes to the folder where My Catalog is stored, I can click it, and then I receive the first message. If I choose create a new catalog, it does, then gives me the first error message. PSA SE never opens, but the photo downloader appears in my Task bar Notification area, and I can Launch, Enable/Disable or Exit that program. If I try to acquire a photo, I end up with the same first error message.
I've seen the other threads that address what may be close to this issue, and I've done all the fixes suggested, short of reinstalling WindowsXP, which I'd rather avoid, but I've had no luck - I still get the exact same error messages.
I am using Office 97, including Access, Word, Excel, etc. but I'm not having any issues with those. I'm also using Pagemaker 7.0 and no issues there related to a catalog or database. I did have at one time a trial copy of Illustrator, and this problem started occurring after that trial was expired. I've since uninstalled Illustrator, done all the fixes suggested here, deleted the My Catalog files, restarted, uninstalled and re-installed PSA SE3.2, and still it cannot 'see' My Catalog.
Any other suggestions (besides upgrading to Office-this decade, which I would love, but employer hasn't made that leap yet.)? TIA
TraceyNo, no multiple users on this machine, or on that application. Both are located on the C: drive of a computer with intranet and internet access.
Could it have anything to do with the application Microsoft Access? [Microsoft ODBC Access97 driver] is named in the first error message. Access97 was always on this computer, but it wasn't actually put into use until about 6-8 months ago, and it was sometime after I started using it that I could no longer open PSA-SE. Connection? Fixable? -
What are the ports need to open at firewall
What are the ports need to open at firewall to access Oracle EBS R12 through internet?
All these following ports need to open at firewall??
Database Port : 1521
RPC Port : 1626
Web SSL Port : 4443
ONS Local Port : 6100
ONS Remote Port : 6200
ONS Request Port : 6500
Web Listener Port : 8000
Active Web Port : 8000
Forms Port : 9000
Metrics Server Data Port : 9100
Metrics Server Request Port : 9200
JTF Fulfillment Server Port : 9300
MSCA Server Port : 10200-10205
MCSA Telnet Server Port : 10200,10202,10204
MSCA Dispatcher Port : 10800
Java Object Cache Port : 12345
OC4J JMS Port Range for Oacore : 23000-23004
OC4J JMS Port Range for Forms : 23500-23504
OC4J JMS Port Range for Home : 24000-24004
OC4J JMS Port Range for Oafm : 24500-24504
OC4J AJP Port Range for Oacore : 21500-21504
OC4J AJP Port Range for Forms : 22000-22004
OC4J AJP Port Range for Home : 22500-22504
OC4J AJP Port Range for Oafm : 25000-25004
OC4J RMI Port Range for Oacore : 20000-20004
OC4J RMI Port Range for Forms : 20500-20504
OC4J RMI Port Range for Home : 21000-21004
OC4J RMI Port Range for Oafm : 25500-25504
DB ONS Local Port : 6300
DB ONS Remote Port : 6400
Oracle Connection Manager Port : 1521 -
Unable to open database in READ ONLY mode
When trying to open database in READ ONLY MODE it says needs recovery. How ever database opens succesfully in READ WRITE MODE.
1) Startup mount
2) SQL> ALTER DATABASE OPEN READ ONLY;
ALTER DATABASE OPEN READ ONLY
ERROR at line 1:
ORA-16005: database requires recovery
But database opens succesfully when opened in READ WRITE mode.user12038051 wrote:
When trying to open database in READ ONLY MODE it says needs recovery. How ever database opens succesfully in READ WRITE MODE.
1) Startup mount
2) SQL> ALTER DATABASE OPEN READ ONLY;
ALTER DATABASE OPEN READ ONLY
ERROR at line 1:
ORA-16005: database requires recovery
But database opens succesfully when opened in READ WRITE mode.
sqlplus '/as sysdba'
shutdown imediate;
startup;
shutdown imediate;
startup mount;
recover database;
alter database open read only; -
Need to Open Another jspx page as popup from template
Hi everyone,
I have one more question about popups and template. I'm working on JDev 11gU2 ADFRC
I have one template for my all pages, and there is a link on my template to show user information. for that i need to fetch the info of logged in user from database. so i must have to make a page definition of my user info page.
But problem is when i click the info link from my template to open user info page. it is not opening and giving page refresh error.
actually in my template the page source is -
<f:subview id="userInfo">
<jsp:include page="/popUps/UserInfo.jspx"/>
</f:subview>
<af:commandNavigationItem text="UserInfo"
immediate="true">
<af:showPopupBehavior popupId="::userInfo:popup1"
triggerType="action"/>
</af:commandNavigationItem>and in My Account Info page source is -
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_popUps_AccountDetailsPopUp-->
<af:popup binding="#{backing_popUps_AccountDetailsPopUp.popup1}"
id="popup1">
<af:dialog title="Account Detail" type="none"
inlineStyle="margin:0.5px,0,0,0.5px;"
closeIconVisible="#{!backing_popUps_AccountDetailsPopUp.editMode}"
partialTriggers="panelBox1 panelBox2 panelBox3"
binding="#{backing_popUps_AccountDetailsPopUp.dialog1}"
id="dialog1">
<af:decorativeBox topHeight="25px"
inlineStyle="margin:0.5px; height:460px;"
theme="dark"
binding="#{backing_popUps_AccountDetailsPopUp.decorativeBox1}"
id="decorativeBox1">
<f:facet name="center">
<af:panelStretchLayout startWidth="5px" endWidth="0px"
topHeight="0px" bottomHeight="0px"
binding="#{backing_popUps_AccountDetailsPopUp.panelStretchLayout1}"
id="panelStretchLayout1">
<f:facet name="center">
<af:decorativeBox theme="light"
inlineStyle="height:430px; width:482px;"
binding="#{backing_popUps_AccountDetailsPopUp.decorativeBox2}"
id="decorativeBox2">
<f:facet name="center">
<af:panelGroupLayout xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
inlineStyle="padding:1%;"
partialTriggers="commandLink1 commandLink2 commandLink3 commandLink4 commandLink5 commandLink6 commandLink8 commandLink9 commandLink10"
binding="#{backing_popUps_AccountDetailsPopUp.panelGroupLayout1}"
id="panelGroupLayout1">
<af:panelBox text="Employee Information"
partialTriggers="commandLink1 commandLink2 commandLink3"
binding="#{backing_popUps_AccountDetailsPopUp.panelBox1}"
binding="#{backing_popUps_AccountDetailsPopUp.spacer2}"
id="spacer2"/>
</f:facet>
</af:panelGroupLayout>
</f:facet>
</af:decorativeBox>
</f:facet>
<f:facet name="start">
<af:spacer width="10" height="10"
binding="#{backing_popUps_AccountDetailsPopUp.spacer3}"
id="spacer3"/>
</f:facet>
</af:panelStretchLayout>
</f:facet>
<f:facet name="top">
<af:panelGroupLayout binding="#{backing_popUps_AccountDetailsPopUp.panelGroupLayout8}"
id="panelGroupLayout8">
<af:outputText value="Account Detail : 900101"
inlineStyle="font-weight:bold; font-size:14px;"
binding="#{backing_popUps_AccountDetailsPopUp.outputText10}"
id="outputText10"/>
</af:panelGroupLayout>
</f:facet>
</af:decorativeBox>
<f:facet name="buttonBar">
<af:commandLink text="Close"
inlineStyle="font-weight:bold; color:Blue;"
disabled="#{backing_popUps_AccountDetailsPopUp.editMode}"
partialTriggers="panelBox1 panelBox2 panelBox3"
shortDesc="#{backing_popUps_AccountDetailsPopUp.editMode ? 'Can not close in edit mode...' : 'Close Window'}"
binding="#{backing_popUps_AccountDetailsPopUp.commandLink11}"
id="commandLink11">
<af:resetActionListener/>
</af:commandLink>
</f:facet>
</af:dialog>
</af:popup>
</jsp:root>Actually i need to open a page globally and i can't put this link to each page. so that i put this on Template.
I made a popup page too to log out from application in the same way, it is working file, but the difference is that page does not have any page def.
But account info page has.
I want to use it without adding dialog: in ADF-CONFIG.xml page
Any help to solve this?
Thanks
Fizzz...hey guys,
I have 2 pages test1 and test2(.jspx).In test2 page I have defined an popup and i want that in that pop-up test1.jspx should get loaded.
Can any body help me on this.???Will really appreciate this.............. -
Can't open database homepage from different windows-user
Hello!
I've lost my user in which i installed Oracle Express 10 database. Now I'm using a different user-account (also with Admin rights) but I can't open the database homepage or log-in to sqlplus. I get the insufficient rights error. Which rights should i set and where?
ThanksI use oracle 9i and run on Linux Advance Server 3.0...
i can log in via sqlplus or oem by "sys" and "any password" , but the instance status in oem is "Shutdown". when i attempt to "Open" that instance i got the error message above...
why i can login as sys and any incorrect passwd?
what else need to configure in order to open database?
Thank for your help...
iKhmer -
Getting ora-01113 error while opening Database after recovery
HI all,
we have a test database. I lost my entire database including DBFs, controlfiles, Archived logs, redo log files.
But I have a hot backup copy of the lost database.
I tried to recover database using backup copy
I restored my control files and all dbfs and then when i tried to recover database I got the following message
RMAN-00571: ==============================
RMAN-00569: =ERROR MESSAGE STACK FOLLOWS =
RMAN-00571: ===============================
RMAN-03002: failure of recover command at 04/01/2005 14:14:43
RMAN-06054: media recovery requesting unknown log: thread 1 scn 32230460
still i tried to open database resetlogs but i got following eror
RMAN> alter database open resetlogs:
ORA-01113: file 5 needs media recovery
ORA-01110: data file 5: C:\DB11\ORADATA\DB11\system01.dbf
I dont have any redo logs and archivelogs. Can anyone help me how to open the database
thanks and regards
VENKATno there is no other way allowresetlogs_corruption is one of the last resort unless oracle dont recommend,usually you got this error when restored datafile is far behind then others datafile CKPT SCN+COntrolfile CKPT SCN header.
SQL> select controlfile_change#,checkpoint_change#
2 from v$database
3 /
CONTROLFILE_CHANGE# CHECKPOINT_CHANGE#
675632 675775
SQL> select substr(name,1,51) fname,checkpoint_change#
2 from v$datafile_header
3 /
FNAME CHECKPOINT_CHANGE#
F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSTEM01.DBF 675775
F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\UNDOTBS01.DBF 675775
F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSAUX01.DBF 675775
F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS01.DBF 675775
F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS02.DBF[b] 675418user02.dbf CKPT SCN header 675418 is earlier/oldest CKPT SCN header to others datafile as well to controilfile CKPT SCN header.
You will have to apply enough redo to that datafile either from archivelog or from online redo log file,if you cant then no way you can open the database except using allowresetlogs_corruption with the oracle recommendation.
Think why archivelog backup ,database backup and online redo log file, controlfile redundency is recommended.
Khurram -
i am using 10g release 2 on oel 5.5
i am having cold backup of my db
i am also having a trace of control file
i added a few tablespace and tables then my redo and control files were deleted
i recreated the controlfiles using the trace resetlogs method
and then i recover the database using backup control file until cancel
applied all the archives available
then i opened the database using resetlogs but the database is not opening saying that file system01.dbf requires more rcovery
so what should i do now to open the database??this is my alert log
ALTER DATABASE RECOVER database using backup controlfile until cancel
Thu Apr 25 15:07:12 2013
Media Recovery Start
WARNING! Recovering data file 1 from a fuzzy file. If not the current file
it might be an online backup taken without entering the begin backup command.
WARNING! Recovering data file 2 from a fuzzy file. If not the current file
it might be an online backup taken without entering the begin backup command.
WARNING! Recovering data file 3 from a fuzzy file. If not the current file
it might be an online backup taken without entering the begin backup command.
WARNING! Recovering data file 4 from a fuzzy file. If not the current file
it might be an online backup taken without entering the begin backup command.
WARNING! Recovering data file 5 from a fuzzy file. If not the current file
it might be an online backup taken without entering the begin backup command.
ORA-279 signalled during: ALTER DATABASE RECOVER database using backup control file until cancel ...
Thu Apr 25 15:07:15 2013
ALTER DATABASE RECOVER CONTINUE DEFAULT
Thu Apr 25 15:07:15 2013
Media Recovery Log /u01/app/flash_recovery_area/PAWII/archivelog/2013_04_25/o1_m f_1_4_8qky2k0r_.arc
ORA-279 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
Thu Apr 25 15:07:15 2013
ALTER DATABASE RECOVER CONTINUE DEFAULT
Thu Apr 25 15:07:15 2013
Media Recovery Log /u01/app/flash_recovery_area/PAWII/archivelog/2013_04_25/o1_m f_1_5_8qkwbc2w_.arc
Errors with log /u01/app/flash_recovery_area/PAWII/archivelog/2013_04_25/o1_mf_1 _5_8qkwbc2w_.arc
ORA-328 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
Thu Apr 25 15:07:16 2013
ALTER DATABASE RECOVER CANCEL
ORA-1547 signalled during: ALTER DATABASE RECOVER CANCEL ...
Thu Apr 25 15:07:37 2013
alter database open resetlogs
Thu Apr 25 15:07:37 2013
ORA-1194 signalled during: alter database open resetlogs
so tell me how to open database now??
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: '/u01/app/oradata/pawii/system01.dbf' -
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 meHi
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 -
Master unable to open database
I am trying to run a replicated Berkeley DB instance and while the environment is created successfully and the master is elected, when the master attempts to open the database it returns an ENOENT. According the the documentation (and replication guide) this type of error occurs upon open when a replica attempts to open the database when it has not been created yet. While this makes sense for the replica, it doesn't seem like the master should ever return this error, particularly since the master has the DB_CREATE flag set. It is unclear to my why it is that the master replica is unable to open the database, does anyone know why this is occurring?
Here is the relevant code:
try
u_int32_t envFlags;
// First initialize the database enviroment information
envFlags = DB_CREATE | // If the environment does not exist, create it.
DB_RECOVER | // Run normal recovery
DB_INIT_LOCK | // Initialize locking
DB_INIT_LOG | // Initialize logging
DB_INIT_MPOOL | // Initialize the cache
DB_INIT_TXN | // Initialize transactions
DB_INIT_REP | // Initialize replication
DB_THREAD; // free-threaded (thread-safe)
env_->set_errfile(stderr);
//Sets verbose output to make replication easier to debug
env_->set_verbose(DB_VERB_REPLICATION, 1);
//Configure the local server
env_->repmgr_set_local_site(local_.ip.c_str(), local_.port, 0);
env_->repmgr_add_remote_site(replica.ip.c_str(), replica.port, NULL, 0);
env_->rep_set_nsites(2);
//If a role is specified then set the databases priority accordingly.
switch ( r )
case MASTER:
env_->rep_set_priority(500);
cerr << "Master Priority" << endl;
break;
case SLAVE:
env_->rep_set_priority(50);
cerr << "Slave Priority" << endl;
break;
case UNKNOWN:
default:
env_->rep_set_priority(5);
cerr << "Unkown Priority" << endl;
break;
env_->set_app_private(&status);
env_->set_event_notify(callback_handler);
env_->repmgr_set_ack_policy(DB_REPMGR_ACKS_ONE);
env_->set_timeout(1000000, DB_SET_TXN_TIMEOUT);
env_->set_tx_max(10000);
env_->set_lk_detect(DB_LOCK_MINWRITE);
env_->open(path.c_str(), envFlags, 0);
env_->repmgr_start(3, DB_REP_ELECTION);
sleep(5);
db_ = new Db(env_, 0);
u_int32_t dbFlags = 0;
bool isOpen = false;
while(!isOpen)
dbFlags = DB_AUTO_COMMIT;
if( status.role == MASTER )
cout << "Setting DB_CREATE Flag " << endl;
dbFlags |= DB_CREATE;
if( db_ == NULL )
db_ = new Db(env_, 0);
db_->set_error_stream(&std::cerr);
cerr << "Attempting to open db" << endl;
try
db_->open(NULL, dbFileName_.c_str(), NULL, DB_BTREE, dbFlags, 0);
cerr << "DB Opened successfully" << endl;
isOpen = true;
break;
catch(DbException dbe)
/* It is expected that this condition will be triggered
* when client sites start up.
* It can take a while for the master site to be found
* and synced, and no DB will be available until then.
if (dbe.get_errno() == ENOENT) {
cerr << status.id << " DB not available yet, retrying." << endl;
db_->close(0);
db_ = NULL;
} else {
env_->err(dbe.get_errno(), "DB->open");
throw dbe;
sleep(5);
// DbException is not a subclass of std::exception, so we
// need to catch them both.
catch(DbException &e)
std::cerr << "Error opening database: " << dbFileName_ << "\n";
std::cerr << e.what() << std::endl;
catch(std::exception &e)
std::cerr << "Error opening database: " << dbFileName_ << "\n";
std::cerr << e.what() << std::endl;
I am running this code with verbose replication output on a local machine. I start a single client on port 9090 and add a replica on port 9091 (the replica does not start since the first client does not return). I have tried cleaning out the folder where is db is written to and it makes no difference. I have provided some /* comments */ to augment what is being output.
REP_UNDEF: EID 0 is assigned for site localhost:9091
9090 Master Priority
REP_UNDEF: Read in gen 9
REP_UNDEF: Read in egen 9
REP_UNDEF: rep_start: Found old version log 14
CLIENT: dbs/ rep_send_message: msgv = 5 logv 14 gen = 9 eid -1, type newclient, LSN [0][0] nogroup nobuf
event: DB_EVENT_REP_CLIENT, I am now a replication client
CLIENT: starting election thread
CLIENT: elect thread to do: 0
CLIENT: repmgr elect: opcode 0, finished 0, master -2
CLIENT: init connection to site localhost:9091 with result 115
connecting to site localhost:9091: Connection refused
Done sleeping, trying to open dbs
/* Environment has been opened, now the client will try to open the database */
Attempting to open db
DB not available yet, retrying.
/* Open fails since it is a client and there is no master to create the database yet */
CLIENT: elect thread to do: 1
DB_ENV->rep_elect:WARNING: nvotes (1) is sub-majority with nsites (2)
DB_ENV->rep_elect:WARNING: nvotes (1) is sub-majority with nsites (2)
CLIENT: Start election nsites 2, ack 1, priority 500
Attempting to open db
CLIENT: Tallying VOTE1[0] (2147483647, 9)
CLIENT: Beginning an election
CLIENT: dbs/ rep_send_message: msgv = 5 logv 14 gen = 9 eid -1, type vote1, LSN [1][5174] nogroup nobuf
DB not available yet, retrying.
CLIENT: Tallying VOTE2[0] (2147483647, 9)
CLIENT: Counted my vote 1
CLIENT: Skipping phase2 wait: already got 1 votes
CLIENT: Got enough votes to win; election done; winner is 2147483647, gen 9
CLIENT: Election finished in 2.098189000 sec
CLIENT: Election done; egen 10
event: DB_EVENT_REP_ELECTED
CLIENT: Ended election with 0, sites 0, egen 10, flags 0x200a01
CLIENT: Election done; egen 10
CLIENT: New master gen 10, egen 11
CLIENT: Establishing group as master.
MASTER: rep_start: Old log version was 14
MASTER: dbs/ rep_send_message: msgv = 5 logv 14 gen = 10 eid -1, type newmaster, LSN [1][5174] nobuf
MASTER: restore_prep: No prepares. Skip.
MASTER: dbs/ rep_send_message: msgv = 5 logv 14 gen = 10 eid -1, type log, LSN [1][5174]
event: DB_EVENT_REP_MASTER
event: DB_EVENT_REP_MASTER
MASTER: election thread is exiting
/* Client gets elected to be the master, and thus can set the db create flag */
Setting DB_CREATE Flag
Attempting to open db
MASTER: dbs/ rep_send_message: msgv = 5 logv 14 gen = 10 eid -1, type log, LSN [1][5210] flush
DB not available yet, retrying.
/* Master cannot open the database event though the db create flag is set, this is the issue */
Setting DB_CREATE Flag
Attempting to open db
MASTER: dbs/ rep_send_message: msgv = 5 logv 14 gen = 10 eid -1, type log, LSN [1][5272] flush
DB not available yet, retrying.
/* repeated indefinitely */
Can anyone help? Thank you.dbFileName is "./dbs/test.db" and the dbs folder exists. I tried putting 777 permissions on the folder as well as using " dbs/test.db" to no avail.
I removed the database and all logs and ran it again for the same time as before and below is the db_printlog output:
[1][28]__txn_recycle: rec: 14 txnp 0 prevlsn [0][0]
min: 2147483648
max: 4294967295
[1][64]__fop_create: rec: 143 txnp 80000001 prevlsn [0][0]
name: ./dbs/80000000.f1e7a7fc0
appname: 1
mode: 660
[1][128]__fop_create: rec: 143 txnp 80000003 prevlsn [0][0]
name: ./dbs/80000002.b856343a0
appname: 1
mode: 660
[1][192]__fop_create: rec: 143 txnp 80000005 prevlsn [0][0]
name: ./dbs/80000004.f447bb460
appname: 1
mode: 660
[1][256]__fop_create: rec: 143 txnp 80000007 prevlsn [0][0]
name: ./dbs/80000006.d66a33830
appname: 1
mode: 660
[1][320]__fop_create: rec: 143 txnp 80000009 prevlsn [0][0]
name: ./dbs/80000008.d59895bb0
appname: 1
mode: 660 -
IllegalStateException: There are 2 open Databases in the Environment.
Does anyone have any advice on properly handling these exceptions? I get this occasionally on an Environment.close call:
SEVERE: Exception in thread "pool-11-thread-4"
SEVERE: java.lang.IllegalStateException: There are 2 open Databases in the Environment.
Closing the following databases:
persist#Flow#com.sleepycat.persist.sequences persist#Flow#com.sleepycat.persist.formats
at com.sleepycat.je.Environment.closeInternal(Environment.java:472)
at com.sleepycat.je.Environment.close(Environment.java:321)
at name.justinthomas.flower.analysis.persistence.FlowReceiver.closeEnvironment(FlowReceiver.java:67)
at name.justinthomas.flower.analysis.persistence.FlowReceiver.addFlow(FlowReceiver.java:104)
at name.justinthomas.flower.collector.FlowWorker.parseData(FlowWorker.java:379)
at name.justinthomas.flower.collector.FlowWorker.v9(FlowWorker.java:112)
at name.justinthomas.flower.collector.FlowWorker.run(FlowWorker.java:62)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
That is thrown on the "environment.close" line in this section:
private void closeEnvironment() {
if (environment != null) {
try {
environment.close();
} catch (DatabaseException e) {
System.err.println("Error closing environment: " + e.toString());
... which is called as a "finally" at the end of my insert function. Should I just catch these and ignore them? Or is there something I should be doing to prevent these from occurring?Hi Justin,
JE data is stored via Database objects. When you using the DPL, your EntityStore opens and closes the Databases for you. If you don't call EntityStore.close, it won't close the Databases and you'll get this "warning exception" when you close the Environment. Note that if you open/construct an EntityStore more than once, you'll have to close each instance.
If you only see this message occasionally, I suspect that you're getting an exception during your app processing, before you close your store. The exception causes you to skip your normal shutdown code, that closes the store, so the store is not closed. You're probably not catching this exception and logging it, and it is not thrown upward because of the exception thrown by Environment.close. To find out what's happening, you'll need to catch and log the exception.
--mark
Maybe you are looking for
-
Goods receipt of more than one batches for Production Order
Hi , We are assigning the Batch number in CO01 t code as A1234.1 for Order quantity 100. I am doing the partial GR and also for the next successive GR's I want to do the GR with batch number as A1234.2, A1234.3.. System is not allowing me to do the G
-
Macbook Pro and Samsung monitor
I bought a Samsung 22inch monitor. It works for my old G4 with VGA analog, but if I hook my MBP to the monitor through DVI all I get is my screensaver on the monitor. I tried detect monitor and nothing happens. Any thoughts ?
-
Generic Data source with FM issue
Hi, Our requirement is to extract data from R/3 system using a normal HR function module which is already existing for R/3 purpose. So I created one more Function module similar to RSAX_BIW_GET_DATA_SIMPLE and commented the open cursor code and simpl
-
U00A7AUD - Business partner in audit creation
Dear Experts, How to create an audit in an audit plan ? I have created an audit in an audit plan but i could not get any value for business partner in the drop-down list in the basic data tab of the audit. So i created and saved the au
-
Compressed files default to open in MS Office with new Mini
When I try to decompress stuff/zipped files, Tiger is defaulting to open them in MS Office. When I try to change the App in the "Open With" control click, I can't find the BOMA app. Thanks