老系統,一直正常運營,突然資料庫無法訪問,情況如下:
aix5.3的系統,安裝有Oracle9i
登陸aix系統,發現監聽已被中斷,準備重啟資料庫
(1)oracle$lsnrctl start
監聽正常啟動
(2)
- oracle$sqlplus /nolog
- SQL>connect /as sysdba
- connected to an idle instance.
- SQL>startup;
- oracle instance started.
- ……
- ……
- ……
- Database mounted.
mounted成功後報錯:如下
- ORA-27061: skgfospo: waiting for async I/Os failed
- IBM AIX RISC System/6000 Error: 22: Invalid argument
- ORA-27061: skgfospo: waiting for async I/Os failed
- IBM AIX RISC System/6000 Error: 22: Invalid argument
- ORA-27061: skgfospo: waiting for async I/Os failed
- IBM AIX RISC System/6000 Error: 22: Invalid argument
- ORA-27061: skgfospo: waiting for async I/Os failed
- IBM AIX RISC System/6000 Error: 22: Invalid argument
分析:
看錯誤資訊提示好像是系統IO非同步問題
未查到原因,重啟aix
shutdown -Fr
啟動資料庫,依然是:ORA-27061: skgfospo: waiting for async I/Os failed
具體原因應該是aix5.3系統問題,需要打IBM補丁:Fix APAR IZ03260
有一種臨時解決方案:加大maxreqs的參數
切換到root
#chdev -l aio0 -P -a maxreqs=16384
重啟資料庫正常。
但是重啟aix系統之後,依然無法啟動資料庫,還是安裝了aix系統補丁才徹底解決。