Oracle Error ORA-01578,ORA-01110
Sir,
As per verbal discussion regarding Problem of Oracle-7 database file curruption, below is the error message which I received
ORA-01578: ORACLE data block corrupted (file # 2, block # 5739)
ORA-01110: data file 2: 'C:\ORAWIN95\DATABASE\usr1orcl.ora'
Just one table is not working properly name: balance
Please not that this is a Personal Oracle 7 version database
I will be highly thankful to you if you will please findout the solution of my problem because it has very imortant data...
My email is [email protected]
thanks
I have not worked with Oracle7 but check if this package is available in your version and if yes. You can work with it to fix the problem.
DBMS_REPAIR
DBMS_REPAIR contains data corruption repair procedures that enable you to detect and repair corrupt blocks in tables and indexes. You can address corruptions where possible and continue to use objects while you attempt to rebuild or repair them.
http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_repair.htm#ARPLS044
Joel Pérez
Similar Messages
-
ORA-01578, ORA-01110 Sysaux01.dbf SMON_SCN_TIME
Hello, (database 11g r2 (11.2.0.1) 64bit Oracle Linux 5.7)
In alert log i saw ORA-01578, ORA-01110 in Sysaux01.dbf.
By request:
select owner, segment_name, segment_type from dba_extents where file_id=2 and between 90624 and block_id + block -1;
I found that is SMON_SCN_TIME.
By request:
desc sys.SMON_SCN_TIME
i found that this table is empty...
What do I do to fix this mistake?welcome to OTN forums.
please check:
Block corruption in Undo tablespace -
EXP-00056: ORACLE error 4021 encountered ORA-04021: timeout occurred while
hi all oracle gurus ,
i have this problem which i am facing its like this.i have a batch file that runs export every night one week back it was all okay .few days back when i looked the log files it gives me this error ---EXP-00056: ORACLE error 4021 encountered
ORA-04021: timeout occurred while waiting to lock object
what should i do this is a production database runing in windows platform and there is no backup pls help me .....
export log file -------
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user PILOT
. exporting foreign function library names for user FINANCE
. exporting foreign function library names for user MBCNEWS
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user PILOT
. exporting object type definitions for user FINANCE
. exporting object type definitions for user MBCNEWS
About to export PILOT's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
EXP-00056: ORACLE error 4021 encountered
ORA-04021: timeout occurred while waiting to lock object
ORA-06512: at "SYS.DBMS_METADATA", line 1511
ORA-06512: at "SYS.DBMS_METADATA", line 1548
ORA-06512: at "SYS.DBMS_METADATA", line 1864
ORA-06512: at "SYS.DBMS_METADATA", line 3707
ORA-06512: at "SYS.DBMS_METADATA", line 3689
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully
robyavthis is a production database runing in windows platform and there is no backup
what should iWell first of all you should stop using EXP for backups, it's quite unsuitable, and start using RMAN instead. Find out more.
If you have a Metalink account you shoudl read Note:298968.1. But teh headline is there is a bug in 10gR1 which is fixed in 10gR2. This may not help you much. The workaround is to try running the export again later, which may not be any more helpful.
Cheers, APC -
ORACLE error 959 encountered ORA-00959: tablespace 'xyz' does not exist
im importing a dump to a newly created BD and im using 11g. I have already tablespaces and user for the dump to be imported.
The problems is, i have a total of 5 tablespaces created, all 4 are working well except the one tablespace and im receiving a 959 error(IMP-00003: ORACLE error 959 encountered
ORA-00959: tablespace 'xyz' does not exist). The log mentions that the tablespace does not exist even if this tablespace exist in the list of tablespace and datafiles created.
Hope you could help me with this. Thanks
Edited by: user8667617 on Feb 18, 2010 11:06 PMSQL> Select name from v$datafile;
NAME
C:\APP\ORACLEADMIN\ORADATA\ORC11\SYSTEM01.DBF
C:\APP\ORACLEADMIN\ORADATA\ORC11\SYSAUX01.DBF
F:\ORC11DBUNDO\UNDOTBS01.DBF
E:\ORC11DBUSER\USERS01.DBF
E:\ORC11DBUSER\INT_TRANSACTIONS_DATA.DBF
E:\ORC11DBUSER\INT_DATA.DBF
E:\ORC11DBUSER\CAS_DATA.DBF
E:\ORC11DBUSER\COS_DATA.DBF
E:\ORC11DBUSER\INT_ONLINE_TRANSACTIONS_DATA.DBF
9 rows selected.
SQL> Select * from v$tablespace;
TS# NAME INC BIG FLA ENC
0 SYSTEM YES NO YES
1 SYSAUX YES NO YES
2 UNDOTBS1 YES NO YES
4 USERS YES NO YES
3 TEMP NO NO YES
6 INT_TRANSACTIONS_DATA YES NO YES
7 INT_DATA YES NO YES
8 CAS_DATA YES NO YES
9 COS_DATA YES NO YES
10 INT_ONLINE_TRANSACTIONS_DATA YES NO YES
10 rows selected.
SQL>
here are the result of my query and it seems that the tablespace is recognized by the DB.
is there still any reason why? also when i try to drop the said tablespace in getting a response of the "tablespace does not exist" but when i try to create the tablespace it says that "ORA-00604: error occurred at recursive SQL level 1
ORA-00001: unique constraint (SYS.I_TS1) violated"
hope you can help me with this. -
EBS version : 11.5.10.2
DB version : 11.2.0.3
OS version : AIX 6.1 (64 bit)
As a part of 11.5.10.2 to R12.1.1 upgrade, while applying merged 12.1.1 upgrade driver(u6678700.drv), I got below error :
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
ATTENTION: All workers either have failed or are waiting:
FAILED: file ECXQBKUP.sql on worker 1.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Worker 1 log:
========================================
Start time for file is: Mon Aug 05 2013 10:54:29
sqlplus -s APPS/***** @/fmstop/r12apps/apps/apps_st/appl/ecx/12.0.0/patch/115/sql/ECXQBKUP.sql &un_apps &pw_apps &un_fnd
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
declare
ERROR at line 1:
ORA-20000: Oracle Error Rebuild1= -904 - ORA-00904: "TAB"."USER_PROP": invalid
identifier
ORA-06512: at line 46I tried fix inside 12.0.6 Patch 6728000 Fails On Ecxqbkup.Sql (Doc ID 760122.1) but getting same error :
drix10:/fmstop/r12apps/apps/apps_st/appl/ecx/12.0.0/patch/115/sql>sqlplus apps/apps
SQL*Plus: Release 10.1.0.5.0 - Production on Tue Aug 6 11:51:44 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @ECXQBKUP.sql apps apps applsys
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
select count(*) into in_cnt from ecx_inqueue
ERROR at line 26:
ORA-06550: line 26, column 36:
PL/SQL: ORA-00942: table or view does not exist
ORA-06550: line 26, column 3:
PL/SQL: SQL Statement ignored
drix10:/home/appltest>sqlplus '/as sysdba'
SQL*Plus: Release 11.2.0.3.0 Production on Tue Aug 6 11:47:38 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exec dbms_aqadm.drop_queue_table( queue_table=> 'APPS.ECX_INQUEUE',force=>true);
PL/SQL procedure successfully completed.
SQL> exec dbms_aqadm.drop_queue_table( queue_table=> 'APPS.ECX_OUTQUEUE',force=>true);
PL/SQL procedure successfully completed.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
drix10:/fmstop/r12apps/apps/apps_st/appl/ecx/12.0.0/patch/115/sql>
drix10:/fmstop/r12apps/apps/apps_st/appl/ecx/12.0.0/patch/115/sql>sqlplus apps/apps
SQL*Plus: Release 10.1.0.5.0 - Production on Tue Aug 6 11:52:07 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @ECXINQ.sql
Enter value for 4: system
Enter value for 5: manager
Connected.
Enter value for 1: apps
Grant succeeded.
Grant succeeded.
Grant succeeded.
Enter value for 2: apps
Connected.
PL/SQL procedure successfully completed.
Commit complete.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
drix10:/fmstop/r12apps/apps/apps_st/appl/ecx/12.0.0/patch/115/sql>
drix10:/fmstop/r12apps/apps/apps_st/appl/ecx/12.0.0/patch/115/sql>sqlplus apps/apps
SQL*Plus: Release 10.1.0.5.0 - Production on Tue Aug 6 11:53:38 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @ECXGINQ.sql
Enter value for 4: system
Enter value for 5: manager
Connected.
Enter value for 1: apps
Grant succeeded.
Grant succeeded.
Grant succeeded.
Enter value for 2: apps
Connected.
PL/SQL procedure successfully completed.
Commit complete.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
drix10:/fmstop/r12apps/apps/apps_st/appl/ecx/12.0.0/patch/115/sql>
drix10:/fmstop/r12apps/apps/apps_st/appl/ecx/12.0.0/patch/115/sql>sqlplus apps/apps
SQL*Plus: Release 10.1.0.5.0 - Production on Tue Aug 6 11:54:04 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @ECXOUTQ.sql
Enter value for 4: system
Enter value for 5: manager
Connected.
Enter value for 1: apps
Grant succeeded.
Grant succeeded.
Grant succeeded.
Enter value for 2: apps
Connected.
PL/SQL procedure successfully completed.
Commit complete.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
drix10:/fmstop/r12apps/apps/apps_st/appl/ecx/12.0.0/patch/115/sql>
drix10:/fmstop/r12apps/apps/apps_st/appl/ecx/12.0.0/patch/115/sql>sqlplus apps/apps @ECXQBKUP.sql apps apps applsys
SQL*Plus: Release 10.1.0.5.0 - Production on Tue Aug 6 11:54:26 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
declare
ERROR at line 1:
ORA-20000: Oracle Error Rebuild1= -904 - ORA-00904: "TAB"."USER_PROP": invalid
identifier
ORA-06512: at line 46
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options -
Exp 报EXP-00008: ORACLE error 904 encountered;ORA-00904错误
环境:RAC11gR2+Redhat6.1
[oracle@bppfedb1 mouse]$ exp BPPF_EAS/ApNCNOZqGx BUFFER=64000 FILE='/home/oracle/mouse/exp_bppf_tvs20121126.DMP' log='/home/oracle/mouse/exp_bppf_tvs20121126.log' OWNER=BPPF_EAS
Export: Release 11.2.0.3.0 - Production on Tue Nov 27 00:12:16 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,
OLAP, Data Mining,
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses ZHS16GBK character set (possible charset conversion)
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user BPPF_EAS
. exporting PUBLIC type synonyms
EXP-00008: ORACLE error 904 encountered
ORA-00904: : invalid identifier
EXP-00000: Export terminated unsuccessfully
使用
expdp BPPF_EAS/ApNCNOZqGx directory=DATA_PUMP_DIR dumpfile=exp_bppf_tvs20121126.dmp schemas=BPPF_EAS logfile=exp_bppf_tvs20121126.log
换用expdp可以成功
尝试了几台服务器都遇到这个问题,暂时没有找到问题的原因问题已解决:
ORACLE error 904 问题是因为回收了public 的dbms_java执行权限,重新授予解决。
trace=y需要的权限问题: 应该需要grant dba to xxx; 单exp_full_database好像不行,下面是测试的情况
when the Data Pump TRACE parameter is used in Oracle10g Release 2 or higher, then the user who connects to the database and runs the export DataPump job needs to have the DBA role or the EXP_FULL_DATABASE role (the same applies to Import DataPump with TRACE parameter: DBA or IMP_FULL_DATABASE role required), e.g.:
GRANT exp_full_database TO scott;
-- or:
GRANT dba TO expdp_role;
测试:
oracle@linux:~/mouse> sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 5 07:23:00 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> conn /as sysdba
Connected.
SQL> drop user mouse cascade;
User dropped.
SQL> create user mouse identified by mouse_2012
2 default tablespace users
3 temporary tablespace temp
4 quota unlimited on users ;
grant connect to mouse;
grant resource to mouse;
grant select any table to mouse;
grant select any dictionary to mouse;
grant exp_full_database to mouse;
User created.
SQL>
Grant succeeded.
SQL>
Grant succeeded.
SQL>
Grant succeeded.
SQL>
Grant succeeded.
SQL>
Grant succeeded.
SQL>
SQL>
SQL> conn mouse/mouse_2012
create table test as select * from dba_users;Connected.
SQL>
Table created.
SQL> !
oracle@linux:~/mouse> exp mouse/mouse_2012 tables=test file=test.dmp feedback=100000 buffer=10000000 indexes=y triggers=y trace=y;
Export: Release 11.2.0.1.0 - Production on Wed Dec 5 07:24:35 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
EXP-00056: ORACLE error 1031 encountered
ORA-01031: insufficient privileges
EXP-00000: Export terminated unsuccessfully
oracle@linux:~/mouse> exit
exit
SQL> conn /as sysdba
Connected.
SQL> grant dba to mouse;
Grant succeeded.
SQL> !
oracle@linux:~/mouse> exp mouse/mouse_2012 tables=test file=test.dmp feedback=100000 buffer=10000000 indexes=y triggers=y trace=y;
Export: Release 11.2.0.1.0 - Production on Wed Dec 5 07:24:50 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses ZHS16GBK character set (possible charset conversion)
About to export specified tables via Conventional Path ...
. . exporting table TEST
33 rows exported
Export terminated successfully without warnings
继续跟踪 -
Oracle error - ociexecute(): OCIStmtExecute: ORA-01858
Using PHP 4.3.11 on Linux and ADODB data abstraction library.
Oracle client version is 10.1.
Can sucessfully connect to remote database (version 9.2.0.6 NLS_LANG AL32UTF8).
When doing a simple select from a view:
select RTS_LOAD from VW_R_PROJECTED_LOAD_OUTPUT
I get the error message:
ociexecute(): OCIStmtExecute: ORA-01858: a non-numeric character was found where a numeric was expected in /opt/devftp/var/www/php/adodb/461/drivers/adodb-oci8.inc.php on line 942
1858: ORA-01858: a non-numeric character was found where a numeric was expected
If in my PHP script I directly query the underlying table that this Oracle view is based on, I have no problem.
Using SQLPlus on the web server I don't have any problems at all selecting from the view, it is definitely a valid view.
Any clues? If so please email as well as posting response here.
Geoff
[email protected]Hi !
I think Your view has to_date function in its definition, and this to_date is called without second parameter: date format. Probably NLS_DATE_FORMAT is set to different values in SQL*Plus and PHP environment. You can check it out by running
select * from v$nls_parameters;
in SQL*Plus and in PHP.
If there are two different values You should modify view to use to_date in form: to_date(some_date_string, poroper_date_format)
Regards,
Pawel -
Whats the Solution of Oracle Error on server ORA-12699 kindly he
Dear All.
Kindly give the solution of ORA-12699
PAVAN GARG
www.srgcomputer.comIt depends where You are seeing this error and are there any other errors as well.
Simple explanation is:
12699, 00000, "Native service internal error"
// *Cause: An internal error occurred in the native services component.
// *Action: Enable tracing to determine the exact error. Contact Oracle
// Customer Support.
And as You can clearly see from err description - Contact Oracle Support. -
Oracle errors frm-40508 &ora-02291
hello
i m having a problem
i have two tables for my project with one of em master and the other a detail one
i m using developer 2000 for frontend
when i try inserting data in the forms developed i encounter an error frm-40508 which says "unable to insert record" the corresponding ora error is ora-02291 which says "integrity constraint violated - parent key not found"
i have a primary key in my master table which is used to connect it to details table through foreign key.feilds for the primary key in master and foreign key in details are same
i dont have any such problem if i input data through sql command insert
plz suggest me some solution to this problem
thnx
nipunHi,
Just try watching is therer ar no unique indexes on that table where u are doing an insert. another reason might be the composite primary key or the combination that might be confusing you.
U can try out adding an exception block to the trigger and try raise when-dup-val-on-index exception
Thanks,
Vishal -
ORA-01578: ORACLE data block corrupted (file # 1, block # 53713)
When i tried to export data from db (Oracle 11g, 64bit on Linux)
Im getting following error
About to export specified users ...
. exporting pre-schema procedural objects and actions
EXP-00008: ORACLE error 604 encountered
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 1, block # 53713)
ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
EXP-00083: The previous problem occurred when calling EXFSYS.DBMS_EXPFIL_DEPASEX P.schema_info_exp
EXP-00008: ORACLE error 604 encountered
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 1, block # 55497)
ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_i nfo_exp
. exporting foreign function library names for user WB_APP_MANAGER
. exporting PUBLIC type synonyms
EXP-00008: ORACLE error 604 encountered
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 1, block # 44638)
ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
EXP-00000: Export terminated unsuccessfully
I donot understand how to solve this issue Please help me to solve this issue..
Thanks891620 wrote:
When i tried to export data from db (Oracle 11g, 64bit on Linux)
Im getting following error
About to export specified users ...
. exporting pre-schema procedural objects and actions
EXP-00008: ORACLE error 604 encountered
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 1, block # 53713)
ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
EXP-00083: The previous problem occurred when calling EXFSYS.DBMS_EXPFIL_DEPASEX P.schema_info_exp
EXP-00008: ORACLE error 604 encountered
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 1, block # 55497)
ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_i nfo_exp
. exporting foreign function library names for user WB_APP_MANAGER
. exporting PUBLIC type synonyms
EXP-00008: ORACLE error 604 encountered
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 1, block # 44638)
ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
EXP-00000: Export terminated unsuccessfully
I donot understand how to solve this issue Please help me to solve this issue..
Thanksrun dbv against '/u02/oradata/RSDB1/system01.dbf'
& post results back here
dbv
DBVERIFY: Release 11.2.0.1.0 - Production on Fri Oct 14 20:39:11 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Keyword Description (Default)
FILE File to Verify (NONE)
START Start Block (First Block of File)
END End Block (Last Block of File)
BLOCKSIZE Logical Block Size (8192)
LOGFILE Output Log (NONE)
FEEDBACK Display Progress (0)
PARFILE Parameter File (NONE)
USERID Username/Password (NONE)
SEGMENT_ID Segment ID (tsn.relfile.block) (NONE)
HIGH_SCN Highest Block SCN To Verify (NONE)
(scn_wrap.scn_base OR scn) -
ORA-01578: ORACLE data block corrupted
Dera Guru's,
In SAP i have following error in Oracle Database
SQL error in the database when accessing a table
"Database error text........: "ORA-01578: ORACLE data block corrupted (file #
38, block # 72576) ORA-01110: data file 38:
'K:\ORACLE\D01\SAPDATA4\D01_12\D01.DATA12'"
How can i resolve it.Please guide me...
Thank you for your help and advice....Error: ORA-01578 (ORA-1578)
Text: ORACLE data block corrupted (file # %s, block # %s)
Cause: The data block indicated was corrupted, mostly due to software errors.
Action: Try to restore the segment containing the block indicated. This
may involve dropping the segment and recreating it. If there
is a trace file, report the errors in it to your ORACLE
representative.
Do you already identify the object corrupted ?
What kind of backup do you have ?
Edited by: marcopb on Sep 10, 2012 2:47 PM -
ORA-06540,following statement failed with ORACLE error 6540:
I was working during the last days on doing a full export/import for the database 9i I used the following script for the export .
exp system/**** full=y file=/export/export.dmp log=/export/export.log consistent=y statistics=estimate buffer=200000
And everything went fine, after that I dropped all the objects owners belonging to the tablepaces as i am doing that to solve fragmentation problems
The issue is during the import and after 50% of the tables were exported successfully I started to receive the following error
ORA-06540: PL/SQL: compilation error
ORA-06553: PLS-123: program too large
IMP-00017:
"DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C2020E'; SREC.MAXVA"
"L := 'C26338'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STA"
"TS.NUMARRAY(113,9855); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC :="
" 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"GL_ACCOUNT_ID"', NULL"
" ,NULL,NULL,1432,.000698324022346369,0,srec,4,2); END;"
IMP-00003: ORACLE error 6540 encountered
ORA-06540: PL/SQL: compilation error
ORA-06553: PLS-123: program too large
IMP-00017: following statement failed with ORACLE error 6540:
"DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C2020B'; SREC.MAXVA"
"L := 'C2031F'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STA"
"TS.NUMARRAY(110,230); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := "
"2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"COMMON_COA_ID"', NULL "
",NULL,NULL,14,.0714285714285714,0,srec,4,2); END;"
IMP-00003: ORACLE error 6540 encountered
ORA-06540: PL/SQL: compilation error
ORA-06553: PLS-123: program too large
IMP-00017: following statement failed with ORACLE error 6540:
"DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C202'; SREC.MAXVAL "
":= 'C20233'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS"
".NUMARRAY(100,150); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2;"
" DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"CONSOLIDATION_CD"', NULL"
" ,NULL,NULL,2,.5,0,srec,4,2); END;"
IMP-00003: ORACLE error 6540 encountered
the used script for import is
imp system/****** full=y rows=y file=/export/export.dmp log=/export/ofsaimport2.log buffer=20000000
Please note that all the tables and indexes are imported successfully even after the error started to show.
Is it something serious, should I do the import again with statistics=none or I am just fine now and it something that is just related for the statistics.Is really "fragmentation" an issue to justify this table movement? Why do you want to "defragment" your schema? Is it because of performance issues? If this is the case you are wasting your time, if you tried to rebuild the indexes by this procedure, it is also a waste of time. If you are concerned about fragmentation because of "holes" and "islands" of unused space within segments and unused space below the HWM, that is something different, in my personal jargon, I'd rather use the term space reorganization.
If the data import was successful, then take a look at the dba_objects and verify if the program unit is still there and check its status.
You may also want to take a look at this note from AskTom that explains what this error means --> http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:571023051648
~ Madrid
http://hrivera99.blogspot.com -
Export Failing with EXP-00008: ORACLE error 1031 encountered and ORA-01031:
HI Folks,
I am trying export the 11.2.0.2.0 database using export 'exp' utility.I am getting below errors while exporting with my 'sa' user. I am below role privileges for the 'sa' user. The export from the same kind of priivileged user in other Database is working.
1* select * from dba_role_privs where grantee='SA' order by 2
SQL> /
GRANTEE GRANTED_ROLE ADM DEF
SA ACCOUNT_CREATOR NO YES
SA APPLICATION_CREATOR YES YES
SA APPLICATION_DBA NO YES
SA APPLICATION_DEVELOPER YES YES
SA APPLICATION_USER NO YES
SA AQ_ADMINISTRATOR_ROLE NO YES
SA CLARIFY_ADMINISTRATOR YES YES
SA CLARIFY_REPORTER YES YES
SA CLARIFY_USER YES YES
SA CONNECT YES YES
SA EXECUTE_CATALOG_ROLE NO YES
SA GATHER_SYSTEM_STATISTICS NO YES
SA MOB_CONNECT YES YES
SA SCHEDULER_ADMIN NO YES
SA SELECT_CATALOG_ROLE YES YES
(hidh403)/opt/app/adba/crmdb()> exp sa/fre9shen@t1crm9d2 file=sample.dmp log=sample.log
Export: Release 11.2.0.2.0 - Production on Tue Jan 31 12:55:22 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Tes
Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user SA
. exporting PUBLIC type synonyms
EXP-00008: ORACLE error 1031 encountered
ORA-01031: insufficient privileges
EXP-00000: Export terminated unsuccessfullyYes, I do agree.But when i compared with the other database where i am able to export it doesn't have the 'EXPORT_FULL_DATABASE' privs.
SQL> select * from role_role_privs;
ROLE GRANTED_ROLE ADM
HS_ADMIN_ROLE HS_ADMIN_SELECT_ROLE NO
ACCOUNT_CREATOR APPLICATION_USER YES
APPLICATION_DBA APPLICATION_OEM_TUNE NO
APPLICATION_DBA ACCOUNT_CREATOR NO
EXECUTE_CATALOG_ROLE HS_ADMIN_ROLE NO
HS_ADMIN_ROLE HS_ADMIN_EXECUTE_ROLE NO
APPLICATION_DBA APPLICATION_DEVELOPER YES
SELECT_CATALOG_ROLE HS_ADMIN_ROLE NO
APPLICATION_DBA APPLICATION_USER YES
SELECT_CATALOG_ROLE HS_ADMIN_SELECT_ROLE NO
EXECUTE_CATALOG_ROLE HS_ADMIN_EXECUTE_ROLE NO
ROLE GRANTED_ROLE ADM
APPLICATION_DBA APPLICATION_CREATOR YES -
Getting Oracle error ORA-00000
Hello All,
After running the PRO*C file some times I am getting the error.( It happen some times not always)
Error: You have encountered Oracle error #: 00000
Steps: ORA-00000 is supposed to be a successful completion through...?
Could any body suggest why I am getting this error?
Welcome any suggestion.
Regards
SUNcan you ask it in the rdbms or pro-c - forum?
General Database Discussions -
ORA-01578: How can I fix it?
My Oracle 8.1.5 database crashed today with error ORA-01578:
ORA-01578: ORACLE data block corrupted (file # 2, block # 699)
ORA-01110: data file 2: '/oracle/u02/oradata/ORCL/rbs01.dbf'
How can I fix this error? I shut down the database, but it does not restart, so I cannot log in with sqlplus.
Thank you in advance for your help.
Mike WahlerIf this is a Rollback segments tablespace as evidence suggest, and you do not have backups, you can drop the RBS tablespace and create a new.
Start by commenting out the rollback segments in the initXXX.ora file for the database.
run svrgmrl
connect internal
shutdown immediate;
startup mount;
alter database datafile
'/oracle/u02/oradata/ORCL/rbs01.dbf' offline drop;
alter database open;
!rm /oracle/u02/oradata/ORCL/rbs01.dbf
drop tablespace RBS;
create tablespace RBS datafile '/oracle/u02/oradata/ORCL/rbs01.dbf' size <number> M;
(repeat this for all rollback segments mentioned in the init.ora file replaceing r01)
create rollback segment r01 tablespace RBS storage (initial 1 M next 1M);
Uncomment the rollback segments line in init.ora and shutdoen and startup again.
Regards
Yngvi
Maybe you are looking for
-
Trying to Import my iTunes Library Retrieved from a Crashed Mac on my New Mac
Hi all, My old mac laptop crashed and I had the contents of it transferred to my new MacBookPro laptop. My itunes folder from the old mac laptop is now on my new laptop's desktop but I can't find a way to import my old itunes library to the new one.
-
How to set up Bonding on CentOS 6.2 with Linux Integration Services 3.4
Having a hard time setting up bonding to work on a vm running CentOS 6.2. LinuxICv34.iso is installed. Using three network adapters. Prior to os install I configured the three Network Adapters with the following settings: ***Via Virtual Switch Manag
-
Windows 7 Driver for HP 1215 Photosmart Printer
I've just bought a Windows 7 laptop, and followed these instructions for installing a printer driver for my HP Photosmart 1215 printer. However, the printer is on the network, attached to my desktop computer. I'm having no success adding it as a ne
-
How can I find out the number of pixels a photo has in i photo.
How can I find out the number of pixels a photo has in iphoto.
-
Since I installed Mavericks I have lost the comforting whooosh I used to get when mail is sent. And I cant find anything in the preferences to get it back.