操作系统Centos6.8版本Linux localhost.localdomain 2.6.32-696.30.1.el6.x86_64 #1 SMP Tue May 22 03:28:18 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
数据库DB2版本v11.1_linuxx64_server_t.tar.gz
执行DB2安装前检查报错:
Validating "kernel-source" ...
DBT3507E The db2prereqcheck utility failed to find the following package or file: "kernel-source".
ERROR : Requirement not matched.
下载内核rpm包安装:
kernel-2.6.32-696.30.1.el6.centos.plus.src.rpm
安装以后执行rpmbuild -bp --target=uname -m
kernel.spec 2> prep-err.log | tee prep-out.log
然后在root用户主目录下 rpmbuild/BUILD目录中有目录kernel-2.6.32-696.30.1.el6/linux-2.6.32-696.30.1.el6.centos.plus.x86_64
内容为:
重新执行DB2安装前检查,发现还是报错:
Validating "kernel-source" ...
DBT3507E The db2prereqcheck utility failed to find the following package or file: "kernel-source".
ERROR : Requirement not matched.
这个问题反复出现,不知道该怎么解决了。该从哪里入手呢?