标签云
asm恢复 bbed bootstrap$ dul In Memory kcbzib_kcrsds_1 kccpb_sanity_check_2 kfed MySQL恢复 ORA-00312 ORA-00607 ORA-00704 ORA-01110 ORA-01555 ORA-01578 ORA-08103 ORA-600 2131 ORA-600 2662 ORA-600 2663 ORA-600 3020 ORA-600 4000 ORA-600 4137 ORA-600 4193 ORA-600 4194 ORA-600 16703 ORA-600 kcbzib_kcrsds_1 ORA-600 KCLCHKBLK_4 ORA-15042 ORA-15196 ORACLE 12C oracle dul ORACLE PATCH Oracle Recovery Tools oracle加密恢复 oracle勒索 oracle勒索恢复 oracle异常恢复 Oracle 恢复 ORACLE恢复 ORACLE数据库恢复 oracle 比特币 OSD-04016 YOUR FILES ARE ENCRYPTED 勒索恢复 比特币加密文章分类
- Others (2)
- 中间件 (2)
- WebLogic (2)
- 操作系统 (102)
- 数据库 (1,682)
- DB2 (22)
- MySQL (73)
- Oracle (1,544)
- Data Guard (52)
- EXADATA (8)
- GoldenGate (24)
- ORA-xxxxx (159)
- ORACLE 12C (72)
- ORACLE 18C (6)
- ORACLE 19C (15)
- ORACLE 21C (3)
- Oracle 23ai (7)
- Oracle ASM (67)
- Oracle Bug (8)
- Oracle RAC (53)
- Oracle 安全 (6)
- Oracle 开发 (28)
- Oracle 监听 (28)
- Oracle备份恢复 (565)
- Oracle安装升级 (92)
- Oracle性能优化 (62)
- 专题索引 (5)
- 勒索恢复 (79)
- PostgreSQL (18)
- PostgreSQL恢复 (6)
- SQL Server (27)
- SQL Server恢复 (8)
- TimesTen (7)
- 达梦数据库 (2)
- 生活娱乐 (2)
- 至理名言 (11)
- 虚拟化 (2)
- VMware (2)
- 软件开发 (37)
- Asp.Net (9)
- JavaScript (12)
- PHP (2)
- 小工具 (20)
-
最近发表
- 断电引起的ORA-08102: 未找到索引关键字, 对象号 39故障处理
- ORA-00227: corrupt block detected in control file
- 手工删除19c rac
- 解决oracle数据文件路径有回车故障
- .wstop扩展名勒索数据库恢复
- Oracle Recovery Tools工具一键解决ORA-00376 ORA-01110故障(文件offline)
- OGG-02771 Input trail file format RELEASE 19.1 is different from previous trail file form at RELEASE 11.2.
- OGG-02246 Source redo compatibility level 19.0.0 requires trail FORMAT 12.2 or higher
- GoldenGate 19安装和打patch
- dd破坏asm磁盘头恢复
- 删除asmlib磁盘导致磁盘组故障恢复
- Kylin Linux 安装19c
- ORA-600 krse_arc_complete.4
- Oracle 19c 202410补丁(RUs+OJVM)
- ntfs MFT损坏(ntfs文件系统故障)导致oracle异常恢复
- .mkp扩展名oracle数据文件加密恢复
- 清空redo,导致ORA-27048: skgfifi: file header information is invalid
- A_H_README_TO_RECOVER勒索恢复
- 通过alert日志分析客户自行对一个数据库恢复的来龙去脉和点评
- ORA-12514: TNS: 监听进程不能解析在连接描述符中给出的SERVICE_NAME
标签归档:ORA-01406
ORA-00704 ORA-00604 ORA-01406故障分析
根据客户反馈系统运行的是9.2.0.8版本,但是服务器上面安装有10.2.0.1服务端,由于使用过10.2启动过数据库导致现在9.2.0.8无法启动.
数据库启动报错
Starting up ORACLE RDBMS Version: 9.2.0.8.0. System parameters with non-default values: ………… db_cache_size = 209715200 compatible = 9.2.0.0.0 db_file_multiblock_read_count= 16 fast_start_mttr_target = 300 ………… Thread 1 advanced to log sequence 7517 Thread 1 opened at log sequence 7517 Current log# 1 seq# 7517 mem# 0: F:\ORACLE\ORADATA\ORACLE\REDO01.LOG Successful open of redo thread 1 Tue Apr 25 21:16:20 2017 SMON: enabling cache recovery Tue Apr 25 21:16:20 2017 Errors in file f:\oracle\admin\oracle\udump\oracle_ora_3908.trc: ORA-00704: 引导程序进程失败 ORA-00604: 递归 SQL 层 1 出现错误 ORA-01406: 读取的列值被截断 Tue Apr 25 21:16:20 2017 Error 704 happened during db open, shutting down database USER: terminating instance due to error 704 Tue Apr 25 21:16:20 2017 Errors in file f:\oracle\admin\oracle\bdump\oracle_pmon_2124.trc: ORA-00704: bootstrap process failure Tue Apr 25 21:16:20 2017 Errors in file f:\oracle\admin\oracle\bdump\oracle_reco_2556.trc: ORA-00704: bootstrap process failure Tue Apr 25 21:16:20 2017 Errors in file f:\oracle\admin\oracle\bdump\oracle_smon_628.trc: ORA-00704: bootstrap process failure Tue Apr 25 21:16:21 2017 Errors in file f:\oracle\admin\oracle\bdump\oracle_ckpt_2212.trc: ORA-00704: bootstrap process failure Tue Apr 25 21:16:21 2017 Errors in file f:\oracle\admin\oracle\bdump\oracle_lgwr_2756.trc: ORA-00704: bootstrap process failure Tue Apr 25 21:16:21 2017 Errors in file f:\oracle\admin\oracle\bdump\oracle_dbw0_1756.trc: ORA-00704: bootstrap process failure Instance terminated by USER, pid = 3908 ORA-1092 signalled during: ALTER DATABASE OPEN...
错误比较明显bootstrap$的相关sql在递归的时候报错(ORA-01406)
我们分析alert日志
---9.2.0.1版本运行了很长时间 Mon Apr 13 20:44:29 2009 Starting ORACLE instance (normal) LICENSE_MAX_SESSION = 0 LICENSE_SESSIONS_WARNING = 0 SCN scheme 2 Using log_archive_dest parameter default value LICENSE_MAX_USERS = 0 SYS auditing is disabled Starting up ORACLE RDBMS Version: 9.2.0.1.0. --然后升级到9.2.0.8 Thu Jun 18 17:32:09 2015 Starting ORACLE instance (normal) LICENSE_MAX_SESSION = 0 LICENSE_SESSIONS_WARNING = 0 SCN scheme 2 Using log_archive_dest parameter default value LICENSE_MAX_USERS = 0 SYS auditing is disabled Starting up ORACLE RDBMS Version: 9.2.0.8.0. System parameters with non-default values: ………… Thu Jun 18 17:32:18 2015 SMON: enabling cache recovery Thu Jun 18 17:32:19 2015 Successfully onlined Undo Tablespace 1. Thu Jun 18 17:32:19 2015 SMON: enabling tx recovery Thu Jun 18 17:32:19 2015 Database Characterset is ZHS16GBK Updating 9.2.0.1.0 NLS parameters in sys.props$ -- adding 9.2.0.8.0 NLS parameters. replication_dependency_tracking turned off (no async multimaster replication found) Completed: alter database open ………… Thu Jun 18 17:38:32 2015 Database Characterset is ZHS16GBK Thu Jun 18 17:38:33 2015 ALTER SYSTEM SET _system_trig_enabled=FALSE SCOPE=MEMORY; Thu Jun 18 17:38:33 2015 ALTER SYSTEM SET job_queue_processes=0 SCOPE=MEMORY; Thu Jun 18 17:38:33 2015 ALTER SYSTEM SET aq_tm_processes=0 SCOPE=MEMORY; replication_dependency_tracking turned off (no async multimaster replication found) Completed: ALTER DATABASE OPEN MIGRATE --再升级到10.2.0.1 ksdpec: called for event 13740 prior to event group initialization Starting up ORACLE RDBMS Version: 10.2.0.1.0. System parameters with non-default values: processes = 150 timed_statistics = TRUE sga_max_size = 1610612736 shared_pool_size = 209715200 large_pool_size = 8388608 java_pool_size = 159383552 streams_pool_size = 50331648 control_files = F:\ORACLE\ORADATA\ORACLE\CONTROL01.CTL db_block_size = 8192 db_cache_size = 209715200 compatible = 9.2.0.0.0 ………… Thu Jun 18 19:43:30 2015 Database Characterset is ZHS16GBK Updating 9.2.0.8.0 NLS parameters in sys.props$ -- adding 10.2.0.1.0 NLS parameters. ………… Thu Jun 18 19:43:44 2015 ALTER SYSTEM enable restricted session; MMNL started with pid=12, OS id=5212 Thu Jun 18 19:43:44 2015 ALTER SYSTEM SET _system_trig_enabled=FALSE SCOPE=MEMORY; Thu Jun 18 19:43:44 2015 ALTER SYSTEM SET aq_tm_processes=0 SCOPE=MEMORY; Thu Jun 18 19:43:44 2015 ALTER SYSTEM SET resource_manager_plan='' SCOPE=MEMORY; Thu Jun 18 19:43:44 2015 replication_dependency_tracking turned off (no async multimaster replication found) Completed: ALTER DATABASE OPEN MIGRATE
这里很明显数据库从2009年4月开始9.2.0.1版本开始运行,然后到2015年6月18日升级到9.2.0.8版本,紧接着升级到10.2.0.1(升级8.2.0.8是为升级10.2.0.1的中间过度操作).然后这个库一直使用10.2.0.1版本运行,这次重启不知道什么原因客户以为是9.2.0.8的数据库版本,然后不管怎么样也无法启动成功(这里不知道什么原因win 服务中使用的9.2.0.8的软件,估计被人误操作了).解决该问题,就是把服务切换成10.2.0.1版本数据库正常启动.
再次提醒大家,在oracle恢复的过程中,需要仔细分析日志,日志不会骗人,不要轻信客户的现场描述