今天测试了下dbua的使用(由9.2.0.7升为10.2.0.4),但是在升级完成后,出现了下面的问题
$ ps -ef|grep test
oracle 2947 1 0 10:28:09 ? 0:00 ora_psp0_test
oracle 2973 1 0 10:28:17 ? 0:00 ora_qmnc_test
oracle 2965 1 0 10:28:10 ? 0:00 ora_mmnl_test
oracle 2969 1 0 10:28:10 ? 0:00 ora_s000_test
oracle 2949 1 0 10:28:09 ? 0:00 ora_mman_test
oracle 2961 1 0 10:28:10 ? 0:01 ora_cjq0_test
oracle 2980 1 0 10:28:19 ? 1:30 ora_j000_test
oracle 2951 1 0 10:28:09 ? 0:04 ora_dbw0_test
oracle 2955 1 0 10:28:09 ? 0:00 ora_ckpt_test
oracle 2945 1 0 10:28:09 ? 0:00 ora_pmon_test
oracle 2959 1 0 10:28:10 ? 0:00 ora_reco_test
oracle 2963 1 0 10:28:10 ? 0:02 ora_mmon_test
oracle 2957 1 0 10:28:10 ? 0:48 ora_smon_test
oracle 2967 1 0 10:28:10 ? 0:00 ora_d000_test
oracle 3030 1 0 10:29:07 ? 0:00 ora_q001_test
oracle 3020 1 0 10:28:27 ? 0:00 ora_q000_test
oracle 2953 1 0 10:28:09 ? 0:03 ora_lgwr_test
oracle 5724 2625 0 14:16:25 pts/4 0:00 grep test
$ echo $ORACLE_SID
test
$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Aug 21 14:22:40 2008
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 320308936 bytes
Fixed Size 730824 bytes
Variable Size 285212672 bytes
Database Buffers 33554432 bytes
Redo Buffers 811008 bytes
ORA-00205: error in identifying controlfile, check alert log for more info
实例的进程都在,ORACL_SID设置的也没有问题,但是连数据库的时候提示数据库没有启动,启动的时候却报ORA-00205错误,很奇怪
最后发现是因为.profile中的环境变量设置的有问题:ORACLE_HOME设置的是原来9i的安装路径,改为10g的安装路径后问题解决
将ORACLE_HOME=$ORACLE_BASE/product/9.0.1; export ORACLE_HOME
改成ORACLE_HOME=$ORACLE_BASE/product/10.2.0; export ORACLE_HOME
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/498744/viewspace-431667/
,如需转载,请注明出处,否则将追究法律责任。