cancel
Showing results for 
Search instead for 
Did you mean: 

HANA Express Binery Installation Fails

andrew_rough
Explorer
0 Kudos

Good day,

I am trying to install SAP HANA Express and my install keeps failing with this error, as I am new to Linux and HANA any advice will be appreciated.

Assigning Additional Roles to the Local Host...
Adding role 'xs_worker' on local host 'saphee.sap.lonmin.net'...
Starting 3 processes on host 'saphee.sap.lonmin.net':
Starting on 'saphee.sap.lonmin.net': hdbxscontroller, hdbxsexecagent, hdbxsuaaserver
Starting on 'saphee.sap.lonmin.net': hdbxscontroller, hdbxsuaaserver
Starting on 'saphee.sap.lonmin.net': hdbxscontroller
All server processes started on host 'saphee.sap.lonmin.net'.
Loading initial content of XS Advanced Runtime
[07] Creating organization 'HANAExpress'
[07] Creating space 'development'
[07] Creating space 'SAP'
[09] Uploading Java buildpack
[22] Creating UAA security Hana-Service-Broker
[10] Uploading Node.js buildpack
[12] Uploading the HANA JDBC driver runtime v1
[13] Uploading the HANA JDBC driver runtime v2
[15] Uploading the Node.js 4 runtime
[16] Uploading the Node.js 6 runtime
[17] Uploading the SAP JVM 8 JRE runtime
[18] Uploading the SAP JVM 8 runtime
[19] Uploading the Tomcat 8 runtime
[20] Uploading the TomEE 1.7 runtime
[21] Creating Hana-Service-Broker
Loading initial content of XS Advanced Runtime failed
Starting external program /hana/shared/HXE/xs/installation-scripts/installation/load-initial-content
Output line 28: [05] Configuring SAML trust for UAA located at 'https://saphee.sap.lonmin.net:39032/uaa-security'
Output line 30: [05] Configuring SAML trust
Output line 45: [03] Loading serivce broker catalog
Output line 47: [03] Loading Hana-Service-Broker configuration. (broker/userconfig.json)
Output line 49: [03] Insecure HANA JDBC connection for HANA Broker Rename is configured!
Output line 50: [03] Loading Hana-Service-Broker credentials. DBID :e9aed486-8447-1740-ac6a-cd06b23aa39a
Output line 55: [07] Creating organization 'HANAExpress'
Output line 56: [07] Creating space 'development'
Output line 57: [07] Creating space 'SAP'
Output line 73: [09] Uploading Java buildpack
Output line 74: [22] Creating UAA security Hana-Service-Broker
Output line 75: [10] Uploading Node.js buildpack
Output line 76: [12] Uploading the HANA JDBC driver runtime v1
Output line 77: [13] Uploading the HANA JDBC driver runtime v2
Output line 78: [15] Uploading the Node.js 4 runtime
Output line 79: [16] Uploading the Node.js 6 runtime
Output line 80: [17] Uploading the SAP JVM 8 JRE runtime
Output line 81: [18] Uploading the SAP JVM 8 runtime
Output line 82: [19] Uploading the Tomcat 8 runtime
Output line 83: [20] Uploading the TomEE 1.7 runtime
Output line 84: [21] Creating Hana-Service-Broker
Output line 86: [15] com.sap.xs2rt.installation.util.InstallationException: Installing the Node.js 4 runtime failed: Could not get files to upload: Error executing request PUT https://saphee.sap.lonmin.net:39030/v2/runtimes/4ef7b739-ec57-48b6-bfbc-ff36778d89b2/archive/upload/...: java.io.IOException: Error writing request body to server
Output line 145: [16] com.sap.xs2rt.installation.util.InstallationException: Installing the Node.js 6 runtime failed: Could not get files to upload: Error executing request PUT https://saphee.sap.lonmin.net:39030/v2/runtimes/860cff8f-3484-4e2a-8204-5aa5e252cd1c/archive/upload/...: java.io.IOException: Error writing request body to server
Output line 249: ##ERROR## step : "Node.js 4" reported: Installing the Node.js 4 runtime failed: Could not get files to upload: Error executing request PUT https://saphee.sap.lonmin.net:39030/v2/runtimes/4ef7b739-ec57-48b6-bfbc-ff36778d89b2/archive/upload/...: java.io.IOException: Error writing request body to server
Output line 250: com.sap.xs2rt.installation.util.InstallationException: Installing the Node.js 4 runtime failed: Could not get files to upload: Error executing request PUT https://saphee.sap.lonmin.net:39030/v2/runtimes/4ef7b739-ec57-48b6-bfbc-ff36778d89b2/archive/upload/...: java.io.IOException: Error writing request body to server
Output line 310: ##ERROR## step : "Node.js 6" reported: Installing the Node.js 6 runtime failed: Could not get files to upload: Error executing request PUT https://saphee.sap.lonmin.net:39030/v2/runtimes/860cff8f-3484-4e2a-8204-5aa5e252cd1c/archive/upload/...: java.io.IOException: Error writing request body to server
Output line 311: com.sap.xs2rt.installation.util.InstallationException: Installing the Node.js 6 runtime failed: Could not get files to upload: Error executing request PUT https://saphee.sap.lonmin.net:39030/v2/runtimes/860cff8f-3484-4e2a-8204-5aa5e252cd1c/archive/upload/...: java.io.IOException: Error writing request body to server
Update of SAP HANA Express Edition components failed.
Error occurred while executing Update SAP HANA Express Edition System and Components.

Accepted Solutions (1)

Accepted Solutions (1)

andrew_rough
Explorer
0 Kudos

I followed these instructions and all of a sudden my install has gone further

https://www.sap.com/developer/tutorials/hxe-azure-opensuse-dependencies.html

and also ran this on the extracted folder before running install

chmod -R 777 ./HANA_EXPRESS_20/

not sure which fixed it but one or both of them did.

Answers (7)

Answers (7)

andrew_rough
Explorer
0 Kudos

I have placed the files on dropbox as requested.

The xscontroller file was located at /usr/sap/HXE/HDB90/saphee.sap.lonmin.net/trace/, not sure if that has any relevamce.

carlsoane
Participant
0 Kudos

Hello Andrew:

There are two other files that might be of help:

1.xscontroller_0.log from the trace directory. (/usr/sap/HXE/HDB90/hxehost/trace if the instance is 90)

2.access_log-controller-route-api.log in hana/shared/<SID>/xs/controller_data/controller/router/webdispatcher/logs

I think you mentioned that there weren't any xs files in the trace directory, but I'm hoping you might have the access_log-controller...

Regards,

Carl

andrew_rough
Explorer
0 Kudos

Unfortunatly seems when I retried the process it removed the old file (I assume as it is not there).

Thank you for the assistance.

carlsoane
Participant
0 Kudos

Hello Andrew:

Thanks. I see the following error in the hdblcmweb.log:

################################################

07:53:09.306 - INFO: Output line 25: Installing package 'Initial Content'...

...

07:54:47.685 - INFO: Output line 28: Installation failed

...

07:54:47.686 - INFO: Output line 31: Custom event postInstall failed

07:54:55.597 - INFO: Output line 33: Log file written to '/var/tmp/hdb_HXE_hdblcm_update_2017-06-22_07.49.17/hdbinst_XS.log' on host 'saphee'.

07:54:57.007 - INFO: Program terminated with exit code 1

################################################

Unfortunately, the logs don't include /var/tmp/hdb_HXE_hdblcm_update_2017-06-22_07.49.17/hdbinst_XS.log but the next day's logs (hdb...2017-06-23...log). So, I can't see any more details of what went wrong during the XSA installation. If you happen to have that 2017-06-22 log, could you please add it to the files on the drop box. In the meantime, I will contact the some colleagues on the installer team to let them know about your case in the hope that the information shared here so far will be enough for them to diagnose it.

Thanks for your patience,

Regards,

Carl

0 Kudos

Hello,

i have exactly the same Error.

Best Regards, Thomas

andrew_rough
Explorer
0 Kudos

Good day,

I an installing on SUSE 12 SP2 for SAP

express edition=2.00.010.01.20170416.1

Logs are available here

https://www.dropbox.com/sh/rb4e3npdcccyriy/AADGnBHvlzsX1GriUhlhlomIa?dl=0
LOGS.zip contains hdblcmweb.log and xs.log
hdblogs.tgz contains all files in directory as requested

Regards
Andrew

carlsoane
Participant
0 Kudos

Hello Andrew:

It may help the diagnosis if you share the logs. Can you try zipping up the installation logs and share them? The logs are located in the /var/tmp directory and begin with "hdb". You could tar them up with the following command:

"tar -cvzf hdblogs.tgz hdb*"

If that proves too big to upload, just tar up the contents of the most recent HXE install directory "/var/tmp/hdb_HXE_hdblcm_install_<date>" and the "hdbinst_XS.log" and "hdbinst_XS.msg" files.

Can you also share information about the operating system version you are trying to install on and the version of HANA Express. The HANA Express version information can be found in the file "/usr/sap/HXE/SYS/global/hdb/hxe_info.txt"

Regards,

Carl