CentOS mini 6.5 安装DB2 Express-C 问题处理记录
admin
2023-05-22 00:02:28
0

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!


相关内容

热门资讯

广西再发生5.2级地震,凤凰记... 5月18日晚,广西柳州再度发生5.2级地震。凤凰卫视记者朱家杰深入震中上步村,摄像机全程记录下采访当...
黑龙江省高校科研成果“三进三促... 中新网黑龙江新闻5月17日电(张媛媛)近日,黑龙江省高校科研成果“三进三促”专项行动——哈尔滨理工大...
GreyOrange推出AI仓... GreyOrange近日发布了一款全新的仓储模拟平台,旨在帮助运营商在实施现场变更之前,对自动化部署...
中科院高能物理研究所所长曹俊:... 5月18日,在清华大学举行的2026国际基础科学大会(ICBS 2026)新闻发布会上,中国科学院高...
新闻发布会刚结束,柳州再发地震... 中国地震台网正式测定:05月18日21时44分在广西柳州市柳南区(北纬24.37度,东经109.26...
菲律宾副总统莎拉弹劾审理程序启... 据凤凰卫视报道,菲律宾参议院5月18日下午正式组成弹劾法庭,启动对莎拉·杜特尔特的弹劾审理程序,全体...
洁丽雅报警,“私生子传闻造成严... 5月18日晚间,洁丽雅官方微博发布严正声明。声明提到,近日,网络上出现关于洁丽雅家居股份有限公司、董...
产学研共探规模化路径 量子科仪... 上证报中国证券网讯(记者 刘一枫)量子精密测量正加速跨越技术验证门槛,从“能不能用”的实验室探索,迈...
广西柳州再发生5.2级地震,震... 中国地震台网正式测定:05月18日21时44分在广西柳州市柳南区(北纬24.37度,东经109.26...
研究揭示:人们普遍认为AI比人... IT之家 5 月 18 日消息,如今,全球越来越多民众日常使用人工智能系统,尽管众多用户愿意相信人工...