Skip to Content
avatar image
Former Member

Error during HANA installation

While installation of HANA DB via LCM I run into some trouble:

  • Error: Loading initial content of XS Advanced Runtime
  • Error: Output line 148: [33] com.sap.xs2rt.installation.util.InstallationException: Installing the Audit-Log Service (DB) application failed: Could not update state of task auditlog-db-deploy-task: Failed to retrieve data from secure store.
  • Error: Output line 211: com.sap.xs2rt.installation.util.InstallationException: Installing the Audit-Log Service (DB) application failed: Could not update state of task auditlog-db-deploy-task: Failed to retrieve data from secure store.
  • etc.

.

Any idea / support why?

Please note the log file.

.

2018-05-17-01.txt

.

 11:30:56.314 - INFO:          Output line 137: [33]   5/17/18 11:30:55.503 AM [STG/1] OUT   Node.js
11:30:57.346 - INFO:          Output line 138: [33]   5/17/18 11:30:56.409 AM [STG/1] OUT   Node.js buildpack version 3.4.3
11:30:57.346 - INFO:          Output line 139: [33]   5/17/18 11:30:56.410 AM [STG/1] OUT   Avoid using semver ranges starting with '>' in engines.node
11:30:57.346 - INFO:          Output line 140: [33]   5/17/18 11:30:56.412 AM [STG/1] OUT   Available Node.js runtimes: node8.9,node6.12
11:30:58.429 - INFO:          Output line 141: [33]   5/17/18 11:30:57.926 AM [STG/1] OUT   Npm install not needed - attempting partial runtime download
11:30:58.430 - INFO:          Output line 142: [33]   5/17/18 11:30:57.926 AM [STG/1] OUT   Downloading Node.js...
11:30:59.461 - INFO:          Output line 143: [33]   5/17/18 11:30:59.096 AM [STG/1] OUT   Unpacking Node.js archive...
11:30:59.461 - INFO:          Output line 144: [33]   5/17/18 11:30:59.153 AM [STG/1] OUT   Omitting npm install: node_modules directory is already present and rebuild is not enabled, using dependencies as provided
11:30:59.461 - INFO:          Output line 145: [33]   5/17/18 11:30:59.153 AM [STG/1] OUT   Copying SSL CA certificates...
11:30:59.461 - INFO:          Output line 146: [33]   5/17/18 11:30:59.210 AM [STG/1] OUT   Copying SSL CA certificates to NodeExtraCAFile...
11:33:26.895 - INFO:          Output line 147: [33] ERROR: 
11:33:26.896 - INFO:          Output line 148: [33] com.sap.xs2rt.installation.util.InstallationException: Installing the Audit-Log Service (DB) application failed: Could not update state of task auditlog-db-deploy-task: Failed to retrieve data from secure store.
11:33:26.896 - INFO:          Output line 149: [33]  at com.sap.xs2rt.installation.impl.hana.content.components.AuditLogServiceDbStep.install(AuditLogServiceDbStep.java:128)
11:33:26.896 - INFO:          Output line 150: [33]  at com.sap.xs2rt.installation.steps.InstallationStep.installAndMeasure(InstallationStep.java:154)
11:33:26.896 - INFO:          Output line 151: [33]  at com.sap.xs2rt.installation.procedures.InstallationProcedure.executeStep(InstallationProcedure.java:117)
11:33:26.896 - INFO:          Output line 152: [33]  at com.sap.xs2rt.installation.procedures.InstallationProcedure.perform(InstallationProcedure.java:216)
11:33:26.896 - INFO:          Output line 153: [33]  at com.sap.xs2rt.installation.impl.hana.content.HanaContentInstallUpdateProcedure.main(HanaContentInstallUpdateProcedure.java:147)
11:33:26.896 - INFO:          Output line 154: [33] Caused by: com.sap.xs2rt.client.exceptions.XsClientException: Could not update state of task auditlog-db-deploy-task: Failed to retrieve data from secure store.
11:33:26.896 - INFO:          Output line 155: [33]  at com.sap.xs2rt.client.impl.operations.OperationsBase.newResourceException(OperationsBase.java:457)
11:33:26.896 - INFO:          Output line 156: [33]  at com.sap.xs2rt.client.impl.domain.XsTaskImpl.updateState(XsTaskImpl.java:81)
11:33:26.896 - INFO:          Output line 157: [33]  at com.sap.xs2rt.installation.impl.hana.content.components.AuditLogServiceDbStep.runDeployerTask(AuditLogServiceDbStep.java:271)
11:33:26.897 - INFO:          Output line 158: [33]  at com.sap.xs2rt.installation.impl.hana.content.components.AuditLogServiceDbStep.install(AuditLogServiceDbStep.java:124)
11:33:26.897 - INFO:          Output line 159: [33]  ... 4 more
11:33:26.897 - INFO:          Output line 160: [33] Caused by: com.sap.xs2rt.core.rest.client.RestResponseException: Failed to retrieve data from secure store.
11:33:26.897 - INFO:          Output line 161: [33]  at com.sap.xs2rt.core.generated.rest.resource.client.TasksClient.getTasksByGuid(TasksClient.java:114)
11:33:26.897 - INFO:          Output line 162: [33]  at com.sap.xs2rt.client.impl.domain.XsTaskImpl.updateState(XsTaskImpl.java:79)
11:33:26.897 - INFO:          Output line 163: [33]  ... 6 more
11:33:26.908 - INFO:          Output line 164: ---------------------------------------------------------------------------------------------------------------------------
11:33:26.908 - INFO:          Output line 165: | Step                                                         |      Started |      Stopped |         Duration |   State |
11:33:26.909 - INFO:          Output line 166: ---------------------------------------------------------------------------------------------------------------------------
11:33:26.918 - INFO:          Output line 167: | [00] Checking preconditions                                  | 11:28:05.675 | 11:28:09.067 |          3.392 s | success |
11:33:26.918 - INFO:          Output line 168: | [01] Check the cpp runtime version                           | 11:28:09.067 | 11:28:10.216 |          1.149 s | success |
11:33:26.918 - INFO:          Output line 169: | [02] Wait at most 5 minutes for a database connection        | 11:28:10.216 | 11:28:10.244 |          0.028 s | success |
11:33:26.918 - INFO:          Output line 170: | [03] Register default tenant                                 | 11:28:10.244 | 11:28:10.270 |          0.026 s | success |
11:33:26.918 - INFO:          Output line 171: | [04] UAA broker configuration                                | 11:28:10.271 | 11:28:17.716 |          7.445 s | success |
11:33:26.918 - INFO:          Output line 172: | [05] Hana-Service-Broker configuration                       | 11:28:17.716 | 11:28:37.169 |         19.453 s | success |
11:33:26.918 - INFO:          Output line 173: | [06] Configure UAA SAML Trust                                | 11:28:37.169 | 11:28:38.947 |          1.778 s | success |
11:33:26.918 - INFO:          Output line 174: | [07] Prepare PROD tenant                                     | 11:28:38.947 | 11:28:39.693 |          0.746 s | success |
11:33:26.918 - INFO:          Output line 175: | [08] Maintain Hana-Service-Broker schema and users within... | 11:28:39.693 | 11:28:45.208 |          5.515 s | success |
11:33:26.918 - INFO:          Output line 176: | [09] Organizations and spaces                                | 11:28:45.209 | 11:28:47.096 |          1.887 s | success |
11:33:26.918 - INFO:          Output line 177: | [26] Environment Configuration|Java Buildpack|Node.js Bui... | 11:28:47.097 | 11:29:59.648 |      31:12.551 m | success |
11:33:26.918 - INFO:          Output line 178: |   (p) [10] Environment Configuration                         | 11:28:47.107 | 11:29:06.255 |       (19.148 s) | success |
11:33:26.918 - INFO:          Output line 179: |   (p) [11] Java Buildpack                                    | 11:28:47.117 | 11:29:09.041 |       (21.924 s) | success |
11:33:26.919 - INFO:          Output line 180: |   (p) [12] Node.js Buildpack                                 | 11:28:47.117 | 11:29:09.555 |       (22.438 s) | success |
11:33:26.927 - INFO:          Output line 181: |   (p) [14] Python Buildpack                                  | 11:28:47.117 | 11:29:05.729 |       (18.612 s) | success |
11:33:26.928 - INFO:          Output line 182: |   (p) [15] JDBC Driver v1                                    | 11:28:47.118 | 11:29:00.850 |       (13.732 s) | success |
11:33:26.928 - INFO:          Output line 183: |   (p) [16] JDBC Driver v2                                    | 11:28:47.115 | 11:29:06.171 |       (19.056 s) | success |
11:33:26.928 - INFO:          Output line 184: |   (p) [18] Node.js 6                                         | 11:28:47.119 | 11:29:53.441 |    (31:06.322 m) | success |
11:33:26.928 - INFO:          Output line 185: |   (p) [19] Node.js 8                                         | 11:28:47.108 | 11:29:59.647 |    (31:12.539 m) | success |
11:33:26.928 - INFO:          Output line 186: |   (p) [20] SAP JVM 8 JRE                                     | 11:28:47.108 | 11:29:19.029 |       (31.921 s) | success |
11:33:26.928 - INFO:          Output line 187: |   (p) [21] SAP JVM 8                                         | 11:28:47.108 | 11:29:25.468 |       (38.360 s) | success |
11:33:26.928 - INFO:          Output line 188: |   (p) [22] Tomcat8                                           | 11:28:47.123 | 11:29:09.058 |       (21.935 s) | success |
11:33:26.928 - INFO:          Output line 189: |   (p) [23] TomEE 1.7                                         | 11:28:47.123 | 11:29:09.577 |       (22.454 s) | success |
11:33:26.928 - INFO:          Output line 190: |   (p) [24] Hana-Service-Broker                               | 11:28:47.121 | 11:28:57.277 |       (10.156 s) | success |
11:33:26.928 - INFO:          Output line 191: |   (p) [25] UAA service broker                                | 11:28:47.111 | 11:29:07.305 |       (20.194 s) | success |
11:33:26.928 - INFO:          Output line 192: | [27] Instance-Manager                                        | 11:29:59.649 | 11:30:06.938 |          7.289 s | success |
11:33:26.928 - INFO:          Output line 193: | [28] Wait for at least one Execution Agent                   | 11:30:06.938 | 11:30:06.991 |          0.053 s | success |
11:33:26.928 - INFO:          Output line 194: | [29] Register tenant db at Hana Service Broker               | 11:30:06.991 | 11:30:16.730 |          9.739 s | success |
11:33:26.928 - INFO:          Output line 195: | [30] Configure UAA SAML Trust within a tenant                | 11:30:16.730 | 11:30:20.034 |          3.304 s | success |
11:33:26.928 - INFO:          Output line 196: | [31] Register tenant DB at Hana-Service-Broker               | 11:30:20.034 | 11:30:21.016 |          0.982 s | success |
11:33:26.928 - INFO:          Output line 197: | [32] Set the HANA broker default DB                          | 11:30:21.016 | 11:30:21.412 |          0.396 s | success |
11:33:26.928 - INFO:          Output line 198: | [33] Audit-Log Service (DB)                                  | 11:30:21.412 | 11:33:26.880 |      33:05.468 m | FAILURE |
11:33:26.928 - INFO:          Output line 199: | [34] Audit-Log Service (Server)                              | 07:30:00.000 | 07:30:00.000 |          0.000 s | not run |
11:33:26.928 - INFO:          Output line 200: | [35] Audit-Log Service (Broker)                              | 07:30:00.000 | 07:30:00.000 |          0.000 s | not run |
11:33:26.928 - INFO:          Output line 201: | [36] Update of Auditlog Broker bindings                      | 07:30:00.000 | 07:30:00.000 |          0.000 s | not run |
11:33:26.928 - INFO:          Output line 202: | [37] Deploy Service                                          | 07:30:00.000 | 07:30:00.000 |          0.000 s | not run |
11:33:26.928 - INFO:          Output line 203: | [38] Product Installer                                       | 07:30:00.000 | 07:30:00.000 |          0.000 s | not run |
11:33:26.928 - INFO:          Output line 204: | [39] Audit Log UI                                            | 07:30:00.000 | 07:30:00.000 |          0.000 s | not run |
11:33:26.928 - INFO:          Output line 205: | [41] Clear the XSA Secure Store                              | 07:30:00.000 | 07:30:00.000 |          0.000 s | not run |
11:33:26.928 - INFO:          Output line 206: | [42] Setting version                                         | 07:30:00.000 | 07:30:00.000 |          0.000 s | not run |
11:33:26.928 - INFO:          Output line 207: ---------------------------------------------------------------------------------------------------------------------------
11:33:26.928 - INFO:          Output line 208: | Sum                                                          | 11:28:05.675 | 11:33:26.892 |      35:21.217 m |         |
11:33:26.928 - INFO:          Output line 209: ---------------------------------------------------------------------------------------------------------------------------
11:33:27.657 - INFO:          Output line 210: ERROR: Fatal error occurred during installation
11:33:27.657 - INFO:          Output line 211: com.sap.xs2rt.installation.util.InstallationException: Installing the Audit-Log Service (DB) application failed: Could not update state of task auditlog-db-deploy-task: Failed to retrieve data from secure store.
11:33:27.657 - INFO:          Output line 212:  at com.sap.xs2rt.installation.impl.hana.content.components.AuditLogServiceDbStep.install(AuditLogServiceDbStep.java:128)
11:33:27.657 - INFO:          Output line 213:  at com.sap.xs2rt.installation.steps.InstallationStep.installAndMeasure(InstallationStep.java:154)
11:33:27.657 - INFO:          Output line 214:  at com.sap.xs2rt.installation.procedures.InstallationProcedure.executeStep(InstallationProcedure.java:117)
11:33:27.657 - INFO:          Output line 215:  at com.sap.xs2rt.installation.procedures.InstallationProcedure.perform(InstallationProcedure.java:216)
11:33:27.657 - INFO:          Output line 216:  at com.sap.xs2rt.installation.impl.hana.content.HanaContentInstallUpdateProcedure.main(HanaContentInstallUpdateProcedure.java:147)
11:33:27.657 - INFO:          Output line 217: Caused by: com.sap.xs2rt.client.exceptions.XsClientException: Could not update state of task auditlog-db-deploy-task: Failed to retrieve data from secure store.
11:33:27.657 - INFO:          Output line 218:  at com.sap.xs2rt.client.impl.operations.OperationsBase.newResourceException(OperationsBase.java:457)
11:33:27.657 - INFO:          Output line 219:  at com.sap.xs2rt.client.impl.domain.XsTaskImpl.updateState(XsTaskImpl.java:81)
11:33:27.657 - INFO:          Output line 220:  at com.sap.xs2rt.installation.impl.hana.content.components.AuditLogServiceDbStep.runDeployerTask(AuditLogServiceDbStep.java:271)
11:33:27.657 - INFO:          Output line 221:  at com.sap.xs2rt.installation.impl.hana.content.components.AuditLogServiceDbStep.install(AuditLogServiceDbStep.java:124)
11:33:27.657 - INFO:          Output line 222:  ... 4 more
11:33:27.657 - INFO:          Output line 223: Caused by: com.sap.xs2rt.core.rest.client.RestResponseException: Failed to retrieve data from secure store.
11:33:27.657 - INFO:          Output line 224:  at com.sap.xs2rt.core.generated.rest.resource.client.TasksClient.getTasksByGuid(TasksClient.java:114)
11:33:27.657 - INFO:          Output line 225:  at com.sap.xs2rt.client.impl.domain.XsTaskImpl.updateState(XsTaskImpl.java:79)
11:33:27.657 - INFO:          Output line 226:  ... 6 more
11:33:27.657 - INFO:          Output line 227: ##########
11:33:27.779 - INFO:          Program terminated with exit code 1
11:33:27.779 - INFO:        Switching back to root user.
11:33:27.779 - INFO:        /hana/shared/HD1/xs/installation-scripts/installation/load-initial-content call failed
11:33:27.779 - ERR:      Loading initial content of XS Advanced Runtime failed
11:33:27.779 - INFO:    Add local host roles:
11:33:27.780 - ERR:    Reconfiguring SAP HANA system failed!
11:33:27.780 - INFO:    Summary of critical errors
11:33:27.780 - ERR:      Reconfiguring SAP HANA system failed!
11:33:27.779 - INFO:        Add local host roles:
11:33:27.779 - ERR:          Loading initial content of XS Advanced Runtime failed
11:27:32.388 - INFO:            Switching to user id 1001 and group id 79.
11:27:32.388 - INFO:            Starting external program /hana/shared/HD1/xs/installation-scripts/installation/load-initial-content
11:27:32.388 - INFO:              Command line is: /hana/shared/HD1/xs/installation-scripts/installation/load-initial-content SYSTEM_DB_USER=SYSTEM SYSTEM_DB_USER_PWD=__STDIN__ ORG_MANAGER_USER=XSA_ADMIN ORG_MANAGER_PWD=__STDIN__ PROD_SPACE_DB_SYSTEM_USER=SYSTEM PROD_SPACE_DB_SYSTEM_USER_PWD=__STDIN__
11:27:32.556 - INFO:              Output line 1: Step filter   
11:27:35.000 - INFO:              Output line 2: Got parameter with name 'SYSTEM_DB_USER_PWD' via stdin
11:27:35.000 - INFO:              Output line 3: Got parameter with name 'ORG_MANAGER_PWD' via stdin
11:27:35.000 - INFO:              Output line 4: Got parameter with name 'PROD_SPACE_DB_SYSTEM_USER_PWD' via stdin
11:27:35.000 - INFO:              Output line 5: Map value for PROD_SPACE_DB_SYSTEM_USER_PWD to SYSTEM_DB_USER_PWD_DEFAULT_TENANT 
11:28:05.360 - INFO:              Output line 6: ###############################################
11:28:05.368 - INFO:              Output line 7: STARTING INSTALLATION FROM BASE VERSION 0.0.0.0
11:28:05.368 - INFO:              Output line 8: ###############################################
11:28:05.482 - INFO:              Output line 9: Skip step Native Container Buildpack 


2018-05-17-01.txt (78.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 18 at 08:37 AM

    Hi Tim,

    The log file does not provide me with enough information to explain why this installation did not succeed.

    The installer logs that Installing the Audit-Log Service (DB) application failed because the app

    Failed to retrieve data from secure store.

    From the log, I understand that this concerns a VM installation. Is this correct? Hosted in the cloud or locally?

    If local, does your VM server meets the minimum requirements, cf. https://www.sap.com/developer/tutorials/hxe-ua-getting-started-binary-xsa.html?

    Server + Applications: 24 GB minimum (32 GB recommended)

    Note that this requirement concerns memory allocated to the VM, not the OS (add 4GB + additional memory for running applications).

    Not sufficient memory is a common cause for applications (here the Audit-Log Service) failing to start.

    Denys / SAP HANA Academy

    Add comment
    10|10000 characters needed characters exceeded