CentOS mini 6.5 安裝DB2 Express-C 問題處理記錄

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!


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章