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