db2start启动失败
[db2inst1@localhost ~]$ db2start
db2start: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
然后找一下lib包,的确没有,于是在网上下了一个,链接:
http://rpmfind.net/linux/rpm2html/search.php?query=libaio.so.1
我下载的是libaio-0.3.93-4.i386.rpm,上传,安装
[root@localhost db2]# rpm -ivh libaio-0.3.93-4.i386.rpm
warning: libaio-0.3.93-4.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:libaio ########################################### [100%]
[root@localhost db2]#
然后就可以启动db2了:
[db2inst1@localhost ~]$ db2start
SQL1063N DB2START 处理成功。
[db2inst1@localhost ~]$ netstat -atn | grep 50000
tcp 0 0 0.0.0.0:50000 0.0.0.0:* LISTEN
[db2inst1@localhost ~]$