ORA-01219
When i try to run a simple query like select i got the below error
ORA-01219: database not open: queries allowed on fixed tables/views only
Plz give me sol for this issue
thanks in advace
SQL> startup force mount;
ORACLE instance started.
Total System Global Area 209715200 bytes
Fixed Size 1248140 bytes
Variable Size 92275828 bytes
Database Buffers 113246208 bytes
Redo Buffers 2945024 bytes
Database mounted.
SQL> select status from v$instance;
STATUS
MOUNTED
SQL> select * from t;
select * from t
ERROR at line 1:
ORA-01219: database not open: queries allowed on fixed tables/views only
SQL> alter database open;
Database altered.
SQL> select status from v$instance;
STATUS
OPEN
SQL> select count(*) from t;
COUNT(*)
102
Similar Messages
-
Help. Experiencing ORA-01219 error while trying to check status of database from new install of Oracle 10g on Redhat Enterprise Server.
- Logging in with "sqlplus / as SYSDBA"
- "SELECT STATUS FROM V$INSTANCE" returns
STATUS
STARTED
- "SELECT * FROM DBA_ALL_TABLES" returns
ERROR at line 1:
ORA-01219: database not open: queries allowed on fixed tables/views only
Not sure if related, but LSNRCTL STATUS says my instance name status is BLOCKED. Also, getting ORA-00214 upon executing "STARTUP" within sqlplus. In the meantime, will try to resolve 00214 error see if that'll fix everything. Thanks.883377 wrote:
Help. Experiencing ORA-01219 error while trying to check status of database from new install of Oracle 10g on Redhat Enterprise Server.
- Logging in with "sqlplus / as SYSDBA"
- "SELECT STATUS FROM V$INSTANCE" returns
STATUS
STARTED
- "SELECT * FROM DBA_ALL_TABLES" returns
ERROR at line 1:
ORA-01219: database not open: queries allowed on fixed tables/views only
Not sure if related, but LSNRCTL STATUS says my instance name status is BLOCKED. Also, getting ORA-00214 upon executing "STARTUP" within sqlplus. In the meantime, will try to resolve 00214 error see if that'll fix everything. Thanks.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 1553305600 bytes
Fixed Size 2213656 bytes
Variable Size 1224739048 bytes
Database Buffers 318767104 bytes
Redo Buffers 7585792 bytes
SQL> SELECT STATUS FROM V$INSTANCE;
STATUS
STARTED
SQL> SELECT * FROM DBA_ALL_TABLES;
SELECT * FROM DBA_ALL_TABLES
ERROR at line 1:
ORA-01219: database not open: queries allowed on fixed tables/views only
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01507: database not mounted
SQL> alter database mount;
Database altered.
SQL> alter database open;
Database altered.
SQL> SELECT count(*) from dba_all_tables;
COUNT(*)
3005
SQL> -
Ora-01219 database not open; only queries on fixed tables and views.
Hi everyone
There is another post stating this error, but since the source is different, I think is okay to make a different post as well.
Our database was working fine until the other day, when suddenly power went off, UPS was damaged and didn't hold, and when we restarted the database this is what happens:
Using Enterprise Manager Console, we can make a succesful connection in the same machine, but if we choose Schema, the following error appears:
ora-01219 database not open; only queries on fixed tables and views.
When accesing from a different machine:
ORA-01033: ORACLE initialization or shutdown in progress
Thanks in advanceHere is the last entries of alert log
Fatal NI connect error 12638, connecting to:
(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 20-JUL-2010 15:48:31
Tracing not turned on.
Tns error struct:
ns main err code: 12638
TNS-12638: Fallo de recuperación de credenciales
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Tue Jul 20 15:50:50 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in server-side spfile E:\ORACLE\CRIMINALISTICA\PRODUCT\11.1.0\DB_1\DATABASE\SPFILECRIM.ORA
System parameters with non-default values:
processes = 150
memory_target = 816M
control_files = "E:\ORACLE\ORADATA\CRIM\CONTROL01.CTL"
control_files = "E:\ORACLE\ORADATA\CRIM\CONTROL02.CTL"
control_files = "E:\ORACLE\ORADATA\CRIM\CONTROL03.CTL"
db_block_size = 8192
compatible = "11.1.0.0.0"
db_recovery_file_dest = "E:\Oracle\flash_recovery_area"
db_recovery_file_dest_size= 2G
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
db_domain = ""
dispatchers = "(PROTOCOL=TCP) (SERVICE=CRIMXDB)"
audit_file_dest = "E:\ORACLE\ADMIN\CRIM\ADUMP"
audit_trail = "DB"
db_name = "CRIM"
open_cursors = 300
diagnostic_dest = "E:\ORACLE"
Tue Jul 20 15:50:55 2010
PMON started with pid=2, OS id=1688
Tue Jul 20 15:50:55 2010
VKTM started with pid=3, OS id=2236 at elevated priority
Tue Jul 20 15:50:55 2010
DIAG started with pid=4, OS id=2332
Tue Jul 20 15:50:55 2010
DBRM started with pid=5, OS id=2328
Tue Jul 20 15:50:55 2010
PSP0 started with pid=6, OS id=2432
VKTM running at (20)ms precision
Tue Jul 20 15:50:55 2010
DIA0 started with pid=7, OS id=2160
Tue Jul 20 15:50:55 2010
MMAN started with pid=8, OS id=2156
Tue Jul 20 15:50:55 2010
DBW0 started with pid=9, OS id=2064
Tue Jul 20 15:50:55 2010
LGWR started with pid=10, OS id=3176
Tue Jul 20 15:50:55 2010
CKPT started with pid=11, OS id=3180
Tue Jul 20 15:50:55 2010
SMON started with pid=12, OS id=3184
Tue Jul 20 15:50:55 2010
RECO started with pid=13, OS id=3188
Tue Jul 20 15:50:55 2010
MMON started with pid=14, OS id=3192
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
ORACLE_BASE from environment = E:\Oracle
Tue Jul 20 15:50:55 2010
MMNL started with pid=15, OS id=3196
Tue Jul 20 15:50:56 2010
alter database mount exclusive
Setting recovery target incarnation to 2
Successful mount of redo thread 1, with mount id 1304879008
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: alter database mount exclusive
alter database open
Errors in file e:\oracle\diag\rdbms\crim\crim\trace\crim_dbw0_2064.trc:
ORA-01157: cannot identify/lock data file 9 - see DBWR trace file
ORA-01110: data file 9: 'E:\ORACLE\ORADATA\STOPCRIM5\STOPCRIM5TABLESPACE.ORA'
ORA-27047: unable to read the header block of file
OSD-04006: fallo de ReadFile(); no se ha podido leer del archivo
O/S-Error: (OS 38) Se ha alcanzado el final del archivo.
Errors in file e:\oracle\diag\rdbms\crim\crim\trace\crim_dbw0_2064.trc:
ORA-01157: cannot identify/lock data file 16 - see DBWR trace file
ORA-01110: data file 16: 'E:\ORACLE\ORADATA\PRUEBACARLOS\PRUEBACARLOSTABLESPACE.ORA'
ORA-27047: unable to read the header block of file
OSD-04006: fallo de ReadFile(); no se ha podido leer del archivo
O/S-Error: (OS 38) Se ha alcanzado el final del archivo.
Errors in file e:\oracle\diag\rdbms\crim\crim\trace\crim_dbw0_2064.trc:
ORA-01157: cannot identify/lock data file 17 - see DBWR trace file
ORA-01110: data file 17: 'E:\ORACLE\ORADATA\PRUEBACARLOS\PRUEBACARLOSINDEX.ORA'
ORA-27047: unable to read the header block of file
OSD-04006: fallo de ReadFile(); no se ha podido leer del archivo
O/S-Error: (OS 38) Se ha alcanzado el final del archivo.
ORA-1157 signalled during: alter database open...
Tue Jul 20 16:04:39 2010
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup. -
Database Datafiles Recovery. ORA-01219: database not open:
Hi,
I have a 10g database running on SuSE Linux server. I mistakenly deleted one of my file system's files that contain some of the database datafiles. I can connect to the database but I am failing to run queries:
SQL> select * from global_name;
select * from global_name
ERROR at line 1:
ORA-01219: database not open: queries allowed on fixed tables/views only
I do weekly cold backups of the server. My database is in NOARCHIVE log mode. What is the best way to recover my data; Is it possible that I restore only the file system or I should should do a complete restore of all file systems??
Regards
Kevin
Edited by: Kevin Honde on Jul 28, 2010 2:55 PMI mistakenly deleted one of my file system's files that contain some of the database datafiles.Ok
I do weekly cold backups of the server.Great !!
My database is in NOARCHIVE log mode. That's the mistake in my opinion
What is the best way to recover my data; Restore it from the latest available cold backup.
There will be a data loss post weekly consistent cold backup. Which you have to accept because you do not have your database running in Archive Log mode. -
Listener: ORA-00604 ORA-01219
We have a database on 10.2.0.5.0.
Sometimes we are able to login, sometimes we get the error below (this is from the client, on the server it works):
SQL> conn dba@tst
ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-01219: database not open: queries allowed on fixed tables/views only
When I restart the listener, we are able to login for a few seconds but the error shown above will return very fast. So it looks like a problem with the listener, hereby the listener-entry:
(SID_DESC =
(GLOBAL_DBNAME = TST.world)
(SID_NAME = TST)
(ORACLE_HOME = /data/app/oracle/server/10.2.0.5.0)
(PRESPAWN_MAX = 10)
Anyone an idea what causes this is?Here is more info.
M:\>tnsping tst
TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 08-JUN-2
012 08:59:49
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
S:\Oracle\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST= (ADDRESS = (protocol=ipc)(ke
y=IPC_bla)) (ADDRESS = (COMMUNITY = tcp.world) (PROTOCOL = TCP) (Host = bla
) (Port = 1521))) (CONNECT_DATA = (SERVICE_NAME = TST.WORLD))
OK (80 msec)
M:\>
tnsnames:
TST.WORLD =
(DESCRIPTION =
(ADDRESS_LIST=
(ADDRESS = (protocol=ipc)(key=IPC_bla))
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = bla.ee.intern)
(Port = 1521)
(CONNECT_DATA =
(SERVICE_NAME = TST.WORLD)
listener-logging:
Fri Jun 08 09:04:39 2012
08-JUN-2012 09:04:39 * (CONNECT_DATA=(SERVICE_NAME=TST.WORLD)(CID=(PROGRAM=C:\ORACLE\client112_32\bin\sqlplus.exe)(HOST=LAPTOP)(USER=pven
))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.128.128.16)(PORT=57359)) * establish * TST.WORLD * 0
I just had a succesfull connection and a failed connection, both show up in listener-logging exactly the same, only the timestamp differs.
Looks like my local SQLplus is able to reach the database, which is confirmed by tnsping.
Edited by: pvenpven on Jun 8, 2012 9:08 AM -
Hi,
i am getting ora-01219 error on standby database?
what my be wrong?What are you trying to do on standby database.It seems you arer quering some objects which are not a fixed views ot tables.To query tables on standby database (if 9i version or 10g) cancel the recovery, and open the Db in read only mode.
Anand -
Database not open error - ORA-01219
Hi experts,
I am new to oracle.
I have created a database call 'Play' and also created a table 'tbPlay'.
I also inserted some rows here.
After that all the database operations were working fine here.
After restarting the machine, I logged into the database and none of the database operations are working.
When I do query 'Select * from tbPlay'
It give me the following error:
ERROR at line 1:
ORA-01219: database not open: queries allowed on fixed tables/views only
I also did these
shutdown immediate;
startup mount;
But this did not help.
Please help...
Thanx..
DeepakI am getting this error when I start
SQL> startup mount
ORACLE instance started.
Total System Global Area 97588504 bytes
Fixed Size 451864 bytes
Variable Size 46137344 bytes
Database Buffers 50331648 bytes
Redo Buffers 667648 bytes
ORA-01506: missing or illegal database name
please help me...what could be the problem... -
Installing 11g error ORA-01219
I am getting the below error , while i am installing oracle 11g ... Please help ...
ORA-01219: database not open: queries allowed on fixed tables/views onlyI am in mid of installation , please help me ...Hi;
I am getting the below error , while i am installing oracle 11g ... Please help ...What is exact db version? Is it alone or rac? You hit this error during which installation(Grid or DBMS?) Is it standby?
ORA-01219: database not open: queries allowed on fixed tables/views onlyPost log files for can understand what is exact problem
Regard
Helios -
Hi,
while Trying to access the database im prompted with Error
'ORA-01219: database not open: queries allowed on fixed tables/views only'
Please let me know how to proceed...
Thanks & Regards,
- SriOracle says...
ORA-19809: limit exceeded for recovery files
Cause: The limit for recovery files specified by the DB_RECOVERY_FILE_DEST_SIZE was exceeded.
If you are using RMAN as well, Then work on retention policy of rman.
Flash Recovery Area - File Manipulation and Retention Policy -
Need Help with ORA-00604 - ORA-01219
Hey i'm having a hard to understand the error messages generated by our Oracle database server. i'm in charge of the development of a .NET apps with an Oracle DB underneath.
i tried to change the parameter values ( the java pool and the shared pool) and when i tried to apply the change from Enterprise manager the shutdown process didn't complete, the parameters values are all gone and i'm trying to log on thru SQL* Plus i'm getting the following errors
ORA-00604 error occured at recusive SQL Level 1
ORA-01219 database not open: queries allowed on fixed tables/views only
is there a way to recover or to reload the previous parameters values? . i really need some help on this
thanks in advanceTake a look in the alert log for the database to see why the database did not open. The alert log can be found in ORACLE_BASE/admin/<dbsid>/bdump/alert_<dbsid>.log .
You can try to open the database with the following:
set ORACLE_SID=<dbsid>
sqlplus /nolog
connect / as sysdba
alter database open;
It is possible that the above will not open the database if there is something preventing the opening of the database. That information can be found in the alert log mentioned above. -
How to clear Error alerts ORA-01219 on standby databases
Hello all
I'm using EM 10.1.0.5. Some weeks ago, we did an upgrade of our standby databases to 10.2.0.4. At that moment, we got many alerts of type Error: ORA-0219: database not open, queries allowed on fixed tables/views only. That's right, these databases are not open. Now I'm getting tired of seeing these 130 messages every day, I would like to delete them. But I cannot ! I removed several alerts of type Warning by setting the threshold value of the metric to NULL and then back again. This works fine. But I cannot use the same procedure for Error alerts, because I do not find these metrics. Example: the metric Streams Capture Message Statistics is displayed on the All Metrics page, but NOT on the Metric and Policy Settings page (selecting All Metrics in the drop down list). Apart from upgrading the EM to 10.2.0.4, is there a way to remove these Error alerts ?
Thank you for any advice
pherI have checked my 10.2.0.4 OMS and the "Streams Capture Message Statistics" metrics are not displayed on the Metric and Policy Settings page either. This looks like it could be a bug. You might bnefit from raising an SR with Oracle support. In the meantime I will continue to seek a resolution.
-
ORA-01219: database not open: queries allowed on fixed tables/views only
ALL
i configured asm in standalone (single instance) working but.i am trying to add more disk in the +asm instance.
during database instance down time i can add disk in the asm instance .but both instance asm ,orcl up
i cant add disk is it normal ?
Regards
basheerasmtool -create disk5 512
set oracle_sid=+asm
sqlplus / as sysdba
startup
alter diskgroup data add 'd:\asmdisks\disk5'; -
Hi,
I use 92home as db and 9i report to create report.
I get ora-01033 as connect to db from report. I closed the report builder, and tried to open schema, but get ora-01219.
I think if ora-01219 can be solved the ora-01033 will be solved also.
Thanks very much in advance.
CharlesAfter I shutdown db under sqlplus and startup it, I got error message:
ora-00356: inconsistent lengths in change description
ora-00353: log corruption near block 6166 change
ora-00312: online log 3 thread 1: d:\oracle\oradata\oracledb\redO03.log
After I tried to rman the db, got
ora-01033.
I am new to oracle, but guess the root cause of those error is either ora-01219 or ora-01033.
Thanks very much in advance.
Charles -
ORA-00372 error after DB backup
Hello,
After performing a backup on tape using Amanda, one of the tablespaces is generating an ORA-00372 error. The DB is 10g1, on Solaris' SunOS 5.10.
ORA-01110: data file 6: '[path]/filename.dbf'
ORA-00372: file 6 cannot be modified at this time
ORA-01110: data file 6: '[path]/filename.dbf'
While trying to log in sqlplus as a regular user, I get the ORA-01033 message:
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
I can log in as sysdba, to find out that the DB is only mounted, when I issue an 'alter database open;' I get the 00372 error above.
The RMAN backup sequence was the following:
run {
allocate channel ch1 type disk;
backup
incremental
level=0
database;
release channel ch1;
After the backup, the state of the DB was not checked, but some application process that used it stopped responding, so after trying to restart the process, a reboot command was issued from a shell - I don't know if this has anything to do with the actual state of the DB.
- What can I do to get the DB to the open state ('alter tablespace ... online' doesn't work with the DB in mounted state)?
- What possibly generated this particular situation?
Thank you all for any ideas,
AdrianI tried to retrieve the status of the tablespaces with the following query
select TABLESPACE_NAME, STATUS, CONTENTS
from dba_tablespaces
order by TABLESPACE_NAME
but I cannot run it, as the DB is only mounted - I get the error:
ORA-01219: database not open: queries allowed on fixed tables/views only
Is there another way to find out? And I don't know how to find the status of the file... -
ORA-00333: redo log read error block 65538 count 8192
Hi,
I wanted to alter user hr's password, but I couldn't open the database first. What should I do? Here is my demo: Thank you for your response.
C:\>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on Sun May 16 12:12:43 2004
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect sys/oracle as sysdba
Connected.
SQL> show user
USER is "SYS"
SQL> select * from v$controlfile;
STATUS
NAME
C:\ORACLE\ORADATA\SARAH\CONTROL01.CTL
C:\ORACLE\ORADATA\SARAH\CONTROL02.CTL
C:\ORACLE\ORADATA\SARAH\CONTROL03.CTL
SQL> select * from dba_users;
select * from dba_users
ERROR at line 1:
ORA-01219: database not open: queries allowed on fixed tables/views only
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-00333: redo log read error block 65538 count 8192
SQL> desc v$instance
Name Null? Type
INSTANCE_NUMBER NUMBER
INSTANCE_NAME VARCHAR2(16)
HOST_NAME VARCHAR2(64)
VERSION VARCHAR2(17)
STARTUP_TIME DATE
STATUS VARCHAR2(12)
PARALLEL VARCHAR2(3)
THREAD# NUMBER
ARCHIVER VARCHAR2(7)
LOG_SWITCH_WAIT VARCHAR2(11)
LOGINS VARCHAR2(10)
SHUTDOWN_PENDING VARCHAR2(3)
DATABASE_STATUS VARCHAR2(17)
INSTANCE_ROLE VARCHAR2(18)
ACTIVE_STATE VARCHAR2(9)
SQL> select instance_name, status from v$instance;
INSTANCE_NAME STATUS
sarah MOUNTED
SQL>
*******************************I did what Prabhu told me..But i recovered using backup controlfile and when i was asked to apply logs..i applied my oldest logs and it worked
Like i have two groups with two members each
I applied log1a.dbf and it said media recovery completee
I opened the database But then it started giving me errors for undo tablespace
I made another undo tablespace..tried dropping the old one but it did not permitted as it had some segments with status "needs recovery"
Than i added this parameter in pfile with the correupted segment and than tried to drop the segment but it still did not permit
corruptedrollback_segments =(corrupted_undo segment_name)
Next what i did was I mounted the database, ran another session of media recovery and opened the databse using resetlogs
Than i dropped the old undo and it went through successfully..
If you think anything i did wrong than please advice..
I hope this action plans helps you in case you come across same errors some day
I would be very thankful if you can refer me a document of recovery which covers all kinds of recoveries and scenarios and commands too
Thanks alot
Maybe you are looking for
-
How to insert a picture into a table extracting from another table in a for
i have a form in which i have a image item though which i am saving a picture of datatype of long row or blob.This is working properly. But when i am saving this picture from screen into another table having same field name and same datatype, its not
-
How to add partition to an existing table
I have a table that contains lot of data.I need to add partitions to it to improve the performance of the procedures using this table.This table is having no existing partition.
-
Is there a way to embed an unencrypted "replacement document" for non IRM-aware clients?
would this be possible? IRM-Encrypt the "real" document, but place an unencrypted descriptive page to be shown by clients not being IRM-capable or -aware? Dilettanto
-
Having Trouble loggin in page customisation
Hi All, We are using EP SP 2. There is a link "Get Support" in login Page. Using the link,all user can post login problems to the Administrator User. Administrator will get all issues by email.(if email server is configured.). We want to customised t
-
I have two trojans I can't get rid of
I have Trend Micro for mac that keeps find two trojans that apparently came attached to an emal e-card. I have also downloaded ClamXav from the apple store that seems to find these trojans and delete them, but the keep reappearing. What do I need to