I. 安裝DB2提示缺少32bit libpam.so包
創(chuàng)新互聯(lián)公司是一家專注于網(wǎng)站建設(shè)、成都網(wǎng)站制作與策劃設(shè)計,襄垣網(wǎng)站建設(shè)哪家好?創(chuàng)新互聯(lián)公司做網(wǎng)站,專注于網(wǎng)站建設(shè)十年,網(wǎng)設(shè)計領(lǐng)域的專業(yè)建站公司;建站業(yè)務(wù)涵蓋:襄垣等地區(qū)。襄垣做網(wǎng)站價格咨詢:18982081108
[root@localhost expc]# ./db2_install Requirement 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.
執(zhí)行安裝命令時添加“-f sysreq” 參數(shù)就可以了
./db2_install -f sysreq
II. 完成安裝后啟動:db2start提示缺少libnuma.so.1包
[db2inst1@localhost ~]$ db2start db2start: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory
默認(rèn)安裝為32bit,需安裝64bit工具包
[root@localhost instance]# yum install numactl.x86_64 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirror.lzu.edu.cn base | 3.7 kB 00:00 extras | 3.4 kB 00:00 updates | 3.4 kB 00:00 updates/primary_db | 2.5 MB 00:01 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package numactl.x86_64 0:2.0.9-2.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================= Package Arch Version Repository Size ========================================================================================= Installing: numactl x86_64 2.0.9-2.el6 base 74 k Transaction Summary ========================================================================================= Install 1 Package(s) Total download size: 74 k Installed size: 171 k Is this ok [y/N]: y Downloading Packages: numactl-2.0.9-2.el6.x86_64.rpm | 74 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : numactl-2.0.9-2.el6.x86_64 1/1 Verifying : numactl-2.0.9-2.el6.x86_64 1/1 Installed: numactl.x86_64 0:2.0.9-2.el6 Complete!