2012年8月21日 星期二

Symbol resolution failed for /usr/lib/libc_r.a[aio_64.o] 解法


症狀:
root@p550/home/root>oninit -v
exec(): 0509-036 Cannot load program oninit because of the following errors:
        0509-130 Symbol resolution failed for /usr/lib/libc_r.a[aio_64.o] because:
        0509-136   Symbol kaio_rdwr64 (number 1) is not exported from
                   dependent module /unix.
        0509-136   Symbol listio64 (number 2) is not exported from
                   dependent module /unix.
        0509-136   Symbol acancel64 (number 3) is not exported from
                   dependent module /unix.
        0509-136   Symbol iosuspend64 (number 4) is not exported from
                   dependent module /unix.
        0509-136   Symbol aio_nwait (number 5) is not exported from
                   dependent module /unix.
        0509-136   Symbol aio_nwait64 (number 6) is not exported from
                   dependent module /unix.
        0509-136   Symbol aio_nwait_timeout (number 7) is not exported from
                   dependent module /unix.
        0509-136   Symbol aio_nwait_timeout64 (number 8) is not exported from
                   dependent module /unix.
        0509-026 System error: Error 0
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.

解法:
ibm官網給的指令直接照用,不需修改
詳見http://www-01.ibm.com/support/docview.wss?uid=swg21291083
說是AIO裝置沒啟用(not having Asynchronous IO (AIO) device enabled (loaded) in the server.)......
設定完需重啟server

root@p550/home/root>/usr/sbin/chdev -l aio0 -a autoconfig=available
aio0 changed
root@p550/home/root>/usr/sbin/mkdev -l aio0
aio0 Available
root@p550/home/root>shutdown -Fr