千家信息网

CentOS mini 6.5 安装DB2 Express-C 问题处理记录

发表于:2025-01-23 作者:千家信息网编辑
千家信息网最后更新 2025年01月23日,I. 安装DB2提示缺少32bit libpam.so包[root@localhost expc]# ./db2_installRequirement not matched for DB2 data
千家信息网最后更新 2025年01月23日CentOS mini 6.5 安装DB2 Express-C 问题处理记录

I. 安装DB2提示缺少32bit libpam.so包

[root@localhost expc]# ./db2_installRequirement not matched for DB2 database "Server" . Version: "11.1.2.2".Summary of prerequisites that are not met on the current system:DBT3514W The db2prereqcheck utility failed to find the following 32-bit library file: "/lib/libpam.so*".DBT3514W The db2prereqcheck utility failed to find the following 32-bit library file: "libstdc++.so.6".... ...Run installation with the option "-f sysreq" parameter to force the installation.

执行安装命令时添加"-f sysreq" 参数就可以了

./db2_install -f sysreq


II. 完成安装后启动:db2start提示缺少libnuma.so.1包

[db2inst1@localhost ~]$ db2startdb2start: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

默认安装为32bit,需安装64bit工具包

[root@localhost instance]# yum install numactl.x86_64Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirror.lzu.edu.cnbase                                        | 3.7 kB     00:00extras                                      | 3.4 kB     00:00updates                                     | 3.4 kB     00:00updates/primary_db                          | 2.5 MB     00:01Setting up Install ProcessResolving Dependencies--> Running transaction check---> Package numactl.x86_64 0:2.0.9-2.el6 will be installed--> Finished Dependency ResolutionDependencies Resolved========================================================================================= Package            Arch              Version                 Repository       Size=========================================================================================Installing: numactl            x86_64            2.0.9-2.el6             base             74 kTransaction Summary=========================================================================================Install       1 Package(s)Total download size: 74 kInstalled size: 171 kIs this ok [y/N]: yDownloading Packages:numactl-2.0.9-2.el6.x86_64.rpm               |  74 kB     00:00Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning Transaction  Installing : numactl-2.0.9-2.el6.x86_64                                      1/1  Verifying  : numactl-2.0.9-2.el6.x86_64                                      1/1Installed:  numactl.x86_64 0:2.0.9-2.el6Complete!


0