cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Hana express edition, docker container start fails: Invalid file://hostname/

labs765
Discoverer

When following this guide:

Installing SAP HANA, express edition Server + Apps, with Docker:

Getting stuck on Step 10 - starting SAP Hana container.

After executing "studio docker run...", container passes a few checks and then fails:

======== Starting HANA container run script ========
Started at: Mon Sep 13 19:53:03 UTC 2021
HANA version: 2.00.054.00.1611906357
WARNING: Unsupported Linux kernel version 5.10. Supported are 3.12 and 4.4+.
Processing hooks in folder /hana/hooks/system_check ...
Hook candidates:
        /hana/hooks/system_check/100_hxe_check_system_prerequisites
Executing hook /hana/hooks/system_check/100_hxe_check_system_prerequisites ...
        Checking /proc/sys prerequisites ...
                ok: /proc/sys/kernel/shmmax: 1073741824>=1073741824
                ok: /proc/sys/kernel/shmmni: 4096>=4096
                ok: /proc/sys/kernel/shmall: 8388608>=8388608
                ok: /proc/sys/fs/file-max: 20000000>=20000000
                ok: /proc/sys/fs/aio-max-nr: 262144>=131072
                WARNING: Unable to access /proc/sys/vm/memory_failure_early_kill (skipping check)
                ok: /proc/sys/vm/max_map_count: 135217728>=2048576
                ok: /proc/sys/net/ipv4/ip_local_port_range: 60000>=40000
        Check succeeded: /proc/sys prerequisites
        Checking limits ...
                ok: max number of open file descriptors (ulimit -n): 1048576>=1048576
        Check succeeded: limits
Execution of hook /hana/hooks/system_check/100_hxe_check_system_prerequisites finished (exit code 0)
Finished execution of hooks in folder /hana/hooks/system_check
Checking version compatibility ...
Downloading password file from file://data/test/test.json ...
curl: (3) Invalid file://hostname/, expected localhost or 127.0.0.1 or none

This is while using openSUSE Leap 15.2 from Microsoft store.

Which comes with curl 7.66.0

Searching for this error points to potential Curl version issue, such as:

https://curl.se/mail/lib-2018-03/0070.html

In libcurl 7.48.0, I could read a file from current workingdirectory by using "file://filename.ext" URL. After upgrading to 7.59.0,this is no longer possible:file://filename.ext gets error: "Invalid file://hostname/, expected localhost or 127.0.0.1 or none".

Given this bit of info, and a startup warning that

Unsupported Linux kernel version 5.10. Supported are 3.12 and 4.4+

Should we look for an older version of Linux or is this a configuration problem?

Accepted Solutions (1)

Accepted Solutions (1)

dvankempen
Product and Topic Expert
Product and Topic Expert

Hi Victor,

You could try to edit the script that performs the kernel check (comment out or add 5.10) and see if that works. Otherwise, use a supported Linux version.

As mentioned in an earlier post

Unlike the cloud edition, where you are up and running in a few clicks, working with the express edition requires a bit more effort and skill. (...) For those less familiar with a command line interface and tools like yast and vi, hdbsql, editing /etc/hosts files, and similar activities, you may find working with SAP HANA, express edition a bit challenging at times. Again, for ease of use and the latest functionality, consider SAP HANA Cloud. For those that enjoy tinkering, please proceed.

Does it spark joy (*) ? If so, please proceed. Otherwise, my recommendation would be to use SAP HANA Cloud

About ‘tokimeku’ (ときめく), see

Answers (2)

Answers (2)

dmcardlenl
Participant
0 Kudos

Couple of typos in the original article: (not Denys' article - the web one - can't find it now, I'll look in the morning)

1) SHMMNI of 800k+ is unrealistic

2) The file option should not have angled brackets ( < and > ) typed in at the command line - remove them

3) file:/// should have three slashes I think. (Yes, that should fix the curl problem)

4) echo 1 | sudo tee -a /proc/sys/vm/memory_failure_early_kill

labs765
Discoverer
0 Kudos

Thanks for your reply.

I am not able to proceed wit SUSE Leap 15.2 due to this error.

Will try another Linux distribution.

dvankempen
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks Victor,

Should the issue persist with a supported kernel, please let us know.