» 在hp pa 11.23上安装9206patch OracleBlog.cn -天堂向左DBA向右

hp pa算是一个比较老版本的hpux操作系统,目前hp已经不出hp pa的版本,只出hp ia的版本。目前ia的os版本为11.23和11.31,在之前的hp pa的主要os版本是11.00和11.11。
这次在某省安装的机器比较奇怪,是hp pa的机器,却是安装11.23的操作系统版本。在正常安装完成9201的基线版本后在升级9206的patch,遇到报错了:

$ cd D*1
$ ls
install, patchnote.htm, response, runInstaller, stage
$ export DISPLAY=192.168.0.4:0.0
$ ./runInstaller
Starting Oracle Universal Installer...
 
Checking installer requirements...
 
Checking operating system version: must be B.11.00 or B.11.11.    Actual B.11.
                                      Failed
<<<<
 
Exiting Oracle Universal Installer, log for this session can be found at /opt/acle/oraInventory/logs/installActions2010-01-10_03-38-08PM.log
$

根据log去做进一步的检查了:

$ vi installActions2010-01-10_03-38-08PM.log
"installActions2010-01-10_03-38-08PM.log" 9 lines, 385 characters
Using paramFile: /usr/ora_inst/orapatch_9206/Disk1/install/oraparam.ini
 
 
Checking installer requirements...
 
Checking operating system version: must be B.11.00 or B.11.11.    Actual B.11.23
                                      Failed
<<<<
 
Exiting Oracle Universal Installer, log for this session can be found at /opt/oracle/oraInventory/logs/installActions2010-01-10_03-3
8-08PM.log
~

在这里我们看到在做系统环境的检查时,调用了/usr/ora_inst/orapatch_9206/Disk1/install/oraparam.ini这个参数文件,因此我们去看这个参数文件:

$ cat /usr/ora_inst/orapatch_9206/Disk1/install/oraparam.ini
[Oracle]
DISTRIBUTION=TRUE
SOURCE=../stage/products.xml
LICENSE_LOCATION=
JRE_LOCATION=../stage/Components/oracle.swd.jre/1.4.2.0.0/1/DataFiles
JRE_MEMORY_OPTIONS=" -mx96m"
DEFAULT_HOME_LOCATION=
DEFAULT_HOME_NAME=OUIHome
NO_BROWSE=/net
NLS_ENABLED=TRUE
BOOTSTRAP=TRUE
OUI_VERSION=10.1.0.3.0
AUTOOUI=ALWAYS
#SHOW_HOSTNAME=ALWAYS_SHOW shows the hostname panel always
#SHOW_HOSTNAME=NEVER_SHOW does not the hostname panel
#SHOW_HOSTNAME=CONDITION_SHOW shows the hostname panel on condition
SHOW_HOSTNAME=NEVER_SHOW
#THIN_JDBC_FILENAME is optional and defaults to classes12.jar
#The value specified for this should be packaged with OUI, and should
#be relative to
<OUI expanded stagedir>/jlib/
THIN_JDBC_FILENAME=classes12.jar
#JRE_OSDPARAM is to set OS dependent param for JRE ( mainly for native VM in 1.3.1)
#JRE_OSDPARAM is optional and should be set to -native for the JRE's
#that support native VM ( mainly for Unix platforms ), in JRE 1.3.1
#For JRE 1.4.1 this should be set to empty or the type of VM that is
#supported client/server. The default value is -native in UNIX platforms
#that supports native VM
#Unix supporting native - JRE_OSDPARAM="-native"
#Unix NOT supporting native and 1.4.1 - JRE_OSDPARAM=""
JRE_OSDPARAM=""
#CLUSTERWARE={"oracle.crs","10.1.0.2.0"}
#RUN_OUICA specifies the batch script name that needs to be run
#The script is ouica.bat for win32, and ouica.sh for solaris.
#If the value is not specified, then the OUICA script is not run
RUN_OUICA=ouica.sh
 
[Certified Versions]
#You can customise error message shown for failure through CERTIFIED_VERSION_FAILURE_MESSAGE
Solaris=5.6,5.7,5.8,5.9
Linux=redhat-2.1AS
HPUX=B.11.00,B.11.11
Decunix=V5.1A,V5.1
AIX=5.1.0.0
 
 
[Solaris-5.6-required]
#Minimum temp space required by OUI, Increase it if your product installation so requires
#Temp space is required for bootstrap and during installation
#The TEMP_SPACE should be the first pre-req to be checked
TEMP_SPACE=250
SWAP_SPACE=500
#Use TEMP_SPACE_FAILURE_MESSAGE for custom error message for Swap space check failure
#PACKAGES required by JRE and Product, /usr/bin/pkginfo gets list of packages on system
PACKAGES=
#Use PACKAGES_FAILURE_MESSAGE for custom error message for PACKAGES check failure
 
 
#Use CPU_FAILURE_MESSAGE to display custom error message for CPU check failure
#MIN_DISPLAY_COLORS required by OUI, use /usr/openwin/bin/xdpyinfo to get the colors
MIN_DISPLAY_COLORS=256
#Use MIN_DISPLAY_COLORS_FAILURE_MESSAGE for custom error message for DISPLAY colors check failure
 
[Solaris-5.6-optional]
#PATCHES required by JRE and Product, /usr/bin/showrev -p gets list of patches on system
PATCHES=
#Use PATCHES_FAILURE_MESSAGE for custom error message for PATCHES check failure
 
[Solaris-5.7-required]
#Minimum temp space required by OUI, Increase it if your product installation so requires
#Temp space is required for bootstrap and during installation
#The TEMP_SPACE should be the first pre-req to be checked
TEMP_SPACE=250
SWAP_SPACE=500
#PACKAGES required by JRE and Product, /usr/bin/pkginfo gets list of packages on system
PACKAGES=
 
 
#MIN_DISPLAY_COLORS required by OUI, use /usr/openwin/bin/xdpyinfo to get the colors
MIN_DISPLAY_COLORS=256
 
[Solaris-5.7-optional]
#PATCHES required by JRE and Product, /usr/bin/showrev gets list of patches on system
PATCHES=
 
[Solaris-5.8-required]
#Minimum temp space required by OUI, Increase it if your product installation so requires
#Temp space is required for bootstrap and during installation
#The TEMP_SPACE should be the first pre-req to be checked
TEMP_SPACE=250
SWAP_SPACE=500
#PACKAGES required by JRE and Product, /usr/bin/pkginfo gets list of packages on system
PACKAGES=
 
 
#MIN_DISPLAY_COLORS required by OUI, use /usr/openwin/bin/xdpyinfo to get the colors
MIN_DISPLAY_COLORS=256
 
[Solaris-5.8-optional]
#PATCHES required by JRE and Product, /usr/bin/showrev gets list of patches on system
PATCHES=108652-66,108921-16,108940-53,108773-18,111310-01,109147-24,111308-03,111111-03,112396-02,110386-03,111023-02,108987-13,108528-21,108989-02,108993-18
 
[Solaris-5.9-required]
#Minimum temp space required by OUI, Increase it if your product installation so requires
#Temp space is required for bootstrap and during installation
#The TEMP_SPACE should be the first pre-req to be checked
TEMP_SPACE=250
SWAP_SPACE=500
#PACKAGES required by JRE and Product, /usr/bin/pkginfo gets list of packages on system
PACKAGES=
 
 
#MIN_DISPLAY_COLORS required by OUI, use /usr/openwin/bin/xdpyinfo to get the colors
MIN_DISPLAY_COLORS=256
 
[Solaris-5.9-optional]
#PATCHES required by JRE and Product, /usr/bin/showrev gets list of patches on system
PATCHES=
 
#[HPUX-B.11.11-required]
#PATCHES required by JRE and Product, /usr/sbin/swlist -l patch gets list of patches on system
#PATCHES=
#PACKAGES required by JRE and Product, /usr/sbin/swlist -l product gets list of packages on system
#PACKAGES=
#Patch bundles required for Oracle.
#/usr/sbin/swlist -l bundle gives list of bundles.
#Each item should follow the format "bundle:version"
#ex.,GOLDBASE11i:B.11.11.0106.9,GOLDAPPS11i:B.11.11.0106.9
#BUNDLE=
#Minimum swap space required by OUI, Increase it if your product installation so requires
#SWAP_SPACE=150
#BUNDLE_FAILURE_MESSAGE=Some patch bundles were not found on the system. Please verify if the system is at a higher bundle level.
 
[Linux-redhat-2.1AS-required]
#Minimum kernel version supported on this flavour of Linux
KERNEL=2.4.9
#Minimum glibc version supported on this flavour of Linux
GLIBC=glibc-2.2.4-25
#PACKAGES required by JRE and Product, "rpm -qa" gets list of packages on system
PACKAGES=
#Minimum swap space required by OUI, Increase it if your product installation so requires
SWAP_SPACE=150
 
 
[Decunix-V5.1A-required]
#PATCHES required by JRE and Product, /usr/sbin/dupatch -track -type kit
#gets list of patches on system
PATCHES=
#PACKAGES required by JRE and Product, /usr/sbin/setld -i gets
#list of packages on system
PACKAGES=
#Minimum swap space required by OUI, Increase it if your product installation so requires
SWAP_SPACE=150
 
[Decunix-V5.1-required]
#PATCHES required by JRE and Product, /usr/sbin/dupatch -track -type kit
#gets list of patches on system
PATCHES=
#PACKAGES required by JRE and Product, /usr/sbin/setld -i gets
#list of packages on system
PACKAGES=
#Minimum swap space required by OUI, Increase it if your product installation so requires
SWAP_SPACE=150
 
[AIX-5.1.0.0-required]
#PATCHES required by JRE and Product, /usr/sbin/instfix -a -ivk
#gets list of patches on system
PATCHES=
#PACKAGES required by JRE and Product, /usr/bin/lslpp -l
#gets list of packages on system
PACKAGES=
#Minimum swap space required by OUI, Increase it if your product installation so requires
SWAP_SPACE=150
 
$

在这里我们看到hp pa9206的patch要求

我们目前hp pa 11.23没在这个里面,因此我当时尝试了在这个文件中把11.23也添加进去:

……
[Certified Versions]
#You can customise error message shown for failure through CERTIFIED_VERSION_FAILURE_MESSAGE
Solaris=5.6,5.7,5.8,5.9
Linux=redhat-2.1AS
HPUX=B.11.00,B.11.11,B.11.23
Decunix=V5.1A,V5.1
AIX=5.1.0.0
……

再次执行runInstaller,搞定。

当时身处某省由于通信管制没法上网,回来之后,查了metalink,确定是个unpublished Bug:4054600.详见文档ID 294682.1,处理方法,也和我的一样。
我猜想是oracle出hp pa9206的patch的时候,hp pa还没出11.23的os版本,而等hp pa出11.23的os版本的时候,oracle已经出9208的patch了,因此在9208的oraparam.ini文件中,我们看到了B.11.23这个配置,而在9206这个patch,没配置。

· 【文章发布信息】发表于: @ 18:09:43 · ||分类: ,

郑重声明:资讯 【» 在hp pa 11.23上安装9206patch OracleBlog.cn -天堂向左DBA向右】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——