# cd /tmp
# tar zxvf /mnt/db2exc_912_LNX_x86.tar.gz
# cd exp/disk1/
# ./db2_install
/tmp/exp/disk1/db2/linux/install/../bin/db2langdir: error while loading shared libraries: ./libimf.so: cannot restore segment prot after reloc: Permission denied
/tmp/exp/disk1/db2/linux/install/../bin/db2langdir: error while loading shared libraries: ./libimf.so: cannot restore segment prot after reloc: Permission denied
DBI1055E The message file db2install.cat cannot be found.
Explanation: The message file required by this
script is missing from the system; it may have been
deleted or the database products may have been loaded
incorrectly.
User Response: Verify that the product option containing
the message file is installed correctly. If there are
verification errors; reinstall the product option.
出现上述错误后,
Disable SELinux using the following command and run db2setup.
# /usr/sbin/setenforce 0
再次运行 安装程序
# ./db2_install
用于安装产品的缺省目录是 /opt/ibm/db2/V9.1
***********************************************************
想要选择另一个目录来进行安装吗 [是/否]?
否
指定下面的一个或多个关键字
(用空格分隔)以安装 DB2 产品。
EXP
输入 "help" 以重新显示产品名。
输入 "quit" 以退出。
***********************************************************
EXP
DB2 installation is being initialized.
Total number of tasks to be performed: 44
Total estimated time for all tasks to be performed: 803
Task #1 start
Description: Checking license agreement acceptance
Estimated time 1 second(s)
Task #1 end
Task #2 start
Description: GSKit support
Estimated time 19 second(s)
Task #2 end
Task #3 start
Description: Product Messages - English
Estimated time 10 second(s)
Task #3 end
Task #4 start
Description: Base client support
Estimated time 68 second(s)
Task #4 end
Task #5 start
Description: IBM Software Development Kit (SDK) for Java(TM)
Estimated time 108 second(s)
Task #5 end
Task #6 start
Description: Java Help (HTML) - English
Estimated time 7 second(s)
Task #6 end
Task #7 start
Description: Replication with MQ Server
Estimated time 22 second(s)
Task #7 end
Task #8 start
Description: Run-time Environment
Estimated time 79 second(s)
Task #8 end
Task #9 start
Description: Java support
Estimated time 6 second(s)
Task #9 end
Task #10 start
Description: SQL procedures
Estimated time 3 second(s)
Task #10 end
Task #11 start
Description: ICU Utilities
Estimated time 39 second(s)
Task #11 end
Task #12 start
Description: SQL Replication Support
Estimated time 19 second(s)
Task #12 end
Task #13 start
Description: Java Common files
Estimated time 20 second(s)
Task #13 end
Task #14 start
Description: Base server support
Estimated time 48 second(s)
Task #14 end
Task #15 start
Description: Control Center Help (HTML) - English
Estimated time 13 second(s)
Task #15 end
Task #16 start
Description: Configuration Assistant
Estimated time 4 second(s)
Task #16 end
Task #17 start
Description: Spatial Extender client
Estimated time 6 second(s)
Task #17 end
Task #18 start
Description: Base application development tools
Estimated time 11 second(s)
Task #18 end
Task #19 start
Description: Administration Server
Estimated time 7 second(s)
Task #19 end
Task #20 start
Description: Communication support - TCP/IP
Estimated time 3 second(s)
Task #20 end
Task #21 start
Description: Control Center
Estimated time 38 second(s)
Task #21 end
Task #22 start
Description: Replication tools
Estimated time 13 second(s)
Task #22 end
Task #23 start
Description: Relational wrappers common
Estimated time 3 second(s)
Task #23 end
Task #24 start
Description: DB2 data source support
Estimated time 4 second(s)
Task #24 end
Task #25 start
Description: DB2 LDAP support
Estimated time 3 second(s)
Task #25 end
Task #26 start
Description: DB2 Instance Setup wizard
Estimated time 4 second(s)
Task #26 end
Task #27 start
Description: Product Signature for DB2 Express Server Edition
Estimated time 3 second(s)
Task #27 end
Task #28 start
Description: XML Extender
Estimated time 11 second(s)
Task #28 end
Task #29 start
Description: First Steps
Estimated time 3 second(s)
Task #29 end
Task #30 start
Description: DB2 Web Tools
Estimated time 12 second(s)
Task #30 end
Task #31 start
Description: XML Extender samples
Estimated time 3 second(s)
Task #31 end
Task #32 start
Description: ADT sample programs
Estimated time 18 second(s)
Task #32 end
Task #33 start
Description: Sample database source
Estimated time 4 second(s)
Task #33 end
Task #34 start
Description: Spatial Extender samples
Estimated time 3 second(s)
Task #34 end
Task #35 start
Description: Informix data source support
Estimated time 3 second(s)
Task #35 end
Task #36 start
Description: Setting DB2 library path
Estimated time 120 second(s)
Task #36 end
Task #37 start
Description: Executing control tasks
Estimated time 20 second(s)
Task #37 end
Task #38 start
Description: Updating global registry
Estimated time 20 second(s)
Task #38 end
Task #39 start
Description: Starting DB2 Fault Monitor
Estimated time 10 second(s)
Task #39 end
Task #40 start
Description: Updating the db2ls link
Estimated time 1 second(s)
Task #40 end
Task #41 start
Description: Registering DB2 licenses
Estimated time 5 second(s)
Task #41 end
Task #42 start
Description: Setting default global profile registry variables
Estimated time 1 second(s)
Task #42 end
Task #43 start
Description: Initializing instance list
Estimated time 5 second(s)
Task #43 end
Task #44 start
Description: Updating global profile registry
Estimated time 3 second(s)
Task #44 end
The execution completed successfully.
For more information see the DB2 installation log at
"/tmp/db2_install.log.4539".
安装成功
运行db2setup设置
# ./db2setup