ORA-01172 & ORA-01151
Hello,
Due to power failure, my system get shutdown
When i restart my CPU i got the following error
i am using Database version 8.1.0.5 and database in no archive mode
ORA-01172: recovery of thread 1 stuck at block 41450 of file 3
ORA-01151: use media recovery to recover block, restore backup if needed
i am new with database troubleshooting, so please guide me with step to follow for get rid of this issue.
Thanks in Advance!
Message was edited by:
Fiz Dosani
Try the following:
select file_name from dba_data_files where
file_id=3;
Then take that value for the datafile name, and do:
recover datafile 'datafile name from previous
select';I've got exactly the same problem on a development database too: -
ORA-01172: recovery of thread 1 stuck at block 4089 of file 3
ORA-01151: use media recovery to recover block, restore backup if needed
However, because I can only mount the database, I can only do a select on fixed tables/views, and I can't seem to find such a table that lists the datafile names.
Any ideas? Thanks.
Paul
Similar Messages
-
Oracle errors : ORA-01172 & ORA-01151
HI
I am running oracle 10G on win XP .
3 days ago when i logged in i got following 2 errors .
ORA-01172: recovery of thread 1 stuck at block 1381 of file 2
ORA-01151: use media recovery to recover block, restore backup if needed
as i was new to this error , i was searching on the net what has caused this error ?
But again now on yesterday when i tried to login i got the new messge
ORA-12560: TNS:protocol adapter error
I had checked for all oracle services & litsner files . All are working fine even i re-started all services . I am unable to move further . Help is appriciated .
thnx in advanceORA-01152: file string was not restored from a sufficiently old backup
Cause: An incomplete recovery session was started, but an insufficient number of logs were applied to make the database consistent. This file is still in the future of the last log applied.The most likely cause of this error is forgetting to restore the file from a backup before doing incomplete recovery.
Action: Either apply more logs until the database is consistent or restore the database file from an older backup and repeat recovery. -
ERROR ORA-01172, ORA-01151
what is the solution for
ORA-01172: recovery of thread 1 stuck at block 9 of file 2
ORA-01151: use media recovery to recover block, restore backup if needed
this are the errors comeing when im useing ' alter database open'
thank you!What is your DB version , OS Version Please
-
ORA-01172: Recovery of thread 1 stuck at...
My db got corrupted, and I'm having the following issue when opening it:
ORA-01172: recovery of thread 1 stuck at block 31823 of file 2
ORA-01151: use media recovery to recover block, restore backup if neededI did the following... but am now stuck. I accidentally entered a newline when I was supposed to specify the log file (I guess?). Any help would be great. Thanks!
SQL> recover database until cancel;
ORA-00279: change 12390169168251 generated at 06/26/2012 09:41:48 needed for
thread 1
ORA-00289: suggestion :
C:\APP\GRExxxxxxx\FLASH_RECOVERY_AREA\MYDB\ARCHIVELOG\2012_06_27\O1_MF_1_1
27_%U_.ARC
ORA-00280: change 12390169168251 for thread 1 is in sequence #127
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log
'C:\APP\GRExxxxxxx\FLASH_RECOVERY_AREA\MYDB\ARCHIVELOG\2012_06_27\O1_MF_1_
127_%U_.ARC'
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-10879: error signaled in parallel recovery slave
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: 'C:\APP\GRExxxxxxx\ORADATA\MYDB\SYSTEM01.DBF'Hi,
speicfy the logs as it requested to complete the recovery (it might ask you for online redo based on you crash/scn), if you are not left over with any archives with recovery then you cancel the recover and open the database with
reset logs
- Pavan Kumar N -
ORA-01172: recovery of thread 1 stuck at block 1340 of file 2
Database Version: Oracle 10G rel 10.02
OS:- Windows XP SP2.
Scenario:- Trying to open the database .
Error:-
SQL> startup open;
ORACLE instance started.
Total System Global Area 272629760 bytes
Fixed Size 1248476 bytes
Variable Size 100664100 bytes
Database Buffers 163577856 bytes
Redo Buffers 7139328 bytes
Database mounted.
ORA-01172: recovery of thread 1 stuck at block 1340 of file 2
ORA-01151: use media recovery to recover block, restore backup if needed
Please advise.SQL> select name,status,enabled from v$datafile where file#=2;
NAME
STATUS ENABLED
D:\ORADATA\ORCL\UNDOTBS01.DBF
ONLINE READ WRITE -
Help me! ORA-01172 during database startup,and I can't recover it
Hi,
I use oracle 7.3.4.0.0 on Windows 2000 Adv server. My Cluster met some problem, the clustsvc quit unexpectedly,and cluster admin application hang, so I restarted the computer. But after I restart,I can't start my ORACLE_SID, I met ORA-01172, Instance recover stuck at block 49, file #1,can't aplly change SCN 0000000.0a435675,it isnot the next change,...ORA-00600 ....... My DB is NOARCHIVELOG, and file #1 is SYSTEM tablespace, and I have no recent copies of these datafiles. So I can't recover from the problem. I use dbverf73 checked all the datafiles, they all have no corrupt blocks. How can recover the database?
Please help me! A lot of thanks!Check Oracle support for the ORA-00600 error.
Recover a database without ARCHIVELOG and without a cold backup is impossible as far as i know...
Fred -
SQL Loader and Error ORA-01847/ORA-01839
Hi,
While using the direct loading in SQL-LOADER when we get the ORA-01847/ORA-01839 all the other records are getting errorred out. It goes fine with the conventional loading.
Should I use some parameters or anything to make sure that all the other records are not rejected when we get the ORA-01847/ORA-01839 error while going with the DIRECT loading.
Thanks
JibinIn internet I found this short message:
“AL32UTF8 is a multi-byte characterset,that means some characters are stored in more than 1 character, that's true for these special characters.
If you have same table definitions in both databases you likely face error ORA-12899.
This metalink note discusses this problem, it's also applicable to sqlloader:
Import reports "ORA-12899: Value too large for column" when using BYTE semantic
Doc ID: Note:563893.1”
By metalink, I can see the Note linked to a one Oracle Internal Bug for Oracle 11g.....
I'm waiting you suggestion... thanks very much in advance.
Regards.
Giovanni -
Hi,
I am having a wft program, which checks a function activity and depending on the value returned sends difference notifications.
The package body completed successfully from backend and while running the workflow program it sends a notification also. But while opening the notification it gives the following error,
ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION", line 5328 ORA-06512: at line 5
I have 3 procedures in my package body and all the 3 procedures have exceptions defined as follows, if they are using any workflow activities.
==========================================================
EXCEPTION
WHEN OTHERS THEN
WF_CORE.context (
'WFCustCheck',
'MisCustDataFromTableDoc',
document_id,
display_type,
document,
document_type,
SQLERRM
RAISE_APPLICATION_ERROR (-20006, SQLERRM);
==========================================================
But I am not able to figure out what is causing this error. What does this "line 5328 ORA-06512: at line 5" in the error message indicate?. My package body has only 600 lines. And why is the error message not displaying the procedure name? though I have defined the procedure name in the exception.
What is the best way to get the procedure name in the error message? So that it becomes easier for identifying which procedure is causing the erro?
Please let me know.
ThanksHi,
Instead of the RAISE_APPLICATION_ERROR command, just replace that with RAISE;
The error is coming out of the package that is sending the notification (WF_NOTIFICATION), which is invoked when you open the notification. I'm guessing that line 5 is the line in your code though.
Are you using documents to send the notification, or are they purely defined in the .wft file?
Matt
Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
http://www.workflowfaq.com
http://forum.workflowfaq.com
NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com -
Difference between ORA-00018 & ORA-00020
Hi experts,
I am confused about ORA-00018 & ORA-00020, it easier to understand how number of session increased [ora-18],
but what are the special causes that increase number of oracle processes [ora-20] ?
Thanks in advance.There is a relationship between sessions on a database and the
number of
processes. What happens if we increase the number of sessions without
increasing the number of processes???
The parameters SESSIONS and PROCESSES determine the
size of two arrays in the SGA.
If you try to create more sessions on an instance than specified
by the SESSIONS parameter, you will get an ORA-00018: maximum
number of sessions exceeded.
If you try to create more processes on an instances than specified
by the PROCESSES prameter, you wil get an ORA-00020: maximum
number of processes exceeded.
The number of sessions and processes on your instance can been
seen using a COUNT(*) against V$PROCESS and V$SESSION.
Your job is to determine resonable values, so your users can continue
to work without getting neither ORA-18 nor ORA-20 during normal
conditions. (A run away job, that keeps starting new sessions is not
a normal condition, and it should be stopped by ORA-18 or ORA-20
whichever happens first).
You can join the two V$-views using the columns V$SESSION.PADDR
and V$PROCESS.ADDR.
It is quite normal to see a 1:1 relationship between processes
and sessions. However one OCI-program can create multiple
sessions belonging to one process. Users of Oracle Portal
will experience this behaviour.
The default value for SESSIONS is 1.1*PROCESSES + 5.
It is appropriate for some databases and inappropriate for
others (e.g. Oracle Portal).
Also, I remember a limit on the OS regarding the number of processes
allowed per Oracle user - also I know there is a semaphore
relationship.
On HP-UX there is a kernel parameter called NPROC. Like
PROCESSES and SESSIONS it should have a reasonable
value.
answered by
Jesper Haure Norrevangsource:-http://ora-00020.ora-code.com/msg/40800.html -
Errors - ORA-01034, ORA-27101 & Linux-x86_64 Error: 2: No such file or dir
I have installed Oracle 10g database and AS 10g on SUSE linux EE 10 (SP2)
When I try to log in as system/system using sqlplus locally on the server, it works fine. However, when I try the following I get error messages:
SQL> conn system/system@botsdb
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
I tried the same from my laptop through sqlplus and the error message is the same.
I checked if the database was up and to check this I executed follwing commands whicle still being logged as system/system:
SQL>Select * from v$database;
SQL>Select * from v$instance;
SQL>Select * from tab;
These do bring results. Also if I try to start up the database again, it gives error message that the database is already up. I have restarted the db number of times, checked if my listener was listening on the service BOTSDB and these all seem fine.
It is very intriguing that when @BOTSDB is attached while connecting, the connection fails.
Can someone please guide me to sort this error?
Thanks and kind regards,
AparnaHi
I am answering all the three questions here.
1) No of instances on the machine, I understand it is 1.
2) Results of lsnrctl status
oracle@linuxserver:~> lsnrctl status
LSNRCTL for Linux: Version 10.1.0.4.2 - Production on 28-JUL-2010 09:19:33
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=linuxserv.dcdm.mu)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.1.0.4.2 - Production
Start Date 27-JUL-2010 11:24:12
Uptime 0 days 21 hr. 55 min. 20 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/app/ora10ginfra/network/admin/listener.ora
Listener Log File /oracle/app/ora10ginfra/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linuxserver.dcdm.mu)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "metarep.dcdm.mu" has 1 instance(s).
Instance "metarep", status READY, has 3 handler(s) for this service...
The command completed successfully
--Note that lsnrctl status command was issued after loading 10ginfra.env file.
Please note that the listener for the database is set as DBLISTENER and lsnrctl status DBLISTENER was executed after loading 10gdb.env file. The results of lsnrctl status DBLISTENER are as follows:
oracle@linuxserver:~> . ./10gdb.env
oracle@linuxserver:~> lsnrctl status DBLISTENER
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 28-JUL-2010 09:24:44
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.107.123)(PORT=1650)))
STATUS of the LISTENER
Alias DBLISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 27-JUL-2010 15:11:28
Uptime 0 days 18 hr. 13 min. 15 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/app/ora10gdb/network/admin/listener.ora
Listener Log File /oracle/app/ora10gdb/network/log/dblistener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.107.123)(PORT=1650)))
Services Summary...
Service "BOTSDB" has 1 instance(s).
Instance "BOTSDB", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
3) The output of ps -ef |grep pmon is
oracle@linuxserver:~> ps -ef |grep pmon
oracle 12524 12091 0 09:16 pts/1 00:00:00 grep pmon
oracle 12525 1 0 Jul27 ? 00:00:00 ora_pmon_metarep
oracle 25776 1 0 Jul27 ? 00:00:00 ora_pmon_BOTSDB
The contents of listener.ora in two different Oracle Homes (one for AS infrastrcuture and another one for database) are as follows:
oracle@linuxserver:/oracle/app/ora10ginfra/network/admin> vi listener.ora
# listener.ora Network Configuration File: /oracle/app/ora10ginfra/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/app/ora10ginfra)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = linuxserv.dcdm.mu)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
oracle@linuxserver:/oracle/app/ora10gdb/network/admin> vi listener.ora
# Generated by Oracle configuration tools.
SID_LIST_DBLISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/app/ora10gdb/)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = BOTSDB)
(ORACLE_HOME = /oracle/app/ora10gdb/)
DBLISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.107.123)(PORT = 1650))
Kind regards,
Aparna -
Errors-Ora-01157,ORA-01110,ORA-01033
HI all,
i am unable to login into database,i will explain clearly what has happened,please help me out...my /home directory was 100%,so i was unable to login,what i have did is i have not deleted
archive files but i have moved to other directory /ora_bkp,then i was able to login,today i have rebboted the system and later i have started database,started listener,but when i try to login
through sql*plus or toad i am getting this error.....ORA-01033 (ORACLE INITIALIZATION OR SHUTDOWN IN PROGRESS),and when i have tried to check from sql promt ....i am getting this
error....ORA-01157(CANNOT IDENTIFY/LOCK DATAFILE 6 -SEE DBWR TRACE FILE),& ORA-01110(DATA FILE 6: '/SAPDATA/SPO'...
HOW SHOULD I RECTIFY MY PROBLEM...AS I AM VERY NEW IAM TRYING TO EXPLAIN CLEARLY ...PLEASE HELP ME IN SOLVING THIS ISSUE....I HAVE EVEN TRIED ALTER DATABASE OPEN...I AM GETTING ERRORS OF ORA-01157,ORA-01110....WHAT IS MY PROBLEM HOW SHOULD I RECTIFY IT..PLEASE SORT THIS....
THANKS,
MIKEWell, did you check f.i. your alert.log and other dumps?
They will be on your server in the bdump, udump, cdump directories:
Where to Find Files for Analyzing Errors
Oracle records information about important events that occur in your Oracle RAC environment in trace files. The trace files for Oracle RAC are the same as those in single-instance Oracle databases. As a best practice, monitor and back up trace files regularly for all instances to preserve their content for future troubleshooting.
Information about ORA-600 errors appear in the alert_SID.log file for each instance where SID is the instance identifier. For troubleshooting, you may need to also provide files from the following bdump locations:
* $ORACLE_HOME/admin/db_name/bdump on UNIX-based systems
* %ORACLE_HOME%\admin\db_name\bdump on Windows-based systems
Some files may also be in the udump directory.
In addition, the directory cdmp_timestamp contains in-memory traces of Oracle RAC instance failure information. This directory is located in ORACLE_HOME/admin/db_name/bdump/cdmp_timestamp, where timestamp is the time at which the error occurred.
Trace dump files are stored under the cdmp directory. Oracle creates these files for each process that is connected to the instance. The naming convention for the trace dump files is same as for trace files, but with .trw as the file extension.
(http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/appsupport.htm#RACAD512) -
Errors ORA-01034, ORA-27101 and ORA-01033
Hi!
I have Oracle 9i DB and DevSuite 10g installed on my laptop. There are three databases on my machine.
Recently, I tried to install Oracle Discoverer 10g and that's where the problem started. I could no longer connect to the databse using either SQL*Plus, TOAD or even from the front end application.
I realised that some of the regisrty entries were no longer in place after the Discoverer installation. After doing these entries, I am still getting the following errors while connecting:
ORA-01034 : Oracle not available
ORA-27101 : Shared memory realm does not exist
After doing the following entries in the registry, for the default database, I'm getting the 'ORA-01033 : Oracle Initialization or shutdown in progress' error while connecting for that particular db:
ORACLE_SID=DTA
ORA_DTA_AUTOSTART=TRUE
ORA_DTA_SHUTDOWN=TRUE
ORA_DTA_SHUTDOWN_TIMEOUT=30
ORA_DTA_SHUTDOWNTYPE=i
And for the other two DBs, the errors ORA-01034, ORA-27101 remain the same.
Can anyone please help?
Best regards,
AparnaHave you checked your Windows services for the Oracle instances? Started and set to auto-start on boot.
Also check your $path variable to make sure the Oracle home(s) appear in the path
HTH -- Mark D Powell -- -
Hi,
we are getting this two ORA-02068 + ORA-03135 errors on application side using dblink .... can any one pls help....
for 03135 we did some changes on db side .. what about ORA-02068 , is there is any action we have to made for this 2068 error
Thanks,Hi,
I have a similar problem... but more strange...
The customer have an aplication on JBOSS with a Oracle database 10.2.0.4.
When the user is logged in the application, he makes a query through the application, this query run a procedure that makes a select on the DB local an conects a remote DB with a db_link connection, with a synonym on the table remote and the procedure that fails
This procedure have a EXCEPTION clause at the end, that insert in a "error table" that shows the following information:
PET_ID ERROR DESCRIPTION F_CREATION USER_CREATION
4565 -2068 ORA-02068: error grave de DB_COSTES 25/05/2011 09:41;11 [jboss]-xxxxxxxxx
ORA-03135: la conexión ha perdido contacto
4566 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;47 [jboss]-xxxxxxxxx
4567 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;48 [jboss]-xxxxxxxxx
4568 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;49 [jboss]-xxxxxxxxx
The error "ORA-01001: cursor no válido" appears on the "error table" when the user tries to re-run another searh in the application
The DBA (in client side) must drop/create the synonym on the table and recompile the procedure to be able to work again... so, this error INVALID the procedure.
It's not for iddle time of application, because I asked for the user and he said me that when he logged at the first time in the morning, and make the search, he got the error too.
Can anybody help me?
Thank you
Bond2 -
ORA-20500+ ORA-02055+ORA-02068+ORA-03113
i got this error in my front end .....any idea what might be the reason?
Failed: ORA-20500: ORA-20500: ORA-20500: ORA-20500:
ORA-02055: distributed update operation failed;
rollback required
ORA-02068: following severe error from MUDR2SEBL(db_link name)
ORA-03113: end-of-file on communication channel
Thanks all
GaganThe remote site (server process) crashed. There should be something in the alert.log, and trace file on the remote site.
It may also be the local site, so also look for local trace files. -
ORA-02068+ORA-03113 on database link
Hi all
I have the following scenario:
The application is connecting to DB (Oracle 10.2.0.5) using jdbc connection pool.
The database is a 3-node RAC.
Using DB Link we access a PLSQL package on a remote database (10.2.0.4).The remote database is a single instance.
The remote database is not located behind FW.
Sometimes the remote DB is restarted, but we seem to hit these errors about 30 mins afterwards.
From time to time we get these errors and we cant find the root cause.
Any ideas how to address this?
Thanks,
RudiRudi wrote:
Hi all
I have the following scenario:
The application is connecting to DB (Oracle 10.2.0.5) using jdbc connection pool.
The database is a 3-node RAC.
Using DB Link we access a PLSQL package on a remote database (10.2.0.4).The remote database is a single instance.
The remote database is not located behind FW.
Sometimes the remote DB is restarted, but we seem to hit these errors about 30 mins afterwards.
From time to time we get these errors and we cant find the root cause.
Any ideas how to address this?
Thanks,
RudiORA-00600/ORA-07445/ORA-03113 = Oracle bug => search on Metalink and/or call Oracle support
Maybe you are looking for
-
How do you show time on the month view of Calendar
My calendar events, before Maverick, showed the time on the month calendar view. Now I can only access time if I click on each individual event or the day. Is there any way to change the calendar view to include the time?
-
In oracle Open Script (OATS), we have created an OracleEBS/Forms project. But when we try to record the script all the elements or fields are being identified as web objects. Due to this we are unable to use the functions like getText. Hence, please
-
I don't know how to put an image instead of colours for background
I am usin awt and I want to put an image from my HD as background instead typical colours. How can I do this?
-
Does an action of a GP process have to be assigned for a user
Hi Everyone, I'm wondering, does an action of a GP process have to be assigned for a specified user? Can I implment the following senario: A specified action have to be completed by a user who has a certain role. Then anyone who has the r
-
Method getEP5User(IUser) is Undefined
All, I am having some difficulties accessing KM from my web dynpro application. The idea is to upload files from the clients pc to the repository. There are tons of posts on how to do this but I cant seem to find anything resembling my issue. When I