ITPub博客

首页 > 数据库 > Oracle > HP-UX 10.2.0.1 升级到 10.2.0.3 时报 ORA-20000: Upgrade re-run not supported from version

HP-UX 10.2.0.1 升级到 10.2.0.3 时报 ORA-20000: Upgrade re-run not supported from version

原创 Oracle 作者:ysjxjf 时间:2008-03-17 14:44:49 0 删除 编辑
SELECT version_script AS file_name FROM DUAL
*
ERROR at line 1:
ORA-20000: Upgrade re-run not supported from version
ORA-06512: at "SYS.VERSION_SCRIPT", line 45


Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
通过 update registry$ set prv_version='' where cid='CATPROC' 更新到你要升级到的 version
再次运行, 不会报错
[@more@]

Bug No.

5071433

Filed

01-MAR-2006

Updated

02-MAR-2006

Product

Oracle Universal Installer

Product Version

10.2.0.2

Platform

Red Hat Advanced Server

Platform Version

3

Database Version

10.2.0.2

Affects Platforms

Generic

Severity

Severe Loss of Service

Status

Closed, Not a Bug

Base Bug

N/A

Fixed in Product Version

No Data


Problem statement:

CATUPGRD.SQL IN 10.2.0.2 FAILS WITH ORA-20000


 

*** 03/01/06 09:24 am ***

.

=========================

PROBLEM:

1. Clear description of the problem encountered:

.

- Upgrading from 10.2.0.1 to 10.2.0.2

.

- The catupgrd.sql script for 10.2.0.2 fails with :

.

...

SELECT version_script AS file_name FROM DUAL

*

ERROR at line 1:

ORA-20000: Upgrade re-run not supported from version

ORA-06512: at "SYS.VERSION_SCRIPT", line 45

...

.

.

=========================

DIAGNOSTIC ANALYSIS:

.

- catupgrd.sql creates a pl/sql function called version_script which fails

with the above errors.

.

- The error is raised in one place in this function:

.

EXECUTE IMMEDIATE 'SELECT prv_version

FROM registry$ where cid=''CATPROC'''

INTO p_prv_version;

IF substr(p_prv_version,1,5) = '8.1.7' THEN

RETURN '0801070';

ELSIF substr(p_prv_version,1,5) = '9.0.1' THEN

RETURN '0900010';

ELSIF substr(p_prv_version,1,5) = '9.2.0' THEN

RETURN '0902000';

ELSIF substr(p_prv_version,1,6) = '10.1.0' THEN

RETURN '1001000';

ELSIF substr(p_prv_version,1,6) = '10.2.0' THEN

RETURN '1002000';

ELSE

RAISE_APPLICATION_ERROR(-20000,

'Upgrade re-run not supported from version ' || p_prv_version );

END IF;

.

- The value of prv_version in registry$ is null therefore we fail.

- I checked several 10.2.0.1 databases, prv_version was always null.

.

.

.

=========================

WORKAROUND:

.

- None.

.

=========================

RELATED BUGS:

.

=========================

REPRODUCIBILITY:

.

- Each time the script is run.

.

.

.

=========================

TESTCASE:

========================

STACK TRACE:

.

=========================

SUPPORTING INFORMATION:

*** 03/01/06 11:52 am *** (CHG: Asg->NEW OWNER)

*** 03/01/06 11:52 am ***

*** 03/01/06 11:53 am ***

*** 03/02/06 07:30 am *** (CHG: Sta->92)

*** 03/02/06 07:30 am ***

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/66634/viewspace-1001061/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: Solaris mount cdrom
请登录后发表评论 登录
全部评论

注册时间:2008-04-24

  • 博文量
    376
  • 访问量
    3279045