重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
I. 安装DB2提示缺少32bit libpam.so包
创新互联公司是一家专注于网站建设、成都网站制作与策划设计,襄垣网站建设哪家好?创新互联公司做网站,专注于网站建设十年,网设计领域的专业建站公司;建站业务涵盖:襄垣等地区。襄垣做网站价格咨询: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.
执行安装命令时添加“-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!