首页 > 代码库 > db2启动报错 db2start启动
db2启动报错 db2start启动
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,上传,安装
[plain] view plain copy
[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了:
[plain] view plain copy
[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 ~]$
本文出自 “点点滴滴” 博客,转载请与作者联系!
db2启动报错 db2start启动