SQL> select * from v$version where rownum<=1;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
今天抽空做一个升级:
unzip p10404530_112030_Linux-x86-64_1of7.zip
unzip p10404530_112030_Linux-x86-64_2of7.zip
unzip p10404530_112030_Linux-x86-64_3of7.zip--最后一个grid的盘,我没有使用它,不用解压。
http://blog.csdn.net/tianlesoftware/article/details/6833591
Cause - no additional information available.
Action - Reefers logs or contact Oracle Support Services
Summary -[INS-07009] Unable to load bean store
-oracle.xml.parser.v2.XMLParseException: Invalid char in text.
-Invalid char in text.
# rpm -qip glibc-common-2.3.4-2.41.x86_64.rpm
warning: glibc-common-2.3.4-2.41.x86_64.rpm: V3 DSA signature: NOKEY, key ID 1d1e034b
Name : glibc-common Relocations: (not relocatable)
Version : 2.3.4 Vendor: Scientific Linux CERN, http://cern.ch/linux
Release : 2.41 Build Date: Tue 29 Jul 2008 08:40:35 PM CST
Install Date: (not installed) Build Host: lxcert-amd64.cern.ch
Group : System Environment/Base Source RPM: glibc-2.3.4-2.41.src.rpm
Size : 59479787 License: LGPL
Signature : DSA/SHA1, Wed 30 Jul 2008 03:58:48 PM CST, Key ID 5e03fde51d1e034b
Packager : CERN Linux Support
Summary : Common binaries and locale data for glibc.
Description :
The glibc-common package includes common binaries for the GNU libc
libraries, as well as national language (locale) support and timezone
databases.
--也许我选择不是rh自带的升级都是报错,我强制安装了。
rpm -Uvh --force glibc-2.3.4-2.41.x86_64.rpm glibc-common-2.3.4-2.41.x86_64.rpm
接着选择:
upgrade an existing database。
language: english
database edition:Enterprise Edition
/u01/app/oracle11g/product/11.2.0/db_2。跳过dbua升级,配置监听。
最后执行
/u01/app/oracle11g/product/11.2.0/db_2/root.sh
修改/etc/oratab文件:
test:/u01/app/oracle11g/product/11.2.0/db_1:N
为
test:/u01/app/oracle11g/product/11.2.0/db_2:N
修改oracle用户的.bash_profile文件的db_1改为db_2.
拷贝原来dbs目录下的orapwtesthe和spfiletest.ora文件。
最后升级数据库,简单记录命令如下:
STARTUP UPGRADE
SPOOL patch.log
@?/rdbms/admin/catupgrd.sql
SPOOL OFF
SHUTDOWN
STARTUP
编译包,这步是可选!
SQL> @?/rdbms/admin/utlrp.sql
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/267265/viewspace-756795/ ,如需转载,请注明出处,否则将追究法律责任。