`
MicroJoey
  • 浏览: 85976 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

open database with ORA-00704 and ORA-39700

阅读更多
1,Error

1)alter.log

Fri May  6 14:50:01 2011
Errors in file /opt/oracle/app/oracle/admin/bks/udump/bks_ora_5111.trc:
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Fri May  6 14:50:01 2011
Error 704 happened during db open, shutting down database
USER: terminating instance due to error 704
Instance terminated by USER, pid = 5111
ORA-1092 signalled during: ALTER DATABASE OPEN...


2)/opt/oracle/app/oracle/admin/bks/udump/bks_ora_5111.trc:

ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option


2,Explain

$ oerr ora 00704
引用
00704, 00000, "bootstrap process failure"
// *Cause:  Failure in processing bootstrap data - see accompanying error.
// *Action: Contact your customer support representative.


$ oerr ora 39700
引用
39700, 00000, "database must be opened with UPGRADE option"
// *Cause:  A normal database open was attempted, but the database has not
//          been upgraded to the current server version.
// *Action: Use the UPGRADE option when opening the database to run
//          catupgrd.sql (for database upgrade), or to run catalog.sql
//          and catproc.sql (after initial database creation).



3,Cope with it

引用
7.Enter the following SQL*Plus commands:


SQL> STARTUP UPGRADE

SQL> SPOOL patch.log

SQL> @?/rdbms/admin/catupgrd.sql

SQL> SPOOL OFF

8.Review the patch.log file for errors and inspect the list of components that is displayed at the end of catupgrd.sql script.

This list provides the version and status of each SERVER component in the database.

9.If necessary, rerun the catupgrd.sql script after correcting any problems.

10.Restart the database:


SQL> SHUTDOWN IMMEDIATE

SQL> STARTUP

11.Run the utlrp.sql script to recompile all invalid PL/SQL packages now instead of when the packages are accessed for the first time. This step is optional but recommended.


SQL> @?/rdbms/admin/utlrp.sql



4,question

引用
ERROR at line 1:
ORA-04045: errors during recompilation/revalidation of SYSMAN.MGMT_JOB_ENGINE
ORA-04031: unable to allocate 4120 bytes of shared memory ("shared
pool","select audit$,properties fro...","Typecheck","kgghteInit")
ORA-06508: PL/SQL: could not find program unit being called:
"SYSMAN.MGMT_JOB_ENGINE"
ORA-06512: at line 11


5,cope with
Fri May  6 15:34:11 2011
ALTER SYSTEM SET sga_max_size='6G' SCOPE=SPFILE;
Fri May  6 15:34:26 2011
ALTER SYSTEM SET sga_target='6G' SCOPE=SPFILE;

Redo it!
分享到:
评论

相关推荐

    Oracle 10g启动后报ORA-16038错误的解决方法

    ORA-00312: online log 1 thread 1: '/oradata/10g/db/instant/redo01.log' SQL> ALTER SYSTEM SET DB_RECOVERY_FILE_DEST_...ORA-01109: database not open Database dismounted. ORACLE instance shut down.

    数据库ORA-01196故障-归档日志丢失恢复详解

    ORA-10458: standby database requiresrecovery ORA-01196: 文件 1 由于介质恢复会话失败而不一致 ORA-01110: 数据文件 1:’+DATA/htdb7/datafile/system.313.884996245′ 查看归档日志应用情况,发现一部分日志没...

    ORA-00392ORA-00312日志正在清除故障

    最近在还原Oracle数据库后open的时候碰到了ORA-00392: log 3 of thread 1 is being cleared, operation not allowed,其字面含义则是日志文件正在被清除,不允许操作。 通常情况下,当我们基于不完全恢复的时候,...

    利用 Oracle 和 PHP 管理分布式跟踪文件

    / grant necessary database privileges to tfmadmin tfmAdmin_privs_and_syns.sql grant necessary java privileges to tfmadmin tfmAdmin_java_privs.sql if this fails with any spurious dbms_java errors then...

    ORACLE表空间恢复方案

     错误: 在启动数据库时出现ORA-01157,ORA-01110或操作系统级错误例如ORA-07360, 在关闭数据库(使用shutdown normal或shutdown immediate) 时将导致错误ORA -01116,ORA-01110以及操作系统级错误ORA-07368 ...

    用于Go编程语言的Oracle数据库驱动程序。-Golang开发

    只需使用它import(“ database / sql” _“ gopkg.in/rana/ora.v4”)func main(){ora-import“ gopkg.in/rana/ora.v4”包ora实现了Oracle数据库驱动程序。 Golang Oracle数据库驱动程序TL; DR; 只需使用它import...

    ora分析脚本

    - pxwplan <sql_id> : get explain plan with work area information of a particular cursor and all connected cursor slave SQL - eplan <sql_id> []: get explain plan with execution statistics - pxeplan ...

    ORACLE initialization or shutdown in process

    ORA-01110: 数据文件 19: ''''C:\oracle\oradata\oradb\FYGL.ORA'' 这个提示文件部分根据每个人不同情况有点差别。 继续输入 SQL>alter database datafile 19 offline drop; 提示:数据库已更改。 循环使用最后两...

    vim数据库插件dbext_420

    *asa* *ase* *ingres* *interbase* *sqlite* *sqlsrv* *ora* *db2* 1. Overview |dbext-overview| 2. Installation |dbext-install| 3. Configuration |dbext-configure| 3.1 Displaying Results |dbext...

    Oracle9i的init.ora参数中文说明

    说明: 指定一对值 (UTC,TZD), 设置 TIME WITH TIME ZONE 数据类型的默认值, 该数据类型包含 HOUR, MINUTE, SECOND, TIMEZONE_HOUR 和 TIMEZONE_MINUTE 这几个日期时间字段。UTC 是世界时而 TZD 是当地时区。 语法: ...

    关于Oracle中重启数据库的一个bug

    关于drop database在oracle中是致命的操作,这个操作自己在测试环境中体验过,会完全删除数据文件,因此这个操作非常敏感...  ORA-00933: SQL command not properly ended  需要重启到mount阶段。  SQL> alter da

    [手工整理]208个Oracle安装文档,包含各个平台各个版本的单实例RAC以及DataGuard(1).xlsx

    65 Install Oracle Database 12c Release 1 Enterprise Edition and Oracle Real Application Clusters on IBM Power Systems with AIX7.1 66 Install Oracle Enterprise Manager上的Oracle企业管理器云控制13c第3...

    RMAN测试演练即讲解

    那么开始真正恢复吧,思路是这样的:由报错可见起库的实例nomount和控制文件的mount都成功了,但是在open database时报错,就需要在mount和open之间恢复。先将datafile置于offline状态,restore和recover后在online...

    最全的oracle常用命令大全.txt

    ORA-01035: ORACLE 只允许具有 RESTRICTED SESSION 权限的用户使用 6、startup force 强制启动方式 当不能关闭数据库时,可以用startup force来完成数据库的关闭 先关闭数据库,再执行正常启动数据库命令 7、...

    orcale常用命令

    ORA-01035: ORACLE 只允许具有 RESTRICTED SESSION 权限的用户使用 6、startup force 强制启动方式 当不能关闭数据库时,可以用startup force来完成数据库的关闭 先关闭数据库,再执行正常启动数据库命令 7、...

    Oracle 主要配置文件介绍

    initSID.ora 每个数据库实例都有一个初始化 参数文件 其缺省 存放的路径为 $ORACLE_BASE/admin/<SID>/pfile 其名称为 init<SID>.ora 如 cams 实 例 对 应 的 参 数 文 件 为 initcams.ora 缺 省 存 放 ...

    PHP基础教程 是一个比较有价值的PHP新手教程!

    $a and $b :与 $a xor $b :异或 (当$a或$b为true时为true,两者一样时为false) ! $a :非 比较运算符有: $a == $b :相等 $a != $b :不等 $a $b :小于 $a $b :小于等于 $a > $b :大于 $a >= $b :大于等于 ...

    oracle实验报告

    orapwd file=E:\app\oracle\product\11.1.0\db_1\database\pwdmydb.ora password=ora entries=5; 5、启动实例: set oracle_sid=mydb sqlplus/nolog conn sys/mydb as sysdba startup nomount pfile='E:\\...

    oracle学习文档 笔记 全面 深刻 详细 通俗易懂 doc word格式 清晰 连接字符串

     删除HKEY_CLASSES_ROOT目录下所有以Ora、Oracle、Orcl或EnumOra为前缀的键。  删除HKEY_CURRENT_USER/SOFTWARE/Microsoft/windows/CurrentVersion/Explorer/MenuOrder/Start Menu/Programs中所有以oracle 开头...

Global site tag (gtag.js) - Google Analytics