1. Run pre-requisite checks:
[root@rhel-server-64-x86-64 aese]# ./db2prereqcheck
==========================================================================
Checking DB2 prerequisites for DB2 database version 10.1.0.0 on operating system "Linux"
Validating Linux distribution ...
Required minimum operating system distribution: "RHEL"; Version: "5"; Service pack: "6".
Actual operating system distribution Version: "6"; Service pack: "4".
Requirement matched.
Validating kernel level ...
Required minimum operating system kernel level : "2.6.16".
Actual operating system kernel level: "2.6.32".
Requirement matched.
Validating C++ Library version ...
Required minimum C++ library: libstdc++.so.6
Standard C++ library is located in the following directory: "/usr/lib64/libstdc++.so.6.0.13".
Actual C++ library: CXXABI_1.3.1
Requirement matched.
Validating 32 bit version of libstdc++.so.6 ...
Found the 64 bit "/usr/lib64/libstdc++.so.6" in the following directory "/usr/lib64".
DBT3514W The db2prereqcheck utility failed to find the following 32-bit library file: "libstdc++.so.6".
Validating libaio.so version ...
Loading the libaio.so.1 succeed.
Requirement matched.
DBT3533I The db2prereqcheck utility has confirmed that all installation prerequisites were met for DB2 database server . Version: "10.1.0.0".
Note: the following is OK if fail because we are not running DB2 cluster:
==========================================================================
Checking DB2 prerequisites for DB2 database version 10.1.0.0 on operating system "Linux"
Validating Linux distribution ...
Required minimum operating system distribution: "RHEL"; Version: "5"; Service pack: "6".
Actual operating system distribution Version: "6"; Service pack: "4".
Requirement matched.
Validating kernel level ...
Required minimum operating system kernel level : "2.6.16".
Actual operating system kernel level: "2.6.32".
Requirement matched.
Validating SELinux status ...
SELinux is enabled.
ERROR:
GPFS is not supported with SELinux enabled. Disable SELinux and then proceed to DB2 installation.
ERROR: Requirement not matched.
Validating C++ Library version ...
Required minimum C++ library: libstdc++.so.6
Standard C++ library is located in the following directory: "/usr/lib64/libstdc++.so.6.0.13".
Actual C++ library: CXXABI_1.3.1
Requirement matched.
Validating 32 bit version of libstdc++.so.6 ...
Found the 64 bit "/usr/lib64/libstdc++.so.6" in the following directory "/usr/lib64".
DBT3514W The db2prereqcheck utility failed to find the following 32-bit library file: "libstdc++.so.6".
Validating libc.so version ...
glibc library is located in the following directory "/lib64/libc-2.12.so".
Required minimum glibc library version: 2.4.0
Actual glibc library version: 2.12.0
Requirement matched.
Validating libaio.so version ...
Loading the libaio.so.1 succeed.
Requirement matched.
Validating dapl ...
Required minimum version and release for dapl: 2.0.25-(null)
DBT3507E The db2prereqcheck utility failed to verify installation prerequisites because the utility failed to find the following package or file: "dapl".
ERROR: Requirement not matched.
Validating sg3_utils ...
DBT3507E The db2prereqcheck utility failed to verify installation prerequisites because the utility failed to find the following package or file: "sg3_utils".
ERROR: Requirement not matched.
Validating sg_persist ...
DBT3507E The db2prereqcheck utility failed to verify installation prerequisites because the utility failed to find the following package or file: "sg_persist".
ERROR: Requirement not matched.
Requirement not matched for DB2 database server with DB2 pureCluster feature. Version: "10.1.0.0".
Summary of prerequisites that are not met on the current system:
DBT3507E The db2prereqcheck utility failed to verify installation prerequisites because the utility failed to find the following package or file: "sg_persist".
DBT3507E The db2prereqcheck utility failed to verify installation prerequisites because the utility failed to find the following package or file: "sg3_utils".
Required minimum version and release for dapl: 2.0.25-(null)
DBT3507E The db2prereqcheck utility failed to verify installation prerequisites because the utility failed to find the following package or file: "dapl".
ERROR:
GPFS is not supported with SELinux enabled. Disable SELinux and then proceed to DB2 installation.
==========================================================================
2. Once pre-requisites checks are done, run db2setup:
(note please ensure you have the hostname in /etc/hosts)
3. Choose Custom
4. And then follow the screen shots:
5. If successful you will see the following screen:
6. Next, run db2val to validate the installation:
If you did not run db2chgpath, you will get the following error:
[root@rhel-server-64-x86-64 home]# /apps/ibm/db2/V10.1/bin/db2val
DBI1379I The db2val command is running. This can take several minutes.
DBI1334E Installation file validation failed for the DB2 copy installed
at /apps/ibm/db2/V10.1. Reason code = 1.
Explanation:
1. Some features or components have missing files or files with the
wrong size.
2. The installation image inside the install path has missing files.
3. The embedded runtime path for some DB2 library or executable files is
not set properly.
User response:
Perform one of the following actions:
1. If your DB2 copy has the DB2 pureScale Feature installed, you must
reinstall the DB2 copy to a new path by running the installFixPack
command from the installation media (installFixPack -f level -p
<new_path>), update your instance to the new copy using the db2iupdt
command, then, rerun the db2val command.
If your DB2 copy does not have DB2 pureScale installed, reinstall
the DB2 copy to the same path by running the installFixPack command
with the -f parameter (installFixPack -f level), then, rerun the
db2val command.
2. Copy the installation image into <DB2-installation-path>/sd
directory.
3. For root installations, run
<DB2-installation-path>/install/db2chgpath as root. For non-root
installations, run <DB2-installation-path>/install/db2chgpath as the
copy owner. Rerun the db2val command.
Related information
installFixPack - Update installed DB2 database products command
DBI1344E The validation tasks of the db2val command failed. For
details, see the log file /tmp/db2val-131017_162451.log.
7. Run db2chgpath (if needed):
[root@rhel-server-64-x86-64 install]# ./db2chgpath
The output will be saved in /tmp/db2chgpath.log.31900
Starting the update of runtime path ...
Thu Oct 17 16:27:16 SGT 2013
Changing the embedded runtime path for DB2 deliverables installed
under /apps/ibm/db2/V10.1 from /apps/ibm/db2/V10.1/ to /apps/ibm/db2/V10.1/
---> Please wait
Output was saved in the log file /tmp/db2chgpath.log.31900
Thu Oct 17 16:27:59 SGT 2013
Program db2chgpath completed successfully.
8, Re-run db2val.
Note: you might still get an error if you have PureScale option but did not install it.
No comments:
Post a Comment