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
[quote]00704, 00000, "bootstrap process failure"
// *Cause: Failure in processing bootstrap data - see accompanying error.
// *Action: Contact your customer support representative.[/quote]

$ oerr ora 39700
[quote]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).[/quote]


3,Cope with it

[quote]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[/quote]


4,question

[quote]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[/quote]

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!
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值