开发者社区> 问答> 正文

SQL4401C The DB2 Administration Server ?报错

安装了 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初学者,望有人解答。


展开
收起
爱吃鱼的程序员 2020-06-09 16:04:04 1187 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    是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

    <spanstyle="color:#666666;font-family:'HelveticaNeue',STHeiti,微软雅黑,'MicrosoftYaHei',Helvetica,Arial,sans-serif;font-size:14px;line-height:22.4px;background-color:#FFFFFF;"> 
    <spanstyle="color:#666666;font-family:'HelveticaNeue',STHeiti,微软雅黑,'MicrosoftYaHei',Helvetica,Arial,sans-serif;font-size:14px;line-height:22.4px;background-color:#FFFFFF;">如果检查出,环境不满足,则需要安装相应的包,比如:
    <spanstyle="color:#666666;font-family:'HelveticaNeue',STHeiti,微软雅黑,'MicrosoftYaHei',Helvetica,Arial,sans-serif;font-size:14px;line-height:22.4px;background-color:#FFFFFF;"> 
    RequirementnotmatchedforDB2database"Server"withpureScalefeature.Version:"10.5.0.7".Summaryofprerequisitesthatarenotmetonthecurrentsystem:DBT3507EThedb2prereqcheckutilityfailedtofindthefollowingpackageorfile:"kernel-source".DBT3507EThedb2prereqcheckutilityfailedtofindthefollowingpackageorfile:"gcc-c++".DBT3507EThedb2prereqcheckutilityfailedtofindthefollowingpackageorfile:"cpp".

    <spanstyle="color:#666666;font-family:'HelveticaNeue',STHeiti,微软雅黑,'MicrosoftYaHei',Helvetica,Arial,sans-serif;font-size:14px;line-height:22.4px;background-color:#FFFFFF;"> 
    <spanstyle="color:#666666;font-family:'HelveticaNeue',STHeiti,微软雅黑,'MicrosoftYaHei',Helvetica,Arial,sans-serif;font-size:14px;line-height:22.4px;background-color:#FFFFFF;">上面提示kernel-source、gcc-c++、cpp不满足安装条件,先安装上述软件
    <spanstyle="color:#666666;font-family:'HelveticaNeue',STHeiti,微软雅黑,'MicrosoftYaHei',Helvetica,Arial,sans-serif;font-size:14px;line-height:22.4px;background-color:#FFFFFF;"> 
    zypperinstallkernel-sourcezypperinstallgcc-c++zypperinstallcpp

    <spanstyle="color:#666666;font-family:'HelveticaNeue',STHeiti,微软雅黑,'MicrosoftYaHei',Helvetica,Arial,sans-serif;font-size:14px;line-height:22.4px;background-color:#FFFFFF;"> 
    <spanstyle="color:#666666;font-family:'HelveticaNeue',STHeiti,微软雅黑,'MicrosoftYaHei',Helvetica,Arial,sans-serif;font-size:14px;line-height:22.4px;background-color:#FFFFFF;">安装完成,再执行db2prereqcheck检查,最终输出如下,才能执行安装
    <spanstyle="color:#666666;font-family:'HelveticaNeue',STHeiti,微软雅黑,'MicrosoftYaHei',Helvetica,Arial,sans-serif;font-size:14px;line-height:22.4px;background-color:#FFFFFF;"> 
    DBT3533IThedb2prereqcheckutilityhasconfirmedthatallinstallationprerequisitesweremet.

    2020-06-09 16:04:23
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
SQL Server 2017 立即下载
GeoMesa on Spark SQL 立即下载
原生SQL on Hadoop引擎- Apache HAWQ 2.x最新技术解密malili 立即下载