Tag Archives: db2 purescale Install Error

db2 purescale Install Error: ERROR: An error occurred while compiling IBM General Parallel File System (GPFS) Portability Layer (GPL) on host “cf1”. Return code “3”.

background

RedHat Linux 6.5

DB2 10.5.10

Install DB2 purescale and check the installation requirements through db2prereqcheck, but an error is reported when executing db2_install installation:

[rootserver_t]# ./db2_install 
DBI1324W  Support of the db2_install command is deprecated.

Default directory for installation of products - /opt/ibm/db2/V10.5

***********************************************************
Install into default directory (/opt/ibm/db2/V10.5) ? [yes/no] 
yes

Specify one of the following keywords to install DB2 products.

  SERVER 
  CONSV 
  EXP 
  CLIENT 
  RTCL 
 
Enter "help" to redisplay product names.

Enter "quit" to exit.

***********************************************************
SERVER
***********************************************************
Do you want to install the DB2 pureScale Feature? [yes/no] 
yes
DB2 installation is being initialized.

 Total number of tasks to be performed: 53 
Total estimated time for all tasks to be performed: 2201 second(s) 

Task #1 start
Description: Checking license agreement acceptance 
Estimated time 1 second(s) 
Task #1 end 

省略部分...

Task #47 start
Description: Installing or updating DB2 SSH Utilities 
Estimated time 5 second(s) 
Task #47 end 

Task #48 start
Description: Compiling GPL 
Estimated time 30 second(s) 
Task #48 end 

A major error occurred while installing "DB2 Server Edition " on this
computer. The installation cannot continue. If the problem persists contact
your technical service representative.

For more information see the DB2 installation log at
"/tmp/db2_install.log.38995".

Solution

Check /tmp/db2_install.log.38995 log according to the prompt

[root@cf1 server_t]# cat /tmp/db2_install.log.38995
...

ERROR: An error occurred while compiling IBM General Parallel File System
(GPFS) Portability Layer (GPL) on host "cf1". Return code "3". GPL compilation
log file location  "/tmp/compileGPL.log.000". The GPFS file system cannot be
mounted properly until the GPL module is successfully compiled on this host. 
For details, see the specified GPL compilation log. After fixing the problems
shown in the log file, re-run the DB2 installer. For information regarding the
GPFS GPL module compile, see DB2 Information Center.

Compiling GPL :.......Failure 
ERROR: A major error occurred while installing "DB2 Server Edition " on this
computer. The installation cannot continue. If the problem persists contact
your technical service representative.

...

 

Reference: https://www.ibm.com/support/pages/purescale-installation-failed-compiling-ibm-general-parallel-file-system-gpfs-portability-layer-gpl, it should be caused by the kernel version problem.

 

Check the current system kernel version, the operating system kernel version is 2.6.32-754.35

[root@cf1]# uname -r
2.6.32-754.35.1.el6.x86_64

 

Check the installed kernel and find that kernel-2.6.32-431.el6.x86_64 is inconsistent with the kernel version of the operating system

[root@cf1]# rpm -qa | grep kerne
abrt-addon-kerneloops-2.0.8-44.el6.centos.x86_64
kernel-headers-2.6.32-754.35.1.el6.x86_64
dracut-kernel-004-411.el6.noarch
kernel-firmware-2.6.32-754.35.1.el6.noarch
kernel-devel-2.6.32-754.35.1.el6.x86_64
kernel-2.6.32-431.el6.x86_64
kernel-2.6.32-754.35.1.el6.x86_64
libreport-plugin-kerneloops-2.0.9-34.el6.centos.x86_64

 

uninstall kernel-2.6.32-431.el6.x86_64

[root@cf1]# yum remove -y kernel-2.6.32-431.el6.x86_64

 

Re-execute db2_install to successfully install db2 purescale

[root@cf1]# ./db2_install 
DBI1324W  Support of the db2_install command is deprecated.


 
Default directory for installation of products - /opt/ibm/db2/V10.5

***********************************************************
Install into default directory (/opt/ibm/db2/V10.5) ? [yes/no] 
yes
 
 
Specify one of the following keywords to install DB2 products.

  SERVER 
  CONSV 
  EXP 
  CLIENT 
  RTCL 
 
Enter "help" to redisplay product names.

Enter "quit" to exit.

***********************************************************
SERVER
***********************************************************
Do you want to install the DB2 pureScale Feature? [yes/no] 
yes
DB2 installation is being initialized.

 Total number of tasks to be performed: 9 
Total estimated time for all tasks to be performed: 150 second(s) 

Task #1 start
Description: Installing or updating DB2 HA scripts for IBM Tivoli System Automation for Multiplatforms (Tivoli SA MP) 
Estimated time 40 second(s) 
Task #1 end 

Task #2 start
Description: Compiling GPL 
Estimated time 30 second(s) 
Task #2 end 

Task #3 start
Description: Executing control tasks 
Estimated time 20 second(s) 
Task #3 end 

Task #4 start
Description: Updating global registry 
Estimated time 20 second(s) 
Task #4 end 

Task #5 start
Description: Updating the db2ls and db2greg link 
Estimated time 1 second(s) 
Task #5 end 

Task #6 start
Description: Setting default global profile registry variables 
Estimated time 1 second(s) 
Task #6 end 

Task #7 start
Description: Initializing instance list 
Estimated time 5 second(s) 
Task #7 end 

Task #8 start
Description: Registering DB2 Update Service 
Estimated time 30 second(s) 
Task #8 end 

Task #9 start
Description: Updating global profile registry 
Estimated time 3 second(s) 
Task #9 end 

The execution completed successfully.

For more information see the DB2 installation log at
"/tmp/db2_install.log.87073".

Refer to the official solution: https://www.ibm.com/support/pages/purescale-installation-failed-compiling-ibm-general-parallel-file-system-gpfs-portability-layer-gpl