安装了 DB2 Express-C ,想启动 DAS 报错。
dasusr@linux-rrkj:~> db2admin start SQL4401C The DB2 Administration Server encountered an error during startup.
我把 DAS 删了再创建,还是一个样
linux-rrkj:/opt/ibm/db2/V10.5/instance # ./dasdrop DBI1070I Program dasdrop completed successfully. linux-rrkj:/opt/ibm/db2/V10.5/instance # ./dascrt -u dasusr DBI1070I Program dascrt completed successfully.
是db2安装前的环境没有满足的原因。
解决方法如下:
<spanstyle="color:#666666;font-family:'HelveticaNeue',STHeiti,微软雅黑,'MicrosoftYaHei',Helvetica,Arial,sans-serif;font-size:14px;line-height:22.4px;background-color:#FFFFFF;">检查该环境是否满足安装的需求,这里的安装包的版本是 10.5.0.7
<spanstyle="color:#666666;font-family:'HelveticaNeue',STHeiti,微软雅黑,'MicrosoftYaHei',Helvetica,Arial,sans-serif;font-size:14px;line-height:22.4px;background-color:#FFFFFF;">
/home/software/expc/db2prereqcheck-v10.5.0.7
RequirementnotmatchedforDB2database"Server"withpureScalefeature.Version:"10.5.0.7".Summaryofprerequisitesthatarenotmetonthecurrentsystem:DBT3507EThedb2prereqcheckutilityfailedtofindthefollowingpackageorfile:"kernel-source".DBT3507EThedb2prereqcheckutilityfailedtofindthefollowingpackageorfile:"gcc-c++".DBT3507EThedb2prereqcheckutilityfailedtofindthefollowingpackageorfile:"cpp".
zypperinstallkernel-sourcezypperinstallgcc-c++zypperinstallcpp
DBT3533IThedb2prereqcheckutilityhasconfirmedthatallinstallationprerequisitesweremet.
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。