10g on aix 6.1 預檢查不通過 報aio 非同步io不通過

wengtf發表於2012-07-30

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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章