SQL4401C The DB2 Administration Server encountered an error during startup.

waylau 发布于 2016/04/09 11:15
阅读 1K+
收藏 0
DB2

【华为云1024程序员节·向云而生】预约直播 抽14件华为电子产品礼包!>>>

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


加载中
0
waylau
waylau
是db2 安装前的环境没有满足的原因。

解决方法如下:


检查该环境是否满足安装的需求,这里的安装包的版本是 10.5.0.7
 

/home/software/expc/db2prereqcheck -v 10.5.0.7

 
如果检查出,环境不满足,则需要安装相应的包,比如:
 
Requirement not matched for DB2 database "Server" with pureScale feature . Version: "10.5.0.7". Summary of prerequisites that are not met on the current system: 

DBT3507E The db2prereqcheck utility failed to find the following package or file: "kernel-source". 
DBT3507E The db2prereqcheck utility failed to find the following package or file: "gcc-c++". 
DBT3507E The db2prereqcheck utility failed to find the following package or file: "cpp".

 
上面提示 kernel-source、gcc-c++、cpp 不满足安装条件,先安装上述软件
 
zypper install kernel-source 
zypper install gcc-c++ 
zypper install cpp

 
安装完成,再执行 db2prereqcheck 检查,最终输出如下,才能执行安装
 
DBT3533I The db2prereqcheck utility has confirmed that all installation prerequisites were met.

返回顶部
顶部