搭建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