
Oracle Troubleshooting
文章平均质量分 79
冰释镜湖
DBA at Huawei since 2015.6, Focus on Oracle/MySQL/Redis/MongoDB/PaaS/Kubernetes/Docker/RDS;
Senior Oracle DBA at Oracle until 2015.6
展开
-
netca 配置监听遇 use another port number:the information provided for this listener is currently in use 提
use another port number:the information provided for this listener is currently in use by other software on this computer.you can proceed with the configuration as it is ,but it will notbe possi原创 2013-03-03 23:35:14 · 15361 阅读 · 0 评论 -
Oracle GoldenGate 系列:Extract 进程遇长事务执行 Forcestop 引发的惨案
一、问题描述:2013年4月14日中午12点左右生产环境执行数据库版本升级期间根据需要停止XX1库和XX2库OGG 同步抽取进程时遇长事务,无法用正常命令停止,执行 forcestop 后重启进程报 OGG-00446 错误,无法启动。错误如下:2013-04-14 19:30:28 ERROR OGG-00446 Opening ASM file+FRA/bjschxsb/1_71原创 2013-04-15 23:34:57 · 10717 阅读 · 6 评论 -
OGG-01091 Unable to open file (error 89, Invalid file system control data detected)
Replicat 进程报 OGG-01091 错误 Abended,无法正常启动,详情如下: GGSCI (cqstzjdbjc01) 3> view report RCQSTJC1Source Context : SourceModule : [ggapp.util.pcs] SourceID :[/scratch/ai原创 2013-04-22 23:33:44 · 7919 阅读 · 0 评论 -
Oracle GoldenGate 系列:Replicat 进程遇 OCI Error ORA-14402 错误解决办法
生产环境发票管理库到总局主数据库 Replicat 进程因报如下错误 Abended:2013-04-25 07:59:50 WARNING OGG-00869 OCI Error ORA-14402: updating partition keycolumn would cause a partition change (status = 14402). UPDATE"HX_FP"."F原创 2013-04-25 23:03:24 · 5253 阅读 · 1 评论 -
Oracle GoldenGate 系列:配置 Data Pump 进程实现多点传输
RMTHOSTValid for ExtractUse the RMTHOST parameterto:● Identifya remote system to which the local Extract process connects● Specifythe TCP/IP port number on that system where the Manager proces原创 2013-05-14 23:10:50 · 3709 阅读 · 0 评论 -
OGG-00665 (status = 1502-ORA-01502: index 'index' or partition of such index is in unusable state)
今天同事在新搭建的压力测试环境启动某个 OGG replicat 进程时报了如下错误:2013-05-14 16:37:41 ERROR OGG-00665 OCI Error executing single row select (status = 1502-ORA-01502: index 'GGS.SYS_C00188744' or partition of such原创 2013-05-14 23:12:34 · 3855 阅读 · 0 评论 -
Oracle 11.2.0.3.0 Active Data Guard 遇 ORA-10458、ORA-01152、ORA-01110 错误
今天第一次配 Oracle 11g R2 Active Data Guard,在用 RMAN 创建好 physical standby database 后,尝试将 standby 以 read only 方式打开时遇如下错误:SQL> alter database open read only;alter database open read only*ERROR a原创 2013-06-12 10:05:10 · 6450 阅读 · 0 评论 -
GoldenGate Data Pump 进程 report 报 WARNING OGG-01223 Cannot find executable file './server' 无法启动
今天遇到一怪问题,纳服的哥们又打过来说我们的 data pump 进程没启动,导致数据无法同步到对端,因为以往 data pump 进程没启动原因很简单,总是报 WARNING OGG-01223 TCP/IP error 146 (Connection refused). 出现这种错误,要么是因为网络不通,要么是因为对端的 manager 进程未启动。和纳服哥们一起核实后发现该对端进原创 2013-06-19 09:48:00 · 5985 阅读 · 1 评论 -
Expdp For Metadata Is Slow In 11.2.0.3 With Partitioned Objects [ID 1466040.1]
Applies to:Oracle Server - Enterprise Edition - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]Information in this document applies to any platform.Symptoms- 11.2 Database with partitioned objec原创 2013-07-07 23:33:03 · 6514 阅读 · 0 评论 -
Bug 11775332 - cluvfy fails with PRVF-5636 with DNS response timeout error [ID 11775332.8]
Bug 11775332 cluvfy fails with PRVF-5636 withDNS response timeout error but error text is not clear Thisnote gives a brief overview of bug 11775332. The content was last updated on:17-JUN-2013原创 2013-06-23 10:18:13 · 4661 阅读 · 0 评论 -
OGG 01008 Extract displays Discarding bad record (discard recs=1) when using filter or where clause
Applies to:Oracle GoldenGate - Version 10.0.0.1 and laterInformation in this document applies to any platform.Symptoms 1. I am using filter or where clause in extract parameter file and原创 2013-07-05 09:46:43 · 2942 阅读 · 2 评论 -
How to cleanup orphaned Data Pump jobs in DBA_DATAPUMP_JOBS ?
The jobs used in this example:- Export job SCOTT.EXPDP_20051121 is a schema level export that is running- Export job SCOTT.SYS_EXPORT_TABLE_01 is an orphaned table level export job- Export job S原创 2013-07-27 22:51:36 · 10435 阅读 · 0 评论 -
Create Database With DBCA on 11.2.0.3, Fails with ORA-29516 (Doc ID 1450281.1)
In this Document Symptoms Changes Cause Solution ReferencesCreated from SR 3-5583555021[This section i转载 2014-01-24 19:37:07 · 8003 阅读 · 0 评论 -
OUI-67076 : OracleHomeInventory was not able to create a lock file" in Unix
Symptoms The command "opatch lsinventory" reports the error: OUI-67076:OracleHomeInventory was not able to create a lock file, probably due to a failed OPatch Session. The loaded inventory might not原创 2014-08-14 12:33:13 · 3293 阅读 · 0 评论 -
STARTUP Database failed ORA-38760 to turn on Flashback Database (Doc ID 1554596.1)
Applies to: Oracle Database - Enterprise Edition - Version 10.2.0.4 and laterInformation in this document applies to any platform.SymptomsThis is not RAC specific and could happen in Single Instances转载 2014-09-25 15:45:06 · 5287 阅读 · 0 评论 -
如何让 GoldenGate 在 trail 文件中记录数据库的 SCN 信息
如何让 GoldenGate 在 trail 文件中记录数据库的 SCN 信息通常情况下,Oracle GoldenGate 的 trail 文件中是不会包含数据库的 SCN 信息的,要在 trail 文件中记录此信息,必须在 Extract 进程参数中设置 TOKENS示例如下:--Normal extract mapping--TABLE scott.* ;--To原创 2013-03-22 23:46:50 · 3610 阅读 · 0 评论 -
在 Oracle 中如何确定远程 session 客户端的 IP 地址
在 Oracle 中如何确定远程 session 客户端的 IP 地址前几天,Daniel 所在的环境多个数据库发生了一件惨案:我们把所有数据库主机、数据库的密码更改后,硬件总集成的一台 windows 主机安装了一个 Oracle数据库监控工具,不断尝试利用错误的密码(有错有对)连接到我们的数据库中,导致生产环境多个数据库发生大量的 library cache lock 等待原创 2013-03-21 22:04:48 · 7400 阅读 · 1 评论 -
Ora-04031 问题诊断思路
--一、错误提示: > EXP-00008: ORACLE error 4031 encountered > ORA-04031: unable to allocate 4096 bytes of shared memory ("shared pool","BEGIN :EXEC_STR := SYS.DBMS...","PL/SQL MPCODE","BAMIMA: Bam Buff原创 2013-02-07 13:00:30 · 1313 阅读 · 0 评论 -
TNS 12560 错误解决办法
alert.log 错误 Fatal NI connect error 12170. VERSION INFORMATION: TNS for Solaris: Version 11.2.0.1.0 - Production Oracle Bequeath NT Protocol Adapter for Solaris: Version 11.2.原创 2013-02-05 00:34:00 · 8271 阅读 · 0 评论 -
Oracle 11.2.0.3 RAC环境 ORA-29280 错误解决办法
客户的11.2.0.3 RAC环境自动运行的JOB报错ORA-29280。详细错误信息为:Sat Sep 15 05:59:59 2012 VKRM started with pid=54, OS id=32622 Sat Sep 15 06:00:09 2012 Errors in file /opt/app/oracle/diag/rdbms/orcl/orcl1/原创 2013-02-05 00:30:08 · 2383 阅读 · 0 评论 -
Unix下安装Oracle或者Grid时/tmp空间不足的解决办法
[root@prod ~]# chown -R grid:oinstall /u01/tmp[root@prod ~]# chmod u+wr /u01/tmp[grid@prod grid]$ export TMP=/u01/tmp[grid@prod grid]$ export TMPDIR=/u01/tmp转载请注明出处及原文链接:http://blog.csdn原创 2013-02-04 23:51:00 · 1691 阅读 · 0 评论 -
利用NFS远程备份报 ORA-27054 错误解决办法
生产系统需要导出数据到一个NFS目录下报错bash-3.00$ expdp \'/ as sysdba\' directory=bak_data_pump_dir schemas=epm_ha dumpfile=epm_ha.dmp logfile=epm_ha.logExport: Release 10.2.0.4.0 - 64bit Production on Frid原创 2013-02-05 00:52:44 · 3180 阅读 · 0 评论 -
在虚拟机上安装 Oracle 11g RAC 过程中遇 SCAN Name 配置错误的处理办法
Cause?-?The plug-in failed in its perform method Action?-?Refer to the logs or contact Oracle Support Services. Log File Location/u01/app/oraInventory/logs/installActions2013-01-04_08-37-53PM.原创 2013-02-05 00:27:34 · 2531 阅读 · 0 评论 -
Oracle 10g 审计 (audit) 实验
1、AUDIT 的功能AUDIT 用于监控用户在 DATABASE 的 ACTION2、AUDIT 的分类SESSION:在同一个 SESSION,相同语句只产生一个 AUDIT 结果(默认)ACCESS:在同一个SESSION,每个语句产生一个 AUDIT 结果3、启用 AUDIT (默认不启用)SQL> SHOW PARAMETER AUDIT_TRAI原创 2013-02-28 19:03:18 · 3483 阅读 · 0 评论 -
AIX 上添加ASM磁盘组遇 ORA-15075 disk(s) are not visible cluster-wide 错误
今天下班前,准备给清分库AIX主机添加 ASM 磁盘组,因为手里没有任何操作文档,当时硬件厂商在系统层面添加完共享磁盘后,就直接上了。结果遇到如下错误:alter diskgroup DATA add disk '/dev/rhdisk13,/dev/rhdisk13' rebalance power 5;alter diskgroup DATA add disk原创 2013-03-13 23:34:45 · 7385 阅读 · 0 评论 -
Oracle Data Pump 工具系列:Data Pump 权限配置相关错误及解决办法汇总
与 Data Pump 权限相关的错误及解决办法:示例语句:> expdp scott/tiger DIRECTORY=my_dir DUMPFILE=exp_s.dmp \ LOGFILE=exp_s.log SCHEMAS=scott错误1:UDE-00008: operation generated ORACLE error 1045 ORA-0104原创 2013-03-02 10:43:01 · 6314 阅读 · 0 评论 -
Oracle DBCA 建库遇 ORA-21561: OID generation failed 错误解决办法
今晚使用 DBCA 建库的时候,进入如下界面后,把机器开着就去洗澡去了。结果洗完澡回来,发现进度条还是 2%,感觉不对劲,于是就进安装界面显示的安装日志看看,发现数据库报:ORA-21561: OID generation failed[oracle@prod dss]$ pwd/u01/app/oracle/cfgtoollogs/dbca/d原创 2013-03-03 00:35:13 · 10249 阅读 · 3 评论 -
从 ASM 中删除归档日志遇 ORA-15028 错误
今天一8点跑去中金校验数据,发现近期库(AIX6.1下4节点11gR2 RAC)的归档满了,数据库hang住,跑去问提前到的中间件的哥们,结果来了一句没发现什么异常……心凉了一截,这他妈我要是晚来一会,准出事啊,纳税人还不得急死……二话不说赶紧去先清清再说,切换到grid用户下,通过 asmcmd 用 os 命令连删除了两个文件夹结果删到第二个文件夹时,突然报错:ORA-15032:原创 2013-03-15 22:56:43 · 9068 阅读 · 0 评论 -
enq: FB - contention
select wait_class,name from v$event_name where name = 'enq: FB - contention';WAIT_CLASS NAME---------------------------- ------------------转载 2013-04-02 17:50:10 · 7066 阅读 · 0 评论 -
GoldenGate Director 疯狂发出 ggsci 命令致主数据库CPU使用率居高不下
今天早上 8 点多钟,发现主数据库 CPU 持续居高不下,一直维持在 90% 左右,而这个点数据库应该闲的蛋疼topas 发现耗掉 CPU 的全是 ggsci 进程。Topas Monitor for host: bjsczjdbzsj01 EVENTS/QUEUES FILE/TTYTue Mar 19 09:00:01 2013 Interval:原创 2013-03-20 22:39:26 · 3140 阅读 · 0 评论 -
OGG-01028:Object with object number 124750 is compressed. Table compression is not supported.
最近晚上通过 GoldenGate Director 发现,生产环境绝大多数数据库上的 extract 进程经常会自动 abended,过几分钟后又跟没事一样的正常重启。分析 ggserr.log 发现:2013-03-17 06:05:15 ERROR OGG-01028 Oracle GoldenGate Capture for Oracle, ets_xx7.prm: Ob原创 2013-04-04 23:07:01 · 4095 阅读 · 0 评论 -
EMCA fails with error "ORA-01017: invalid username/password; logon denied"
Creation of dbcontrol repository fails when execute $ emca -config dbcontrol -repos createWith error:Database connection through listener failed. Fix the error and run EM Configuration Assistant again原创 2015-01-08 11:44:19 · 6688 阅读 · 0 评论