Symptom
While upgrading a HANA system <SID> to a new revision, the upgrade fails during the 'hdbnsutil -createSecureStore' phase
The hdblcm logs show the following errors
10:00:05.124 - INFO: ---------------------------------------------------------
10:00:05.124 - INFO: END: Starting service (sapstartsrv) (start: 10:00:02.097 duration: 00:00:03)
10:00:05.124 - INFO: ---------------------------------------------------------
10:00:05.124 - INFO: Checking current secure store setup...
10:00:26.877 - INFO: Detected current secure store: SSFS
10:00:26.877 - INFO: Performing secondary system check
10:00:26.877 - INFO: Checking system replication mode
10:00:26.989 - INFO: Switching to user id 1001 and group id 1001.
10:00:26.990 - INFO: Starting external program /usr/sap/SID/HDB00/exe/hdbnsutil
10:00:26.990 - INFO: Command line is: /usr/sap/SID/HDB00/exe/hdbnsutil -sr_state
10:00:28.047 - INFO: Output line 1:
10:00:28.047 - INFO: Output line 2: System Replication State
10:00:28.047 - INFO: Output line 3: ~~~~~~~~~~~~~~~~~~~~~~~~
10:00:28.047 - INFO: Output line 4:
10:00:28.047 - INFO: Output line 5: online: true
10:00:28.047 - INFO: Output line 6:
10:00:28.047 - INFO: Output line 7: mode: none
10:00:28.047 - INFO: Output line 8: done.
10:00:28.076 - INFO: Program terminated with exit code 0
10:00:28.076 - INFO: Switching back to root user.
10:00:28.077 - INFO: System replication mode is: none
10:00:28.077 - INFO: ---------------------------------------------------------
10:00:28.077 - INFO: Creating SecureStore
10:00:28.077 - INFO: ---------------------------------------------------------
10:00:28.077 - INFO: Found value 'cryptography/ssfs_key_file_path' = '$(DIR_GLOBAL)/hdb/security/ssfs' in layer 'Default'
10:00:28.182 - INFO: Switching to user id 1001 and group id 1001.
10:00:28.183 - INFO: Starting external program /usr/sap/SID/HDB00/exe/hdbnsutil
10:00:28.183 - INFO: Command line is: /usr/sap/SID/HDB00/exe/hdbnsutil -createSecureStore
10:00:29.282 - INFO: Output line 1: nameserver Hostname:30001 is still active. cannot open its SSFS
10:00:29.282 - INFO: Output line 2: failed.
10:00:29.308 - INFO: Program terminated with exit code 1
10:00:29.308 - INFO: Switching back to root user.
10:00:29.309 - ERR : /usr/sap/SID/HDB00/exe/hdbnsutil call failed [rc = 1]
10:00:29.309 - INFO: ---------------------------------------------------------
10:00:29.309 - INFO: END: Create SecureStore (start: 10:00:28.077 duration: 00:00:01)
10:00:29.309 - INFO: ---------------------------------------------------------
10:00:29.309 - ERR : Cannot create SecureStore
10:00:29.309 - ERR : error upgrading
10:00:29.309 - ERR : Upgrade failed
10:00:29.360 - INFO: Wrote 2218192 bytes
10:00:29.360 - INFO: InstallRegistry successfully unlocked
10:00:29.360 - INFO: InstallRegistry closed
10:00:29.381 - INFO: Summary of critical errors
10:00:29.309 - ERR : Upgrade failed
10:00:29.309 - ERR : error upgrading
10:00:29.309 - ERR : Cannot create SecureStore
10:00:28.077 - INFO: Found value 'cryptography/ssfs_key_file_path' = '$(DIR_GLOBAL)/hdb/security/ssfs' in layer 'Default'
10:00:28.182 - INFO: Switching to user id 1001 and group id 1001.
10:00:28.183 - INFO: Starting external program /usr/sap/SID/HDB00/exe/hdbnsutil
10:00:28.183 - INFO: Command line is: /usr/sap/SID/HDB00/exe/hdbnsutil -createSecureStore
10:00:29.282 - INFO: Output line 1: nameserver Hostname:30001 is still active. cannot open its SSFS
10:00:29.282 - INFO: Output line 2: failed.
10:00:29.308 - INFO: Program terminated with exit code 1
10:00:29.308 - INFO: Switching back to root user.
10:00:29.309 - ERR : /usr/sap/SID/HDB00/exe/hdbnsutil call failed [rc = 1]
10:00:35.740 - INFO: END: Updating Component List (start: 10:00:35.682 duration: 00:00:00)
10:00:35.740 - INFO: -----------------------------------------------------------
10:00:35.785 - INFO: Execution Summary:
10:00:35.785 - INFO:
10:00:35.785 - INFO: Step Name | Runtime
10:00:35.785 - INFO: ------------------------------------------------------------------------
10:00:35.785 - INFO: Updating SAP HANA Database | 00:04:26
10:00:35.785 - INFO: Updating Resident hdblcm | 00:00:01
10:00:35.785 - INFO: Updating SAP HANA Database Instance Integration on Local Host | 00:00:04
10:00:35.785 - INFO: Updating Component List | 00:00:00
10:00:35.785 - INFO: |
10:00:35.785 - INFO: Total execution time | 00:04:31
10:00:35.785 - INFO:
10:00:35.787 - ERR : Update of SAP HANA Database components failed.
10:00:35.787 - INFO: Summary of critical errors
10:00:35.787 - ERR : Update of SAP HANA Database components failed.
10:00:30.151 - ERR : Update of SAP HANA Database failed
10:00:30.150 - INFO: Upgrade failed
10:00:30.150 - INFO: error upgrading
10:00:30.150 - INFO: Cannot create SecureStore
10:00:30.150 - INFO: Found value 'cryptography/ssfs_key_file_path' = '$(DIR_GLOBAL)/hdb/security/ssfs' in layer 'Default'
10:00:30.150 - INFO: Switching to user id 1001 and group id 1001.
10:00:30.150 - INFO: Starting external program /usr/sap/SID/HDB00/exe/hdbnsutil
10:00:30.150 - INFO: Command line is: /usr/sap/SID/HDB00/exe/hdbnsutil -createSecureStore
10:00:30.150 - INFO: Output line 1: nameserver Hostname:30001 is still active. cannot open its SSFS
10:00:30.150 - INFO: Output line 2: failed.
10:00:30.150 - INFO: Program terminated with exit code 1
10:00:30.150 - INFO: Switching back to root user.
10:00:30.150 - INFO: /usr/sap/SID/HDB00/exe/hdbnsutil call failed [rc = 1]
10:00:28.183 - INFO: Command line is: /usr/sap/SID/HDB00/exe/hdbnsutil -createSecureStore
10:00:29.282 - INFO: Output line 1: nameserver Hostname:30001 is still active. cannot open its SSFS
10:00:29.282 - INFO: Output line 2: failed.
10:00:29.308 - INFO: Program terminated with exit code 1
Read more...
Environment
SAP HANA, platform edition 2.0
SAP HANA, platform edition 1.0
Product
Keywords
KBA , HAN-LM-UPG-DB , Upgrade 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.
SAP Knowledge Base Article - Preview