drop user cascade的时候报错ora-00600错误
2014-03-10 14:04
337 查看
原贴地址:http://www.oracleblog.org/working-case/drop-user/
执行:
drop user abc cascade;
报错:
VBO:无法删除用户。
ORA-01001 无效的游标
ORA-00600: internal error code, arguments: [qmxiUnpPacked2], [121], [], [], [], [], [], []
这位朋友当前的用户是sysdba用户,应该不存在不能删除自己的用户的情况,而且从报错的信息来看,ora-600属于oracle自己的内部错误,和用户操作关系不大。
开始还以为这位朋友的oracle数据库版本较低,但是经过咨询,他是oracle9207版本,而且是windows 2003的系统平台。想到windows下oracle的版本是9201的,9207肯定是升级上去的,于是怀疑在升级的过程中出了问题所致。
在metalink搜索了 drop user ora-00600,发现其中有一片文章(Doc ID:Note339070.1)说道:
——————————————————————————–
Subject: Drop user fails with ora-600 [qmxiUnpPacked2]
Doc ID: Note:339070.1 Type: PROBLEM
Last Revision Date: 07-DEC-2005 Status: PUBLISHED
In this Document
Symptoms
Cause
Solution
References
——————————————————————————–
Applies to:
Oracle Server – Enterprise Edition – Version: 9.2.0.7
This problem can occur on any platform.
Symptoms
ORA-600 [qmxiUnpPacked2] [121 being reported during a drop user on a new 9.2.0.7 database.
Cause
This is generally caused by an invalid upgrade from earlier release.
If a database is created with the DBCA at 9.2.0.7 and one of the "seed" databases are used (not the "New Database" option),
then this seed database is at 9.2.0.1.
Once the create database is complete it needs patching to 9.2.0.7
This error occurs due to XMLType data that has not been successfully upgraded from a previous version.
Solution
To implement the solution, please execute the following steps:
1)SQL> shutdown immediate
2)SQL> startup migrate
3)SQL> spool patch.log
4)SQL> @?/rdbms/admin/catpatch
5)SQL> spool off
References
Note 222876.1 - ORA-600 [qmxiUnpPacked2]
Errors
ORA-600[QMXIUNPPACKED2]
——————————————————————————–
而那位朋友在升级的时候,确实只运行了升级补丁(setup.exe),没有进行后续的数据库升级和 Internet Directory的升级。在该升级补丁的说明文档中也写明了后续要做的工作是:
● Upgrading Databases from Previous Releases Directly to Oracle9i Version 9.2.0.7.0
● Required Postinstallation Tasks
● Upgrading Oracle Internet Directory 9.2.0.x.x
至此,找到原因,问题解决。
题外话:大家升级的时候一定要清楚的知道自己在干什么,仔细阅读升级文档的每一处,除了升级过程,还有升级前的准备包括表空间,sga内存的检查,升级后后续工作,等等。
执行:
drop user abc cascade;
报错:
VBO:无法删除用户。
ORA-01001 无效的游标
ORA-00600: internal error code, arguments: [qmxiUnpPacked2], [121], [], [], [], [], [], []
这位朋友当前的用户是sysdba用户,应该不存在不能删除自己的用户的情况,而且从报错的信息来看,ora-600属于oracle自己的内部错误,和用户操作关系不大。
开始还以为这位朋友的oracle数据库版本较低,但是经过咨询,他是oracle9207版本,而且是windows 2003的系统平台。想到windows下oracle的版本是9201的,9207肯定是升级上去的,于是怀疑在升级的过程中出了问题所致。
在metalink搜索了 drop user ora-00600,发现其中有一片文章(Doc ID:Note339070.1)说道:
——————————————————————————–
Subject: Drop user fails with ora-600 [qmxiUnpPacked2]
Doc ID: Note:339070.1 Type: PROBLEM
Last Revision Date: 07-DEC-2005 Status: PUBLISHED
In this Document
Symptoms
Cause
Solution
References
——————————————————————————–
Applies to:
Oracle Server – Enterprise Edition – Version: 9.2.0.7
This problem can occur on any platform.
Symptoms
ORA-600 [qmxiUnpPacked2] [121 being reported during a drop user on a new 9.2.0.7 database.
Cause
This is generally caused by an invalid upgrade from earlier release.
If a database is created with the DBCA at 9.2.0.7 and one of the "seed" databases are used (not the "New Database" option),
then this seed database is at 9.2.0.1.
Once the create database is complete it needs patching to 9.2.0.7
This error occurs due to XMLType data that has not been successfully upgraded from a previous version.
Solution
To implement the solution, please execute the following steps:
1)SQL> shutdown immediate
2)SQL> startup migrate
3)SQL> spool patch.log
4)SQL> @?/rdbms/admin/catpatch
5)SQL> spool off
References
Note 222876.1 - ORA-600 [qmxiUnpPacked2]
Errors
ORA-600[QMXIUNPPACKED2]
——————————————————————————–
而那位朋友在升级的时候,确实只运行了升级补丁(setup.exe),没有进行后续的数据库升级和 Internet Directory的升级。在该升级补丁的说明文档中也写明了后续要做的工作是:
● Upgrading Databases from Previous Releases Directly to Oracle9i Version 9.2.0.7.0
● Required Postinstallation Tasks
● Upgrading Oracle Internet Directory 9.2.0.x.x
至此,找到原因,问题解决。
题外话:大家升级的时候一定要清楚的知道自己在干什么,仔细阅读升级文档的每一处,除了升级过程,还有升级前的准备包括表空间,sga内存的检查,升级后后续工作,等等。
相关文章推荐
- drop user cascade出现ORA-04043问题的解决
- oracle drop用户cascade 无法顺利删除问题处理-ORA-00604和ORA-00942错误
- DROP USER cascade on source db ,deadlock + ora 6508
- Drop user cascade failed ORA-00604 ORA-02429 处理一例
- ORA-00600: 内部错误代码, 参数: [kcratr1_lastbwr]
- 高级复制添加主体站点的时候碰到ORA-23375错误的解决方法
- Oracle内部错误ORA-00600:[pfri.c: pfri8: plio mismatch ]一例
- ora-00600错误
- ORA-00600: 内部错误代码,参数: [kcratr1_lostwrt], [], [], [], [], [], [], []
- ORA-00600:[KSMASG1], [4032], [4032] 错误!
- ORA-00600 2662错误
- ORA-00600[6711]错误一例
- ORA-00600 [3756]内部错误一例
- Oracle RAC内部错误:ORA-00600[kjbmprlst:shadow]一例
- 自定义“ORA-20010: 不能DROP/TRUNCATE该表”的错误
- 使用XShell导入KEY的时候报“Failed to import the user key!”错误
- oracle12创建用户错误ORA-65096: 公用用户名或角色名无效 invalid common user or role name
- 错误提示:ORA-01747: user.table.column, table.column 或列说明无效
- Oracle内部错误:ORA-00600[25012]一例
- ORA-00600 [kddummy_blkchk]错误一例