I. 安装DB2提示缺少32bit libpam.so包
[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.
执行安装命令时添加“-f sysreq” 参数就可以了
./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
默认安装为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!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。