Symptom
When installing an SAP HANA Server as per the SAP HANA Server Installation and Update Guide, hdblcm hangs with the following CLI output:
Installing SAP HANA Database...
Preparing package 'Saphostagent Setup'...
Preparing package 'Python3 Runtime'...
Preparing package 'Python Support'...
Preparing package 'Product Manifest'...
Preparing package 'Binaries'...
Preparing package 'Data Quality'...
Preparing package 'Krb5 Runtime'...
Preparing package 'Installer'...
Preparing package 'Ini Files'...
Preparing package 'HWCCT'...
Preparing package 'Documentation'...
Preparing package 'Delivery Units'...
Preparing package 'Offline Cockpit'...
Preparing package 'DAT Languages (EN, DE)'...
Preparing package 'DAT Languages (other)'...
Preparing package 'DAT Configfiles (EN, DE)'...
Preparing package 'DAT Configfiles (other)'...
Creating System...
Checking the hdblcm logs, you see the following:
05:54:56.747 - INFO: Output line 35: Checking installation...
05:54:56.747 - INFO: Output line 36: Preparing package 'Saphostagent Setup'...
05:54:56.747 - INFO: Output line 37: Preparing package 'Python3 Runtime'...
05:54:56.748 - INFO: Output line 38: Preparing package 'Python Support'...
05:54:56.748 - INFO: Output line 39: Preparing package 'Product Manifest'...
05:54:56.748 - INFO: Output line 40: Preparing package 'Binaries'...
05:54:56.748 - INFO: Output line 41: Preparing package 'Data Quality'...
05:54:56.748 - INFO: Output line 42: Preparing package 'Krb5 Runtime'...
05:54:56.748 - INFO: Output line 43: Preparing package 'Installer'...
05:54:56.748 - INFO: Output line 44: Preparing package 'Ini Files'...
05:54:56.748 - INFO: Output line 45: Preparing package 'HWCCT'...
05:54:56.748 - INFO: Output line 46: Preparing package 'Documentation'...
05:54:56.748 - INFO: Output line 47: Preparing package 'Delivery Units'...
05:54:56.748 - INFO: Output line 48: Preparing package 'Offline Cockpit'...
05:54:56.748 - INFO: Output line 49: Preparing package 'DAT Languages (EN, DE)'...
05:54:56.748 - INFO: Output line 50: Preparing package 'DAT Languages (other)'...
05:54:56.748 - INFO: Output line 51: Preparing package 'DAT Configfiles (EN, DE)'...
05:54:56.748 - INFO: Output line 52: Preparing package 'DAT Configfiles (other)'...
05:54:57.923 - INFO: Output line 53: Creating System...
Enabling the installer (hdbinst) trace, you see the following in the output:
16:52:05.501 - INFO: Copying file "/sap_media/PROD_CAR/extracted/SAP_HANA_DATABASE/operations.d/HdblcmModifyComponentTrustLevel_v1.conf"
16:52:05.505 - INFO: Copying file "/sap_media/PROD_CAR/extracted/SAP_HANA_DATABASE/operations.d/hdblcm_check_system_v1.conf"
16:52:05.510 - INFO: Copying file "/sap_media/PROD_CAR/extracted/SAP_HANA_DATABASE/operations.d/hdblcm_detect_system.conf"
16:52:05.518 - INFO: Copying file "/sap_media/PROD_CAR/extracted/SAP_HANA_DATABASE/operations.d/hdblcm_update_host_v5.conf"
16:52:05.523 - INFO: Copying file "/sap_media/PROD_CAR/extracted/SAP_HANA_DATABASE/operations.d/HdbConfigureLssRemoteHost_v2.conf"
16:52:05.528 - INFO: Copying file "/sap_media/PROD_CAR/extracted/SAP_HANA_DATABASE/operations.d/HdbCollectHostInfo_v11.conf"
16:52:05.533 - INFO: Copying file "/sap_media/PROD_CAR/extracted/SAP_HANA_DATABASE/operations.d/HdbRemoveCopiedHdblcmInstaller_v2.conf"
16:52:05.537 - INFO: Copying file "/sap_media/PROD_CAR/extracted/SAP_HANA_DATABASE/operations.d/CollectComponentHashes_v3.conf"
16:52:05.542 - INFO: Copying file "/sap_media/PROD_CAR/extracted/SAP_HANA_DATABASE/operations.d/HdbAddHost_v11.conf"
16:52:05.597 - INFO: Copying signature file '/sap_media/PROD_CAR/extracted/SAP_HANA_DATABASE/./SIGNATURE.SMF' to '/hana/shared/PCW/global/hdb'
16:52:05.609 - INFO: Opening install registry
16:52:05.610 - INFO: Create new InstallRegistry file
---
Collecting an strace of the hdblcm wrapper program and all forked child processes (-f option) with the following command:
strace -o <output file name> -f ./hdblcm
You see the following in the output file:
213942 chown("/hana/shared/<SID>/global/hdb/install/config/INSTREG", 50124, 822) = 0
213942 stat("/hana/shared/<SID>/global/hdb/install/config/INSTREG", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
213942 getpid() = 213942
213942 fcntl(24, F_GETLK <unfinished ...>
212960 <... select resumed>) = 0 (Timeout)
212960 wait4(213942, 0x7ffc03eeeabc, WNOHANG, NULL) = 0
212960 select(10, [9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
---
Testing the NFS-level file locking support of the /hana/shared mount as per 1716418 with the following command:
/usr/bin/flock /hana/shared/locktest /bin/date
It is noticed that the command hangs or ends in an error message indicating that the NFS solution has not been configured to support file locking.
Read more...
Environment
SAP HANA, platform edition
Product
Keywords
KBA , HAN-LM-INS-DB , Installation of HANA Database , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.