标签云
asm恢复 bbed bootstrap$ dul In Memory kcbzib_kcrsds_1 kccpb_sanity_check_2 MySQL恢复 ORA-00312 ORA-00607 ORA-00704 ORA-00742 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)
- 操作系统 (103)
- 数据库 (1,702)
- DB2 (22)
- MySQL (74)
- Oracle (1,563)
- Data Guard (52)
- EXADATA (8)
- GoldenGate (24)
- ORA-xxxxx (159)
- ORACLE 12C (72)
- ORACLE 18C (6)
- ORACLE 19C (15)
- ORACLE 21C (3)
- Oracle 23ai (8)
- Oracle ASM (68)
- Oracle Bug (8)
- Oracle RAC (53)
- Oracle 安全 (6)
- Oracle 开发 (28)
- Oracle 监听 (28)
- Oracle备份恢复 (571)
- Oracle安装升级 (94)
- Oracle性能优化 (62)
- 专题索引 (5)
- 勒索恢复 (81)
- 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)
-
最近发表
- Oracle各种类型坏块说明和处理
- fio测试io,导致磁盘文件系统损坏故障恢复
- ORA-742 写丢失常见bug记录
- Oracle 19c 202501补丁(RUs+OJVM)
- 避免 19c 数据库性能问题需要考虑的事项 (Doc ID 3050476.1)
- Bug 21915719 Database hang or may fail to OPEN in 12c IBM AIX or HPUX Itanium – ORA-742, DEADLOCK or ORA-600 [kcrfrgv_nextlwn_scn] ORA-600 [krr_process_read_error_2]
- ORA-600 ktuPopDictI_1恢复
- impdp导入数据丢失sys授权问题分析
- impdp 创建index提示ORA-00942: table or view does not exist
- 数据泵导出 (expdp) 和导入 (impdp)工具性能降低分析参考
- 19c非归档数据库断电导致ORA-00742故障恢复
- Oracle 19c – 手动升级到 Non-CDB Oracle Database 19c 的完整核对清单
- sqlite数据库简单操作
- Oracle 暂定和恢复功能
- .pzpq扩展名勒索恢复
- Oracle read only用户—23ai新特性:只读用户
- 迁移awr快照数据到自定义表空间
- .hmallox加密mariadb/mysql数据库恢复
- 2025年首个故障恢复—ORA-600 kcbzib_kcrsds_1
- 第一例Oracle 21c恢复咨询
标签归档: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恢复的过程中,需要仔细分析日志,日志不会骗人,不要轻信客户的现场描述