互联网服务Db2安装配置

db2安装报错

安装数据库(DB2 9.7fp8)报错The required library file libstdc++.so.5 is not found on the system.
   但是我已经安装这个组件了
报错信息:
[root@localhost server]# ./db2prereqcheck
WARNING:
   The required library file libstdc++.so.5 is not found on the system.
WARNING:
DBT3534W  The db2prereqcheck utility determined that ASLR is set to ON and that this could cause issues with some tools.
WARNING:
   The 32-bit library file libpam.so is not found on the system.
   Check the following web site for the up-to-date system requirements
   of IBM DB2 9.7
   http://www.ibm.com/software/data/db2/udb/sysreqs.html
   http://www.software.ibm.com/data/db2/linux/validate  


执行命令:
root@localhost server]# yum install libstdc++.so.5
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package compat-libstdc++-33.i686 0:3.2.3-69.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================
Package                                      Arch                          Version                               Repository                            Size
=============================================================================================================================================================
Installing:
compat-libstdc++-33                          i686                          3.2.3-69.el6                          rhel-source                          189 k

Transaction Summary
=============================================================================================================================================================
Install       1 Package(s)

Total download size: 189 k
Installed size: 716 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : compat-libstdc++-33-3.2.3-69.el6.i686                                                                                                     1/1
  Verifying  : compat-libstdc++-33-3.2.3-69.el6.i686                                                                                                     1/1

Installed:
  compat-libstdc++-33.i686 0:3.2.3-69.el6                                                                                                                    

Complete!



再检查
root@localhost server]# ./db2prereqcheck
WARNING:
   The required library file libstdc++.so.5 is not found on the system.
WARNING:
DBT3534W  The db2prereqcheck utility determined that ASLR is set to ON and that this could cause issues with some tools.
WARNING:
   The 32-bit library file libpam.so is not found on the system.
   Check the following web site for the up-to-date system requirements
   of IBM DB2 9.7
   http://www.ibm.com/software/data/db2/udb/sysreqs.html
   http://www.software.ibm.com/data/db2/linux/validate
参与4

3同行回答

ppjava2009ppjava2009系统工程师用友汽车信息科技(上海)有限公司
64位软件需要装32位库文件,有点奇怪,本身报的就是警告应该可以忽略吧,看着碍眼就装一下吧。[root@vpc-mysql1 ~]# yum whatprovides */libpam.so Loaded plugins: security sl/filelists_db                  &n...显示全部
64位软件需要装32位库文件,有点奇怪,本身报的就是警告应该可以忽略吧,看着碍眼就装一下吧。
[root@vpc-mysql1 ~]# yum whatprovides */libpam.so
Loaded plugins: security
sl/filelists_db                                                      | 5.3 MB     00:45     
sl-security/filelists_db                                             | 3.6 MB     00:37     
sl6x/filelists_db                                                    | 5.3 MB     00:45     
sl6x-security/filelists_db                                           | 3.6 MB     00:33     
pam-devel-1.1.1-20.el6.x86_64 : Files needed for developing PAM-aware applications and
                              : modules for PAM
Repo        : sl
Matched from:
Filename    : /usr/lib64/libpam.so



pam-devel-1.1.1-20.el6.i686 : Files needed for developing PAM-aware applications and modules
                            : for PAM
Repo        : sl
Matched from:
Filename    : /usr/lib/libpam.so



pam-devel-1.1.1-20.el6_7.1.x86_64 : Files needed for developing PAM-aware applications and
                                  : modules for PAM
Repo        : sl-security
Matched from:
Filename    : /usr/lib64/libpam.so



pam-devel-1.1.1-20.el6_7.1.i686 : Files needed for developing PAM-aware applications and
                                : modules for PAM
Repo        : sl-security
Matched from:
Filename    : /usr/lib/libpam.so



pam-devel-1.1.1-20.el6.x86_64 : Files needed for developing PAM-aware applications and
                              : modules for PAM
Repo        : sl6x
Matched from:
Filename    : /usr/lib64/libpam.so



pam-devel-1.1.1-20.el6.i686 : Files needed for developing PAM-aware applications and modules
                            : for PAM
Repo        : sl6x
Matched from:
Filename    : /usr/lib/libpam.so



pam-devel-1.1.1-20.el6_7.1.x86_64 : Files needed for developing PAM-aware applications and
                                  : modules for PAM
Repo        : sl6x-security
Matched from:
Filename    : /usr/lib64/libpam.so



pam-devel-1.1.1-20.el6_7.1.i686 : Files needed for developing PAM-aware applications and
                                : modules for PAM
Repo        : sl6x-security
Matched from:
Filename    : /usr/lib/libpam.so



[root@vpc-mysql1 ~]# yum whatprovides libstdc++.so.5
Loaded plugins: security
compat-libstdc++-33-3.2.3-69.el6.i686 : Compatibility standard C++ libraries
Repo        : sl
Matched from:
Other       : libstdc++.so.5



compat-libstdc++-33-3.2.3-69.el6.i686 : Compatibility standard C++ libraries
Repo        : sl6x
Matched from:
Other       : libstdc++.so.5

从中挑32位的包来安装即可。收起
互联网服务 · 2015-08-20
浏览1964
drdb2drdb2系统工程师se
The 32-bit library file libpam.so is not found on the system. try    yum install pam-devel.i686    yum install pam-devel.x86_64显示全部
The 32-bit library file libpam.so is not found on the system.
try
    yum install pam-devel.i686
    yum install pam-devel.x86_64收起
互联网服务 · 2015-08-19
浏览1847
y5_sety5_set其它不告诉你
求专家指点到底是为什么显示全部
求专家指点到底是为什么收起
互联网服务 · 2015-08-19
浏览1860

提问者

y5_set
其它不告诉你

问题状态

  • 发布时间:2015-08-19
  • 关注会员:1 人
  • 问题浏览:4249
  • 最近回答:2015-08-20
  • X社区推广