1、从IBM网上下载db8.2
2、在图形界面下运行./db2setup,next就可以了
3、运行db2start,报roblem
Message SQL6048N is reported when starting WebSphere Voice Response, because DB2 is not running. However, issuing a
db2start command also fails.
The following errors are displayed from db2start:
exec(): 0509-036 Cannot load program db2stop because of the
following errors:
0509-130 Symbol resolution failed for /usr/lib/threads/libc.a?aio_64.o
because:
0509-136 Symbol kaio_rdwr64 (number 0) is not exported from
dependent module /unix.
0509-136 Symbol listio64 (number 1) is not exported from
dependent module /unix.
0509-136 Symbol acancel64 (number 2) is not exported from
dependent module /unix.
0509-136 Symbol iosuspend64 (number 3) is not exported from
dependent module /unix.
0509-136 Symbol aio_nwait (number 4) is not exported from
dependent module /unix.
0509-130 Symbol resolution failed for
/usr/opt/db2_08_01/lib64/libdb2e.a?shr_64.o? because:
0509-136 Symbol aio_nwait (number 506) is not exported from
dependent module /usr/lib/threads/libc.a?aio_64.o?.
0509-150 Dependent module libdb2e.a(shr_64.o) could not be loaded.
0509-026 System error: Cannot run a file that does not have a valid
format.
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
sigh
从google上查到是AIO的原因。
This is a known problem for DB2 Version 8 when Kernelised Asynchronous I/O (KAIO) is not enabled.
Solution
To enable KAIO:
1. Log in as root
2. Enter smitty aio
3. Select "Change / Show Characteristics of Asynchronous I/O"
4. Set the "STATE to be configured at system restart" field to "available"
5. Reboot AIX.
然后在运行db2start有出现SQL10007N Message "-1390" could not be retrieved. Reason code: "6".
上CU上向CUser询问,感谢yufengsh
说的是license的问题,让我留下mail,发license给我,好人啊!!
明天等邮件吧继续安装。^_^