aix系統資料庫sqlplus登陸報錯處理一例

shuyingxi發表於2017-11-29
搭建oracle12c備機過程中發現sqlplus登陸報錯如下:
[xdhsdb@oracle:/oracle]$sqlplus

exec(): 0509-036 Cannot load program sqlplus because of the following errors:
        0509-130 Symbol resolution failed for /oracle/app/oracle/product/12.2.0/dbhome_1/lib/libons.so because:
        0509-136   Symbol CreateIoCompletionPort (number 93) is not exported from
                   dependent module /unix.
        0509-136   Symbol GetQueuedCompletionStatus (number 94) is not exported from
                   dependent module /unix.
        0509-136   Symbol ReadFile (number 95) is not exported from
                   dependent module /unix.
        0509-136   Symbol WriteFile (number 96) is not exported from
                   dependent module /unix.
        0509-026 System error: Error 0
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.

因為筆者之前是解壓縮tar包的方式安裝oracle的,都沒有問題。搜尋了網上都是系統相關問題
檢查了iocp引數果然沒有改
[xdhsdb@oracle:/oracle]$lsdev |grep iocp
iocp0      Defined               I/O Completion Ports

修改引數重啟後解決問題
[xdhsdb@root:/]#chdev -l iocp0 -P -a autoconfig='available';
iocp0 changed

總結:
因為該備機的rootvg筆者是透過克隆方式複製過來的,雖然克隆原機引數修改了,但是克隆之後發現這個引數會被重置為預設狀態。

另外一些系統引數也需要修改並重啟
chdev -l sys0 -a maxuproc=16384
chdev -l sys0 -a maxbuf=500

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/438414/viewspace-2147942/,如需轉載,請註明出處,否則將追究法律責任。

相關文章