Unable to enter the DB

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support Unable to enter the DB
# 1  
Old 02-03-2012
Unable to enter the DB

Hi folks,

I am on a very critical situation. I have a sun Solaris 10 MC with oracle 10G installed on it.
When i try to mount the DB, I can mount it, But when I try to access it, the DB is inaccessible.

Code:
SQL> select status from v$instance;

STATUS
------------
MOUNTED

SQL> shutdown immediate
ORA-01109: database not open


Database dismounted.
ORACLE instance shut down.
SQL> Startup mount
ORACLE instance started.

Total System Global Area  167772160 bytes
Fixed Size                  1977176 bytes
Variable Size              88085672 bytes
Database Buffers           71303168 bytes
Redo Buffers                6406144 bytes
Database mounted.
SQL> ALTER DATABASE RECOVER;
ALTER DATABASE RECOVER
*
ERROR at line 1:
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done


SQL> alter database open;                                                             
alter database open
*
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open

SQL>

Also tried the RMAN stuff to recover the DB. But no use.

The RMAN logs are attached in the attachment.
# 2  
Old 02-03-2012
I have also tried to do this

Code:
SQL> recover database until cancel USING BACKUP CONTROLFILE;
ORA-00279: change 91832826 generated at 01/31/2012 20:55:27 needed for thread 1
ORA-00289: suggestion :
/var/opt/mediation/ora/oralog/bgw/archive_log_1_4152_716325247.dbf
ORA-00280: change 91832826 for thread 1 is in sequence #4152


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:
'/var/opt/mediation/ora/oradata/BGW/datafile/o1_mf_system_5wcl4ors_.dbf'


ORA-01112: media recovery not started


SQL>

---------- Post updated at 02:30 AM ---------- Previous update was at 12:06 AM ----------

Some more logs for investigation purpose.

Code:
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-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1:
'/var/opt/mediation/ora/oradata/BGW/datafile/o1_mf_system_5wcl4ors_.dbf'


SQL>

# 3  
Old 02-15-2012
Hello :

IS your issue resolved ?
# 4  
Old 02-17-2012
try this...
Code:
alter database open resetlog

# 5  
Old 02-23-2012
@itkamaraj
he already tried...

@vivek.goel.piet
your backup control file is younger than your datafiles. You have to restore the archivelogs that contain the changes that happened during the timedifference in order to bring your database to a consistent state. Do a recover until cancel like in your second post but specify the restored archivelog(s).
What lead to that situation? An unsuccessful restore? A corrupted data- or controlfile?
# 6  
Old 03-08-2012
While this is old you would try:

SQL>recover database using backup controlfile until cancel; -- or time or scn or however you need to recover

It should prompt you for the change it is looking to apply. This can be in an archive log or a redo log. You can type CANCEL when it prompts you then try a open resetlogs.
# 7  
Old 03-19-2012
Hi,

Try recover database applying archive logs and after open it run "alter database open" or "alter database open resetlogs", if not worked, your file can be corrupted, restore backup and try again.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Loop logic, enter into respective IF as per enter input file name

have three big data file, however I just need to see the mentioned below one line form the all the file which has SERVER_CONNECTION Value File 1 export SERVER_CONNECTION=//dvlna002:10001/SmartServer File2 export SERVER_CONNECTION=///SmartServer File3 export... (1 Reply)
Discussion started by: Nsharma3006
1 Replies

2. Shell Programming and Scripting

Pressing enter and script still goes on

i have a bash shell script and i press enter and the script still continues on? how do i stop this (3 Replies)
Discussion started by: gangsta
3 Replies

3. UNIX for Dummies Questions & Answers

Tab and Enter

Do Tab or Enter behave like a command in some cases? For example, I had been trying to plot with gnuplot by usinf shell script like command inside: cat plot.gnu gives : plot 'datafile1' , \ 'datafile2' Now gnuplot doesn't recognize the newline command "\" unless I use "enter" in the... (12 Replies)
Discussion started by: hbar
12 Replies

4. Shell Programming and Scripting

remove enter

Hi All, I have a file , delimited by | Last column of the file has a extra enter causing error in my program Eg: firstworld <enter>; NO EMP i want data to be firstworld; NO EMP Is there a way to remove enter from a file (2 Replies)
Discussion started by: gwrm
2 Replies

5. Shell Programming and Scripting

Trigger Enter

Hello, I need to trigger every time enter has been clicked while some one on terminal i tried to googleit but with out result any idea ?? thanks in advance (3 Replies)
Discussion started by: AYAK
3 Replies

6. Shell Programming and Scripting

how to have ENTER after each symbol.

I want to know script for Input file : 123456789 outputfile : 1 2 3 4 5 6 7 8 9 now please how can generalize it like i want output : 123 456 789 (5 Replies)
Discussion started by: sparkriver
5 Replies

7. Solaris

Enter to OBP

Hello, today i'm comment in /etc/vfstab fs /usr and my server load in SingleUser without anything commands :( How i can enter to OBP from # ? or ILOM ? I'm try CTRL+BREAK (F5) , CTRL+ALT+BREAK (F5) and #. but it's don't help me :(((( (5 Replies)
Discussion started by: jess_t03
5 Replies

8. Solaris

Cant enter password

When i come to the login screen i will put root and no password, and it will say its incorrect, but even when i try to enter a password nothing comes up in the box (2 Replies)
Discussion started by: possuman72
2 Replies

9. Shell Programming and Scripting

HELP with Enter Character

I'm using PHP in my site. I have txt files for news. I reads the txt files and post the news. i have a php function that finds the caracter asc(13) which is the enter, and puts a <br>. It works in Windows, but not on Unix. Can u help me with that. Thanks (1 Reply)
Discussion started by: zecarlos
1 Replies
Login or Register to Ask a Question