码迷,mamicode.com
首页 > 数据库 > 详细

db2启动报错 db2start启动

时间:2016-11-28 01:23:37      阅读:465      评论:0      收藏:0      [点我收藏+]

标签:db2 启动 报错

db2start启动失败


  1. [db2inst1@localhost ~]$ db2start   

  2. 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 技术分享技术分享

  1. [root@localhost db2]# rpm -ivh libaio-0.3.93-4.i386.rpm   

  2. warning: libaio-0.3.93-4.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e  

  3. Preparing...                ########################################### [100%]  

  4.    1:libaio                 ########################################### [100%]  

  5. [root@localhost db2]#   


然后就可以启动db2了:



[plain] view plain copy 技术分享技术分享

  1. [db2inst1@localhost ~]$ db2start   

  2. SQL1063N  DB2START 处理成功。  

  3. [db2inst1@localhost ~]$ netstat -atn | grep 50000  

  4. tcp        0      0 0.0.0.0:50000               0.0.0.0:*                   LISTEN        

  5. [db2inst1@localhost ~]$   



本文出自 “点点滴滴” 博客,转载请与作者联系!

db2启动报错 db2start启动

标签:db2 启动 报错

原文地址:http://10718270.blog.51cto.com/10708270/1877151

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!