db2 v9.7 linux 6.3安裝問題

long_small發表於2022-04-27

1  必須下載安裝基礎包,由於db2 10版本後,下載v10.5fp11_linuxx64_universal_fixpack.tar就可以直接安裝,在9.7.0.7上也照樣操作,結果解壓後,在universal上怎麼也找不到安裝命令db2_install,後來檢查是包下載錯了,必須下載基礎包v9.7fp7_linuxx64_server.tar.gz 才行,解壓後server目錄出現了安裝命令 db2_install


2 db2_install安裝問題

平臺:

(2)db2_install執行報錯

[root@long-ibm1 server]# ./db2_install 

WARNING:

   The 32 bit library file libstdc++.so.6 is not found on the system. 

   32-bit applications may be affected.  

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

   

   

  Aborting the current installation ...

  Run installation with the option "-f sysreq" parameter to force the installation.

(3) yum執行安裝缺失的包,報錯

[root@long-ibm1 server]# 

yum install libstdc++.so.6

Loaded plugins: product-id, refresh-packagekit, security, subscription-manager

Updating certificate-based repositories.

Unable to read consumer identity

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package libstdc++.i686 0:4.4.6-4.el6 will be installed

--> Processing Dependency: libm.so.6(GLIBC_2.0) for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: libm.so.6 for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: libc.so.6(GLIBC_2.3.2) for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: libc.so.6(GLIBC_2.3) for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: libc.so.6(GLIBC_2.2) for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: libc.so.6(GLIBC_2.1) for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: libc.so.6(GLIBC_2.0) for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: libc.so.6 for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: ld-linux.so.2(GLIBC_2.3) for package: libstdc++-4.4.6-4.el6.i686

--> Processing Dependency: ld-linux.so.2 for package: libstdc++-4.4.6-4.el6.i686

--> Running transaction check

---> Package glibc.i686 0:2.12-1.80.el6 will be installed

--> Processing Dependency: glibc-common = 2.12-1.80.el6 for package: glibc-2.12-1.80.el6.i686

--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.80.el6.i686

--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.80.el6.i686

---> Package libgcc.i686 0:4.4.6-4.el6 will be installed

--> Running transaction check

---> Package glibc.i686 0:2.12-1.80.el6 will be installed

--> Processing Dependency: glibc-common = 2.12-1.80.el6 for package: glibc-2.12-1.80.el6.i686

---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed

--> Finished Dependency Resolution

Error: Package: glibc-2.12-1.80.el6.i686 (rhel-oracle-lib)

           Requires: glibc-common = 2.12-1.80.el6

           Installed: glibc-common-2.14.1-6.x86_64 (installed)

               glibc-common = 2.14.1-6

           Available: glibc-common-2.12-1.80.el6.x86_64 (rhel-oracle-lib)

               glibc-common = 2.12-1.80.el6

 You could try using --skip-broken to work around the problem

** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:

glibc-headers-2.14.1-6.x86_64 has missing requires of kernel-headers

glibc-headers-2.14.1-6.x86_64 has missing requires of kernel-headers >= ('0', '2.2.1', None)

glibc-utils-2.14.1-6.x86_64 has missing requires of libgd.so.2()(64bit)




附,linux虛擬機器外網配置


cd /etc/sysconfig/network-scripts

 ls -lrt |grep ifcfg

-rw-r--r--. 1 root root   254 Apr 27  2012 ifcfg-lo

-rw-r--r--. 1 root root   298 Apr  8 09:47 ifcfg-eth0

[root@long-ibm1 network-scripts]# cat ifcfg-lo 

DEVICE=lo

IPADDR=127.0.0.1

NETMASK=255.0.0.0

NETWORK=127.0.0.0

# If you're having problems with gated making 127.0.0.0/8 a martian,

# you can change this to something else (255.255.255.255, for example)

BROADCAST=127.255.255.255

>

NAME=loopback


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25846553/viewspace-2777947/,如需轉載,請註明出處,否則將追究法律責任。

相關文章