LoveUnix » DB2 & Informix » informix oninit 报aio错误的解决办法
让LU留住您的每

一天 让LU博客留住您的每一天
2007-7-17 14:15 小漠
informix oninit 报aio错误的解决办法

exec(): 0509-036 Cannot load program oninit because of the following errors:
        0509-130 Symbol resolution failed for /usr/lib/libc_r.a(aio.o) because:
        0509-136   Symbol kaio_rdwr (number 0) is not exported from
                   dependent module /unix.
        0509-136   Symbol listio (number 1) is not exported from
                   dependent module /unix.
        0509-136   Symbol acancel (number 2) is not exported from
                   dependent module /unix.
        0509-136   Symbol iosuspend (number 3) is not exported from
                   dependent module /unix.
        0509-136   Symbol aio_nwait (number 4) is not exported from
                   dependent module /unix.
        0509-136   Symbol aio_nwait64 (number 5) is not exported from
                   dependent module /unix.
        0509-136   Symbol aio_nwait_timeout (number 6) is not exported from
                   dependent module /unix.
        0509-136   Symbol aio_nwait_timeout64 (number 7) is not exported from
                   dependent module /unix.
        0509-026 System error: Error 0
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.

[[i] 本帖最后由 小漠 于 2007-7-17 14:48 编辑 [/i]]

2007-7-17 14:48 小漠
Make Asynchronous I/O available on system, following the next steps to set it up:
1. Log in as root
2. Type:
mkdev -l aio0
This command attempts to verify that Asynchronous I/O services are
running (available on system), if not, they are started.
3. To ensure it is configured at each system restart :
a. Type: smit aio
b. Select the menu item "Change/Show Characteristics of Asynchronous I/O"
c. Change the field "STATE to be configured at system restart" from DEFINED to AVAILABLE.

or just execute the next command and it will do the same as the previous a, b and c steps:
chdev -l aio0 -a autoconfig='available'
which should return the message "aio0 changed".

Step 3 (either of the two ways) will toggle the state to be configured at system restart to be
available, making asynchronous I/O available with each system reboot

2007-7-17 14:49 小漠
当然,其他数据库安装初始化时碰到类似错误也是一并如何解决。

2007-7-22 17:51 五“宅”一生
不会吧,竟然没有人来顶。我来一个吧!:victory: :victory:

2007-8-16 10:24 ouyelyonghu
受教了

页: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.