Oracle Troubleshooting
文章平均质量分 75
Dave
The important thing in life is to have a great aim and the determination to attain it !
展开
-
Redo Log 和Checkpoint not complete
首先我们来看下 alertSID.log 日志: Mon Nov 30 17:31:54 2009Thread 1 advanced to log sequence 14214 (LGWR switch) Current log# 3 seq# 14214 mem# 0: /u03/oradata/newccs/redo03.logMon Nov 30 17:原创 2009-11-30 19:39:00 · 20910 阅读 · 2 评论 -
Oracle 9i EXP XDB.DBMS_XDBUTIL_INT must be declared
An export from an Oracle9i database fails with:.... exporting triggersEXP-00056: ORACLE error 6550 encounteredORA-06550: line 1, column 26:PLS-00201: identifier XDB.DBMS_XDBUTIL_INT must be dec转载 2010-04-16 09:09:00 · 8271 阅读 · 0 评论 -
VMWare的The network bridge on device VMnet0 is not running故障解决
今天虚拟机的网络出现问题重装装完后发现运行时提示:The network bridge on device VMnet0 is not running. The virtual machine will not be able to communicate with the host or with other machines on your network. Virtual device转载 2010-04-20 18:16:00 · 8678 阅读 · 0 评论 -
Oracle 9i ORA-04062 timestamp of package SYS DBMS_SNAPSHOT_UTL has been changed ORA-06512 at SYS DBMS_SNAPSHOT
群里有个朋友问了个问题,Oracle 9i 的数据库,Job 执行失败,物化视图刷新报错。 错误信息如下:ORA-04068: existing state of packages has been discardedORA-04062: of has been changedORA-04062: timestamp of package "SYS.DBMS_SNAPSHOT_U原创 2010-04-23 14:54:00 · 10634 阅读 · 0 评论 -
函数索引 ORA-30553: The function is not deterministic 解决方法
建函数索引的时候报错:ORA-30553: The function is not deterministic, 这个函数是自定义的。SQL>create index mobileIndex on mobile(getmobilearea (callerno));Google 一下:ORA-30553:The functi原创 2010-04-26 18:30:00 · 6896 阅读 · 0 评论 -
ORA-16014: log string sequence# string not archived, no available destinations Flash Recovery Area 空间不足
今天一网友问我一个问题,数据库报错,错误信息如下: Errors in file e:/oracle/product/10.2.0/admin/orcl/bdump/orcl_arc0_5620.trc:ORA-16014: log 2 sequence# 195 not archived, no available destinationsORA-00312: online原创 2010-04-28 09:35:00 · 8605 阅读 · 0 评论 -
How to Deinstall and Reinstall XML Database ORA-04063 XDB.DBMS_XDBUTIL_INT
Csdn 论坛的一个朋友发了贴,说是exp 的时候报错。 错误信息如下:EXP-00056: ORACLE error 4063 encounteredORA-04063: package body "XDB.DBMS_XDBUTIL_INT" has errorsORA-06508: PL/SQL: could not find program unit being called: "X原创 2010-05-13 16:56:00 · 11973 阅读 · 4 评论 -
ORA-16019 和 ORA-16018 错误的处理方法
<br /><br />一. ORA-16019 和 ORA-16018 错误产生描述<br /><br />同事在修改归档目录,一不小心把参数设置错误了, 他设置的是log_archive_dest参数。 这个参数和默认log_archive_dest_n 和 DB_RECOVERY_FILE_DEST是冲突的。也就是说, 只能用一个。 先看相关的代码来说明这个问题。 <br /><br />SQL> show parameter log_archive_dest<br />NAME原创 2010-08-02 14:20:00 · 11290 阅读 · 0 评论 -
How to Proceed from Failed Upgrade to 11gR2 Grid Infrastructure (CRS) [ID 969254.1]
<br />How to Proceed from Failed Upgrade to 11gR2 Grid Infrastructure (CRS) [ID 969254.1]<br /> <br />Modified 10-OCT-2010 Type HOWTO Status PUBLISHED<br /> <br />In this Document<br /> Goal<br /> Solution<br /> Failure before rootupgrade.sh原创 2010-11-17 00:44:00 · 10318 阅读 · 0 评论 -
ORA-15077 PROC-26 CRSD Fails During CRS Startup on 11gR2 [ID 1152583.1]
<br />ORA-15077 PROC-26 CRSD Fails During CRS Startup on 11gR2 [ID 1152583.1]<br /> <br />Modified 04-AUG-2010 Type PROBLEM Status PUBLISHED<br /> <br />In this Document<br /> Symptoms<br /> Changes<br /> Cause<br /> Solution<br /> ReferencesA原创 2010-11-17 00:52:00 · 10406 阅读 · 0 评论 -
How to Delete or Add Resource in 11gR2 Grid Infrastructure [ID 1069369.1]
<br />How to Delete or Add Resource in 11gR2 Grid Infrastructure [ID 1069369.1]<br /> <br />Modified 10-OCT-2010 Type HOWTO Status MODERATED<br /> <br />In this Document<br /> Goal<br /> Solution<br /> References<br />This document is being deli原创 2010-11-17 00:54:00 · 4624 阅读 · 0 评论 -
What to Do if 11gR2 Clusterware is Unhealthy [ID 1068835.1]
<br />What to Do if 11gR2 Clusterware is Unhealthy [ID 1068835.1]<br /> <br />Modified 08-JUL-2010 Type BULLETIN Status PUBLISHED<br /> <br />In this Document<br /> Purpose<br /> Scope and Application<br /> What to Do if 11gR2 Clusterware is Unh原创 2010-11-17 00:49:00 · 11712 阅读 · 0 评论 -
How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation [ID 942166.1]
<br />How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation [ID 942166.1]<br /> <br />Modified 10-OCT-2010 Type HOWTO Status MODERATED<br /> <br />In this Document<br /> Goal<br /> Solution<br /> Deconfigure and Reconfigure原创 2010-11-17 00:56:00 · 10038 阅读 · 0 评论 -
How to Troubleshoot Grid Infrastructure Startup Issues [ID 1050908.1]
<br />How to Troubleshoot Grid Infrastructure Startup Issues [ID 1050908.1]<br /> <br />Modified 11-OCT-2010 Type HOWTO Status PUBLISHED<br /> <br />In this Document<br /> Goal<br /> Solution<br /> Start up sequence:<br /> Cluster status<原创 2010-11-17 00:59:00 · 25553 阅读 · 0 评论 -
RAC root.sh Configuration of ASM failed Command return code of 1 (256) from command 解决方法
<br /> <br /> <br />Oracle 11gR2 RAC 安装,在第二个节点执行root.sh 脚本的时候,报错。 log 日志如下:<br /> <br />2010-11-14 00:43:36: CRS-2672: Attempting to start 'ora.gipcd' on 'rac2'<br />2010-11-14 00:43:36: CRS-2672: Attempting to start 'ora.mdnsd' on 'rac2'<br />2010-11-14 0原创 2010-11-14 02:01:00 · 11493 阅读 · 0 评论 -
Redhat 下ASM 11.2.0.1 oracleasm deletedisk - Clearing disk header failed 的解决方法
<br /> <br />在虚拟机上搭建Oracle 11gR2 的RAC。安装Clusterware的时候出了一点错误。所以强行把Clusterware 给删除了。清除了相关的目录和文件。因为11gr2 的OCR是存放在ASM上的,所以需要清除这部分信息。<br /> <br /> <br />[root@rac2 ~]# oracleasm listdisks<br />CRS<br />DATA<br />FRA<br />[root@rac2 ~]# oracleasm deletedisk CRS原创 2010-11-13 20:51:00 · 9428 阅读 · 0 评论 -
Linux 平台下 误删 oracle 数据文件的恢复方法
1 问题描述 之前写过一篇删除oracle home目录的blog,参考:Linux 平台误删 home oracle 根目录的解决方法http://blog.csdn.net/tianlesoftware/article/details/43794273 本篇是这边的引深,本来应该是年前整理的,拖到年后了。 模拟现状: 数据库在正常运行,误操作,直接rm 掉了数据文件。 测试环境: [原创 2015-03-05 14:36:54 · 15949 阅读 · 8 评论 -
expdp 导出 ORA-31638 ORA-25448 错误处理
expdp 导出报如下错误: [oracle@dg1 ~]$ expdp directory=backup dumpfile=user.dmplogfile=user.log schemas=dave Export: Release 11.2.0.3.0 - Production onThu Aug 28 00:28:34 2014 Copyright (c) 1982, 2011, Oracl原创 2015-03-05 11:52:42 · 14045 阅读 · 0 评论 -
oracle 11gR2 RAC root.sh 错误 ORA-15072 ORA-15018
<br /> <br /> Oracle 11gR2 RAC 安装Clusterware 结束,在第二个节点执行root.sh脚本的是报如下错误:<br /> <br />DiskGroup DATA1 creation failed with the following message:<br />ORA-15018: diskgroup cannot be created<br />ORA-15072: command requires at least 1 regular failure原创 2010-11-11 03:25:00 · 14318 阅读 · 0 评论 -
Linux 平台误删 home oracle 根目录的解决方法
1 背景说明 正常情况下,我们在安装Oracle数据库的时候,都会创建一个oracle的用户。 其根目录就是/home/oracle. 并且根据Oracle 的OFA的架构,也是建议使用/u01 这样的目录来单独安装oracle的软件,包括存放数据文件。 关于OFA可以参考如下连接:Oracle OFA(Optimal Flexible Architecture)说明http:/原创 2015-02-13 14:49:41 · 18792 阅读 · 1 评论 -
Oracle 配监听 hang 住的问题
<br /> <br />做Oracle Data Guard 的实验。 2个节点,一个节点配置监听没有问题。在另一个节点。执行任何与监听有关的命令都是hang住。如:lsnrctl stop/start/status, 还有就是运行netmgr和netca的时候。 表现在命令没有反应。<br /> <br /> <br />[oracle@dg1 network]$ lsnrctl status<br />LSNRCTL for Linux: Version 10.2.0.1.0 - Productio原创 2010-11-04 18:25:00 · 5415 阅读 · 0 评论 -
Oracle 10g impdp 报 ORA-7445 [_INTEL_FAST_MEMCPY.A] 解决方法
在Oracle 10.2.0.4 以后的平台,我们在使用数据泵导入物化视图时,可能会遇到如下错误: ...ksedmp: internal or fatal errorORA-7445: exception encountered: core dump [_intel_fast_memcpy.A()+10] [SIGSEGV] [Address not mapped to object] [0x0原创 2012-07-31 22:07:53 · 7186 阅读 · 1 评论 -
ORA-00600:[32695], [hash aggregation can't be done] 解决方法
一.问题描述数据库报错,看了一下alertlog,主要重复如下内容: Wed Jul 25 17:47:18 2012Errors in file /oracle/admin/etldb/udump/etldb_ora_15674.trc:ORA-07445: exception encountered: core dump [kghssgdmp()+273] [SIGFPE] [Integerd原创 2012-07-26 20:07:14 · 9267 阅读 · 0 评论 -
Oracle cp: cannot stat `/DISCARD/': No such file or directory 说明
在Redhat 5.4 上安装Oracle 10.2.0.1的Database,结果在51%的时候一直卡住,查看Log 是一直停在: cp: cannot stat `/DISCARD/': No such fileor directory 但是过了一段时间之后,就会跳过。总之Link 的过程非常长,期间我还看了一部电影,之前遇到过因为缺少RPM包导致link 失败的问题,所以这次也检查了一下原创 2012-07-21 17:20:25 · 14543 阅读 · 0 评论 -
Oracle 10g Rac root.sh Failure at final check of Oracle CRS stack 10 解决方法
一.问题说明 安装环境:Oracle linux 6.1 数据库: 10.2.0.1 安装Oracle 10g的RAC,在第一个节点执行root.sh 时报错,如下: [root@rac1 ~]# /u01/app/10.2.0/grid/root.shWARNING: directory '/u01/app/10.2.0' is notowned by rootWARNING: director原创 2012-07-21 14:44:02 · 12546 阅读 · 0 评论 -
Oracle ORA-1122, ORA-1110, ORA-1207 file is more recent than control file 处理方法
在启动数据库的时候,我们可能会遇到如下错误:ORA-1122 :database file %s failedverification checkORA-1110 : datafile : ORA-1207: ORA 1207 file is more recent thancontrol file ORA-1207的主要原因是因为数据库突然掉电,在重启的时候,就会容易遇到这种错误。 MOS上对这原创 2012-07-16 22:19:42 · 8008 阅读 · 0 评论 -
Oracle 11g RAC ohasd failed to start at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 443 解决方法
一.问题描述在Oracle Linux 6.1 上安装11.2.0.1 的RAC,在安装grid时执行root.sh 脚本,报错,如下: [root@rac1 bin]#/u01/app/11.2.0/grid/root.shRunning Oracle 11g root.sh script... The following environment variables are setas: O原创 2012-06-27 20:07:01 · 46488 阅读 · 5 评论 -
Oracle 11gR2 RAC root.sh Deconfigure the existing cluster configuration 解决方法
Oracle 11.2.0.1 的 RAC,运行root.sh时报错,如下: [root@rac1 oracle]#/u01/app/11.2.0/grid/root.sh Running Oracle 11g root.sh script... The following environment variables are setas: ORACLE_OWNER= oracle ORAC原创 2012-06-27 20:01:33 · 9292 阅读 · 1 评论 -
Oracle RAC root.sh 报错 Timed out waiting for the CRS stack to start 解决方法
一.问题描述 在Oracle Linux 6.1 上安装11.2.0.1的RAC,在第二个节点执行root.sh时,报time out,如下:[root@rac2 ~]# /u01/app/11.2.0/grid/root.shRunning Oracle 11g root.sh script... The following environment variables are setas:原创 2012-06-27 19:56:39 · 14369 阅读 · 0 评论 -
Oracle 11g RAC INS-06006 Passwordless SSH connectivity not set up between the following node(s) 解决方法
一.问题描述 在VBox 上安装Oracle 11.2.0.1 的RAC, 在SSH 配置时报错:INS-06006: Passwordless SSHconnectivity not set up between the following node(s) 注意:这里奇怪的表现是我们setup是成功,仅仅是Test原创 2012-06-26 20:47:20 · 28171 阅读 · 1 评论 -
Oracle Row-X(SX) 锁 引起的问题 说明
Row-X(SX)锁在Oracle的锁中级别是3,是行级排它锁,即在提交前不允许做DML操作 Insert、Update、 Delete、Lock row share。 关于Oracle 锁的说明,更多内容参考: ORACLE 锁机制http://blog.csdn.net/tianlesoftware/article/details/4696896 这里要说的的是Row-X(SX)锁引起的问题,原创 2012-06-07 05:57:30 · 9595 阅读 · 0 评论 -
Linux 平台 Oracle 安装 报错 Check if the DISPLAY variable is set 解决方法
在Oracle Linux 6.1 上安装Oracle 11.2.0.3, 在运行runInstaller 时报错。 具体如下:[root@dave mnt]# xhost +access control disabled, clients canconnect from any host[root@dave mnt]# su - oracle[oracle@dave ~]$ cd /u01/so原创 2012-04-13 21:30:27 · 33263 阅读 · 5 评论 -
Oracle 存储过程 无法编译 解决方法
昨天整理了一下shutdown过程中db hang住的问题,参考:Oracleshutdown 过程中 DBhang住 解决方法http://blog.csdn.net/tianlesoftware/article/details/7407587 今天同事修改存储过程又导致2个过程无法被编译,流程规范上的东西,Dave 这里不多说,看看怎么解决问题。 1. 查看无效对象XEZF@xezf(原创 2012-03-30 18:02:07 · 19872 阅读 · 1 评论 -
Oracle shutdown 过程中 DB hang住 解决方法
一.故障处理过程数据库版本:Oracle10.2.0.5.4操作系统: Redhat5.4 中午同事对表添加字段,然后造成70多个存储等对象无效,系统不能正常运行,查看了一下同事添加字段的表,并没有锁没有释放。 尝试编译无效对象,部分可以编译,部分不能编译,对象一直处于编译状态。Kill掉其他的session 后也是无法编译,因为影响业务,决定重启数据库。 --关闭DB:[oracl原创 2012-03-29 15:57:44 · 11858 阅读 · 1 评论 -
ASM 实例 ORA-15063 ORA-15186 ASMLIB error function = [asm_open], error = [1], mesg = [Operation not p
<br /> <br /> <br /> 装RAC时,用DBCA命令创建了ASM 实例,之后创建diskgroup的时候,有一个节点的diskgroup 挂不上,看了下日志,错误如下:<br /> <br />ORA-15186: ASMLIB error function = [asm_open], error = [1], mesg = [Operation not permitted]<br /> <br />ORA-15063: ASM discovered an insuf原创 2011-03-24 18:30:00 · 8511 阅读 · 0 评论 -
redhat 5.4 下 Oracle RAC 报 raw 设备大小 错误
<br /> <br />在Redhat 5.4 上安装oracle 10g的RAC。在安装Clusterware 的时候,出现错误:<br /> <br /> <br /> <br /><br /> Raw 设备的大小肯定是没有问题,因为我分配的raw 是200M一个,但是它只识别了16M。 配置文件就那么几步,看了几遍都没有发现问题。google 百度也没有什么有价值的信息。<br /><br /> <br />磁盘分区大小:<br />[root@rac1 raw原创 2010-09-08 22:08:00 · 9348 阅读 · 0 评论 -
RAC srvctl 命令报 libpthread.so.0 cannot open shared object file No such file or directory 解决方法
<br /> <br /> <br />运行srvctl 命令报错:<br />[oracle@rac1 u01]$ srvctl remove asm -n rac1 <br />/u01/app/oracle/product/10.2.0/db_1/jdk/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or direct原创 2011-03-22 20:58:00 · 10293 阅读 · 2 评论 -
RAC 安装 Actual Result Unknown Host Exception has Occurred 错误解决方法
<br /> <br /> <br />安装RAC Clusterware,在验证的时候,有2个没有通过,内容如下:<br /> <br />Checking local Cluster Synchronization Services (CSS) status ...<br />Actual Result: Unknown Host Exception has Occurred :60.191.124.236.<br />Check complete. The overall result of this原创 2011-03-22 17:23:00 · 6186 阅读 · 0 评论 -
Current online Redo 和 Undo 损坏的处理方法
Oracle 不同故障的恢复方案http://blog.csdn.net/tianlesoftware/archive/2010/12/30/6106178.aspx Oracle undo 表空间管理http://blog.csdn.net/tianlesoftware/archive/2010/07/11/5689558.aspx 上面的2篇Blog 讲到了Oracle 一些故原创 2011-03-19 17:47:00 · 15080 阅读 · 3 评论 -
由 ORA-01536: space quota exceeded for tablespace 引出的研究
研发的同事说建表时数据库报错:ORA-1536 [oracle@localhost ~]$ oerr ora 153601536, 00000, "space quota exceededfor tablespace '%s'"// *Cause: The space quota for the segment owner in the tablespace has// been原创 2011-12-01 13:43:26 · 10109 阅读 · 0 评论