广告
返回顶部
首页 > 资讯 > 数据库 >CentOS mini 6.5 安装DB2 Express-C 问题处理记录
  • 881
分享到

CentOS mini 6.5 安装DB2 Express-C 问题处理记录

2024-04-02 19:04:59 881人浏览 八月长安
摘要

I. 安装DB2提示缺少32bit libpam.so包[root@localhost expc]# ./db2_install Requirement not ma

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!


您可能感兴趣的文档:

--结束END--

本文标题: CentOS mini 6.5 安装DB2 Express-C 问题处理记录

本文链接: https://www.lsjlt.com/news/40781.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作