10g on aix 6.1 预检查不通过 报aio 异步io不通过

10g on aix 6.1 预检查不通过 报aio 异步io不通过

AIX版本:AIX 6.1

Oracle版本:Oracle10.2.0.1.0

需要下载的Oracle安装介质:10gr2_aix5l64_database.cpio

p8202632_10205_AIX64-5L.zip

 

检查过程如下,到执行rootpre.sh的时候问题出来了:

有哥们网上装10203的时候遇到类似的问题,解决!拿出来分享下,至于我的结果是否适合10205,请看下文。 

1.    安装前的系统补丁检查:

 

操作系统版本在AIX 6.1 SP 1 (AIX 6100-00-01)及以上时,确认打上以下APAR补丁:

 

IZ10223: OLSON TIMEZONE SETTINGS IS NOT WORKING FOR 64BIT APPLICATIONS. APPLIES TO AIX 6100-00

 

检查方法:

 

# instfix -i |grep IZ10223

All filesets for IZ10223 were found.

 

另,需确认已安装包bos.adt.libm, bos.adt.prof, bos.cifs_fs.rte

 

检查方法:lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat bos.perf.libperfstat bos.perf.proctools bos.adt.prof bos.cifs_fs.rte

 

# lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat bos.perf.libperfstat bos.perf.proctools bos.adt.prof bos.cifs_fs.rte

 Fileset                     Level State     Description        

 ----------------------------------------------------------------------------

Path: /usr/lib/objrepos

 bos.adt.base             6.1.6.15 COMMITTED Base Application Development

                                                Toolkit

 bos.adt.lib               6.1.2.0 COMMITTED Base Application Development

                                                Libraries

 bos.adt.libm              6.1.6.0 COMMITTED Base Application Development

                                                Math Library

 bos.adt.prof             6.1.6.15 COMMITTED Base Profiling Support

 bos.cifs_fs.rte          6.1.6.15 COMMITTED Runtime for SMBFS

 bos.perf.libperfstat     6.1.6.15 COMMITTED Performance Statistics Library

                                                Interface

 bos.perf.perfstat        6.1.6.15 COMMITTED Performance Statistics

                                                Interface

 bos.perf.proctools       6.1.6.15 COMMITTED Proc Filesystem Tools

 

Path: /etc/objrepos

 bos.adt.base             6.1.6.15 COMMITTED Base Application Development

                                                Toolkit

 bos.cifs_fs.rte          6.1.6.15 COMMITTED Runtime for SMBFS

 bos.perf.libperfstat     6.1.6.15 COMMITTED Performance Statistics Library

                                                Interface

 bos.perf.perfstat         6.1.6.0 COMMITTED Performance Statistics

                                                Interface

 

2.    当以root用户运行Oracle 10gR2的“rootpre.sh”时,会显示AIX AIO的错误信息:

 

# ./rootpre.sh

./rootpre.sh output will be logged in /tmp/rootpre.out_11-12-31.09:09:02

Saving the original files in /etc/ora_save_11-12-31.09:09:02....

Copying new kernel extension to /etc....

Loading the kernel extension from /etc

 

 Oracle Kernel Extension Loader for AIX

      Copyright (c) 1998,1999 Oracle Corporation

 

 

 Kernel Extension /etc/pw-syscall.64bit_kernel already loaded, unloading it

 Unconfigured the kernel extension successfully

 Unloaded the kernel extension successfully

 Successfully loaded /etc/pw-syscall.64bit_kernel with kmid: 0x50cfc000

 Successfully configured /etc/pw-syscall.64bit_kernel with kmid: 0x50cfc000

The kernel extension was successfuly loaded.

 

Configuring Asynchronous I/O....

Asynchronous I/O is not installed on this system.

You will need to install it, and either configure it yourself using

'smit aio' or rerun the Oracle root installation procedure.

 

Configuring POSIX Asynchronous I/O....

Posix Asynchronous I/O is not installed on this system.

You will need to install it, and either configure it yourself using

'smit aio' or rerun the Oracle root installation procedure.

 

Checking if group services should be configured....

Nothing to configure.

 

解决方法:

下载并使用10.2.0.3版本上的patch 6718715p6718715_10203_AIX64-5L.zip)来替换原来的rootpre目录。

 

在解压p6718715_10203_AIX64-5L.zip文件时,由于默认AIX安装是不自带unzip工具的,所以无法直接解压zip文件,这时可以使用Oracle安装目录下的unzip工具,具体路径:

~/Disk1/install/unzip

 

再执行rootpre.sh后无报错:

# ./rootpre.sh

./rootpre.sh output will be logged in /tmp/rootpre.out_11-12-31.09:09:47

Saving the original files in /etc/ora_save_11-12-31.09:09:47....

Copying new kernel extension to /etc....

Loading the kernel extension from /etc

 

 Oracle Kernel Extension Loader for AIX

      Copyright (c) 1998,1999 Oracle Corporation

 

 

 Kernel Extension /etc/pw-syscall.64bit_kernel already loaded, unloading it

 Unconfigured the kernel extension successfully

 Unloaded the kernel extension successfully

 Successfully loaded /etc/pw-syscall.64bit_kernel with kmid: 0x50cfc000

 Successfully configured /etc/pw-syscall.64bit_kernel with kmid: 0x50cfc000

The kernel extension was successfuly loaded.

 

Checking if group services should be configured....

Nothing to configure.

 

3.    执行runInstaller时注意事项

 

Oracle用户执行runInstaller时需要增加-ignoreSysPrereqs参数:

./runInstaller -ignoreSysPrereqs

 

同时,在进行Product-Specific Prerequisite Checks时,在Checking operationg system requirements时会由于AIX版本不支持而出现告警。

 

 

这时可在复选框里打钩,用户自己确认(Status会变为User Verified)。

 

 

4.    其他报错

1)安装数据库的时候,同事发现操作系统的系统时间不对,于是在我安装前将时间回调了1天,然后我开始安装数据库。在执行runInstaller的时候,出现了以下报错:

 

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-12-30_02-24-52PM. Please wait ...oracle@fedb_a@/oracle/Disk1 $ Oracle Universal Installer, Version10.2.0.1.0 Production

Copyright (C) 1999, 2005, Oracle. All rights reserved.

 

touch: cannot change times on /var/opt/freeware/lib/rpm/packages.rpm

rpm_share: 0645-007 ATTENTION: set_time_token() returned an unexpected result.

 

这个报错与系统时间调整有关,set_time_token()函数的调用返回了非预期结果,不过安装仍能继续。考虑到可能有潜在的隐患,最后还是在第二天重新装了一次数据库,重装时报错已消失。

 

2)执行runInstaller安装时,每次到60%安装界面就会无反映

 

检查了Inventory目录下的日志,发现有err结尾的安装日志文件。

 

cat /oracle/oraInventory/logs/oraInstall2011-12-30_04-42-55PM.err后发现以下报错:

 

Caught UnknownHostException: fedb_b: fedb_b

 

原来是主机名无法解析,查了下系统目前的主机名:fedb_b

再看了下/etc/hosts中的定义,没有fedb_b的定义,看来这个就是原因了。

将主机名的定义写到/etc/hosts后,问题解决,安装正常完成。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22907091/viewspace-738749/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/22907091/viewspace-738749/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值