删除时出现如下错误揭示:
ORA-01001: 无效的游标
ORA-00600: 内部错误代码,参数: [qmxiUnpPacked2], [121], [], [], [], [], [], []'我用的是oracle 9.2,
这是怎么回事啊救急啊

解决方案 »

  1.   

    利用http://metalink.oracle.com/metalink/plsql/ml2_documents.showFrameDocument?p_database_id=NOT&p_id=153788.1搜索,发现Note:235423.1对此有详细解释,并且给出了三种方法,我根据第一种方法解决了问题:If your shared_pool_size and java_pool_size are less than 150Mb the do the
    following :1/ Set your shared_pool_size and java_pool_size to 150Mb each. In some case 
    you may need to use larger pool sizes.2/ Get the xdbpatch.sql script from Note 237305.13/ Copy xdbpatch.sql to $ORACLE_HOME/rdbms/admin/xdbpatch.sql having taken a
    backup of the original file first4/ Restart the instance with:startup migrate;5/ spool catpatch@?/rdbms/admin/catpatch.sql完成上述步骤后,处于好奇,我又将shared_pool_size和java_pool_size改回原来的大小,重新启动数据库,重复删除用户的操作,也没有出错。不知道上述步骤中为什么要首先将shared_pool_size和java_pool_size设置为150m。
      

  2.   

    我以前碰到这个问题的解决方案是:
    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.7This 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 immediate2)SQL> startup migrate3)SQL> spool patch.log4)SQL> @?/rdbms/admin/catpatch5)SQL> spool off 
    References
    Note 222876.1 - ORA-600 [qmxiUnpPacked2]Errors
    ORA-600[QMXIUNPPACKED2]
      

  3.   

    是不是刚升级? 如果是, 大概没执行 catpatch.sql可参考:http://www.itpub.net/467460.html
      

  4.   

    http://www.itpub.net/514579.htmlORA-600 [qmxiUnpPacked2] [] 
    Cause ~~~~~ If the error is seen after applying 9.2.0.2 on a 9.2.0.1 database or if using DBCA in 9.2.0.2 to create a new database (which is using the 9.2.0.1 seed database) then it is very likely that either shared_pool_size or java_pool_size was too small when catpatch.sql was executed. 
    Error is generally seen as ORA-600: internal error code, arguments: [qmxiUnpPacked2], [121] 
    There are 3 options to proceed from here:- 
    Fix ~~~~ 
    Option 1 ======== If your shared_pool_size and java_pool_size are less than 150Mb the do the following :- 1/ Set your shared_pool_size and java_pool_size to 150Mb each. In some case you may need to use larger pool sizes. 2/ Get the xdbpatch.sql script from [NOTE:237305.1] 3/ Copy xdbpatch.sql to $ORACLE_HOME/rdbms/admin/xdbpatch.sql having taken a backup of the original file first 4/ Restart the instance with: startup migrate; 5/ spool catpatch @?/rdbms/admin/catpatch.sql 
    Option 2 ======== If you already have shared_pool_size and java_pool_size set at greater than 150Mb then the problem may be caused by the shared memory allocated during the JVM upgrade is not released properly. In which case do the following :- 1/ Set your shared_pool_size and java_pool_size to 150Mb each. In some case you may need to use larger pool sizes. 2/ Get the xdbpatch.sql script from [NOTE:237305.1] 3/ Edit the xdbpatch.sql script and add the following as the first line in the script:- alter system flush shared_pool; 3/ Copy xdbpatch.sql to $ORACLE_HOME/rdbms/admin/xdbpatch.sql having taken a backup of the original file first 3/ Restart the instance with: startup migrate; 4/ spool catpatch @?/rdbms/admin/catpatch.sql 
    Option 3 ======== If XDB is NOT in use and there are NO registered XML Schemas an alternative is to drop, and maybe re-install XDB :- 1/ To drop the XDB subsystem connect as sys and run @?/rdbms/admin/catnoqm.sql 2/ You can then run catpatch.sql to perform the upgrade startup migrate; @?/rdbms/admin/catpatch.sql 3/ Once complete you may chose to re-install the XDB subsystem, if so connect as sys and run catqm.sql @?/rdbms/admin/catqm.sql If the error is seen during normal database operation, ensure that upgrade to current version was completed succesfully without error. Once this is confirmed attempt to reproduce the error, if successful forward ALERT.LOG, trace files and full error stack to Oracle Support Services for further analysis.
    引用自:http://www.*****.org/viewthread.php?tid=40605